Thu Jul 27 19:50:56 UTC 2023 I: starting to build mender-client/bullseye/amd64 on jenkins on '2023-07-27 19:50' Thu Jul 27 19:50:56 UTC 2023 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/amd64_13/3699/console.log Thu Jul 27 19:50:56 UTC 2023 I: Downloading source for bullseye/mender-client=2.4.1-2 --2023-07-27 19:50:56-- 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% 135M=0s 2023-07-27 19:50:56 (135 MB/s) - ‘mender-client_2.4.1-2.dsc’ saved [2565/2565] Thu Jul 27 19:50:56 UTC 2023 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----- Thu Jul 27 19:50:56 UTC 2023 I: Checking whether the package is not for us Thu Jul 27 19:50:56 UTC 2023 I: Starting 1st build on remote node ionos11-amd64.debian.net. Thu Jul 27 19:50:56 UTC 2023 I: Preparing to do remote build '1' on ionos11-amd64.debian.net. Thu Jul 27 20:11:17 UTC 2023 I: Deleting $TMPDIR on ionos11-amd64.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Thu Jul 27 07:50:59 -12 2023 I: pbuilder-time-stamp: 1690487459 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.v835CiPv/trustedkeys.kbx': General error gpgv: Signature made Tue Apr 13 07:37:53 2021 -12 gpgv: using RSA key FAE1E5B64652BE798E278CC20BC47DC64D135306 gpgv: issuer "andreas@fatal.se" gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./mender-client_2.4.1-2.dsc dpkg-source: info: extracting mender-client in mender-client-2.4.1 dpkg-source: info: unpacking mender-client_2.4.1.orig.tar.xz dpkg-source: info: unpacking mender-client_2.4.1-2.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0001-Skip-TestLicense-for-Debian-Unit-Test-suite.patch dpkg-source: info: applying 0002-Revert-switch-to-urfave-cli-v2-API.patch dpkg-source: info: applying 0005-Skip-test-TestBinarySize-N.A.-for-Debian-build.patch dpkg-source: info: applying 0007-Skip-TestMainExitCodes-test-it-fails-autopkgtest-on-.patch dpkg-source: info: applying 0005-Revert-import-github.com-urfave-cli-v2-to-github.com.patch I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/1795511/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='amd64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=15 ' DISTRIBUTION='bullseye' HOME='/root' HOST_ARCH='amd64' IFS=' ' INVOCATION_ID='31c6f3dae33942c7809b940d1ceac361' 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='1795511' 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.GjSjc2yL/pbuilderrc_MB0E --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.GjSjc2yL/b1 --logfile b1/build.log mender-client_2.4.1-2.dsc' SUDO_GID='111' SUDO_UID='106' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://78.137.99.97:3128' I: uname -a Linux ionos11-amd64 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-1 (2023-07-14) x86_64 GNU/Linux I: ls -l /bin total 5476 -rwxr-xr-x 1 root root 1234376 Mar 27 2022 bash -rwxr-xr-x 3 root root 38984 Jul 20 2020 bunzip2 -rwxr-xr-x 3 root root 38984 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 38984 Jul 20 2020 bzip2 -rwxr-xr-x 1 root root 18424 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 43936 Sep 23 2020 cat -rwxr-xr-x 1 root root 72672 Sep 23 2020 chgrp -rwxr-xr-x 1 root root 64448 Sep 23 2020 chmod -rwxr-xr-x 1 root root 72672 Sep 23 2020 chown -rwxr-xr-x 1 root root 151168 Sep 23 2020 cp -rwxr-xr-x 1 root root 125560 Dec 10 2020 dash -rwxr-xr-x 1 root root 113664 Sep 23 2020 date -rwxr-xr-x 1 root root 80968 Sep 23 2020 dd -rwxr-xr-x 1 root root 93936 Sep 23 2020 df -rwxr-xr-x 1 root root 147176 Sep 23 2020 dir -rwxr-xr-x 1 root root 84440 Jan 20 2022 dmesg lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname -rwxr-xr-x 1 root root 39712 Sep 23 2020 echo -rwxr-xr-x 1 root root 28 Jan 24 2023 egrep -rwxr-xr-x 1 root root 39680 Sep 23 2020 false -rwxr-xr-x 1 root root 28 Jan 24 2023 fgrep -rwxr-xr-x 1 root root 69032 Jan 20 2022 findmnt -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount -rwxr-xr-x 1 root root 203072 Jan 24 2023 grep -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe -rwxr-xr-x 1 root root 98048 Apr 9 2022 gzip -rwxr-xr-x 1 root root 22600 Nov 6 2019 hostname -rwxr-xr-x 1 root root 72840 Sep 23 2020 ln -rwxr-xr-x 1 root root 56952 Feb 7 2020 login -rwxr-xr-x 1 root root 147176 Sep 23 2020 ls -rwxr-xr-x 1 root root 149736 Jan 20 2022 lsblk -rwxr-xr-x 1 root root 85184 Sep 23 2020 mkdir -rwxr-xr-x 1 root root 76896 Sep 23 2020 mknod -rwxr-xr-x 1 root root 48064 Sep 23 2020 mktemp -rwxr-xr-x 1 root root 59632 Jan 20 2022 more -rwsr-xr-x 1 root root 55528 Jan 20 2022 mount -rwxr-xr-x 1 root root 18664 Jan 20 2022 mountpoint -rwxr-xr-x 1 root root 147080 Sep 23 2020 mv lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Dec 16 2021 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 43872 Sep 23 2020 pwd lrwxrwxrwx 1 root root 4 Mar 27 2022 rbash -> bash -rwxr-xr-x 1 root root 52032 Sep 23 2020 readlink -rwxr-xr-x 1 root root 72704 Sep 23 2020 rm -rwxr-xr-x 1 root root 52032 Sep 23 2020 rmdir -rwxr-xr-x 1 root root 27472 Sep 27 2020 run-parts -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed lrwxrwxrwx 1 root root 4 Jul 6 21:25 sh -> dash -rwxr-xr-x 1 root root 43808 Sep 23 2020 sleep -rwxr-xr-x 1 root root 84928 Sep 23 2020 stty -rwsr-xr-x 1 root root 71912 Jan 20 2022 su -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync -rwxr-xr-x 1 root root 531928 Feb 16 2021 tar -rwxr-xr-x 1 root root 14456 Sep 27 2020 tempfile -rwxr-xr-x 1 root root 101408 Sep 23 2020 touch -rwxr-xr-x 1 root root 39680 Sep 23 2020 true -rwxr-xr-x 1 root root 14328 Feb 26 2021 ulockmgr_server -rwsr-xr-x 1 root root 35040 Jan 20 2022 umount -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir -rwxr-xr-x 1 root root 63744 Jan 20 2022 wdctl lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp -rwxr-xr-x 1 root root 5898 Apr 9 2022 zdiff -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce -rwxr-xr-x 1 root root 8049 Apr 9 2022 zgrep -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew I: user script /srv/workspace/pbuilder/1795511/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: amd64 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 ... 19707 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 106 MB of archives. After unpacking 525 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bullseye/main amd64 bsdextrautils amd64 2.36.1-8+deb11u1 [145 kB] Get: 2 http://deb.debian.org/debian bullseye/main amd64 libuchardet0 amd64 0.0.7-1 [67.8 kB] Get: 3 http://deb.debian.org/debian bullseye/main amd64 groff-base amd64 1.22.4-6 [936 kB] Get: 4 http://deb.debian.org/debian bullseye/main amd64 libpipeline1 amd64 1.5.3-1 [34.3 kB] Get: 5 http://deb.debian.org/debian bullseye/main amd64 man-db amd64 2.9.4-2 [1354 kB] Get: 6 http://deb.debian.org/debian bullseye/main amd64 golang-golang-x-sys-dev all 0.0~git20210124.22da62e-1 [308 kB] Get: 7 http://deb.debian.org/debian bullseye/main amd64 golang-github-sirupsen-logrus-dev all 1.7.0-2 [45.3 kB] Get: 8 http://deb.debian.org/debian bullseye/main amd64 sensible-utils all 0.0.14 [14.8 kB] Get: 9 http://deb.debian.org/debian bullseye/main amd64 openssl amd64 1.1.1n-0+deb11u4 [853 kB] Get: 10 http://deb.debian.org/debian bullseye/main amd64 ca-certificates all 20210119 [158 kB] Get: 11 http://deb.debian.org/debian bullseye/main amd64 libmagic-mgc amd64 1:5.39-3 [273 kB] Get: 12 http://deb.debian.org/debian bullseye/main amd64 libmagic1 amd64 1:5.39-3 [126 kB] Get: 13 http://deb.debian.org/debian bullseye/main amd64 file amd64 1:5.39-3 [69.1 kB] Get: 14 http://deb.debian.org/debian bullseye/main amd64 gettext-base amd64 0.21-4 [175 kB] Get: 15 http://deb.debian.org/debian bullseye/main amd64 libsigsegv2 amd64 2.13-1 [34.8 kB] Get: 16 http://deb.debian.org/debian bullseye/main amd64 m4 amd64 1.4.18-5 [204 kB] Get: 17 http://deb.debian.org/debian bullseye/main amd64 autoconf all 2.69-14 [313 kB] Get: 18 http://deb.debian.org/debian bullseye/main amd64 autotools-dev all 20180224.1+nmu1 [77.1 kB] Get: 19 http://deb.debian.org/debian bullseye/main amd64 automake all 1:1.16.3-2 [814 kB] Get: 20 http://deb.debian.org/debian bullseye/main amd64 autopoint all 0.21-4 [510 kB] Get: 21 http://deb.debian.org/debian bullseye/main amd64 libdebhelper-perl all 13.3.4 [189 kB] Get: 22 http://deb.debian.org/debian bullseye/main amd64 libtool all 2.4.6-15 [513 kB] Get: 23 http://deb.debian.org/debian bullseye/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 24 http://deb.debian.org/debian bullseye/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 25 http://deb.debian.org/debian bullseye/main amd64 libsub-override-perl all 0.09-2 [10.2 kB] Get: 26 http://deb.debian.org/debian bullseye/main amd64 libfile-stripnondeterminism-perl all 1.12.0-1 [26.3 kB] Get: 27 http://deb.debian.org/debian bullseye/main amd64 dh-strip-nondeterminism all 1.12.0-1 [15.4 kB] Get: 28 http://deb.debian.org/debian bullseye/main amd64 libelf1 amd64 0.183-1 [165 kB] Get: 29 http://deb.debian.org/debian bullseye/main amd64 dwz amd64 0.13+20210201-1 [175 kB] Get: 30 http://deb.debian.org/debian bullseye/main amd64 libicu67 amd64 67.1-7 [8622 kB] Get: 31 http://deb.debian.org/debian bullseye/main amd64 libxml2 amd64 2.9.10+dfsg-6.7+deb11u4 [693 kB] Get: 32 http://deb.debian.org/debian bullseye/main amd64 gettext amd64 0.21-4 [1311 kB] Get: 33 http://deb.debian.org/debian bullseye/main amd64 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 34 http://deb.debian.org/debian bullseye/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 35 http://deb.debian.org/debian bullseye/main amd64 debhelper all 13.3.4 [1049 kB] Get: 36 http://deb.debian.org/debian bullseye/main amd64 dh-golang all 1.51 [24.6 kB] Get: 37 http://deb.debian.org/debian bullseye/main amd64 golang-1.15-src amd64 1.15.15-1~deb11u4 [13.9 MB] Get: 38 http://deb.debian.org/debian bullseye/main amd64 golang-1.15-go amd64 1.15.15-1~deb11u4 [47.4 MB] Get: 39 http://deb.debian.org/debian bullseye/main amd64 golang-src amd64 2:1.15~1 [4856 B] Get: 40 http://deb.debian.org/debian bullseye/main amd64 golang-go amd64 2:1.15~1 [23.9 kB] Get: 41 http://deb.debian.org/debian bullseye/main amd64 golang-any amd64 2:1.15~1 [4976 B] Get: 42 http://deb.debian.org/debian bullseye/main amd64 golang-golang-x-text-dev all 0.3.6-1 [3857 kB] Get: 43 http://deb.debian.org/debian bullseye/main amd64 golang-golang-x-net-dev all 1:0.0+git20210119.5f4716e+dfsg-4 [659 kB] Get: 44 http://deb.debian.org/debian bullseye/main amd64 golang-github-bmatsuo-lmdb-go-dev all 1.8.0+git20170215.a14b5a3-2 [145 kB] Get: 45 http://deb.debian.org/debian bullseye/main amd64 golang-github-pmezard-go-difflib-dev all 1.0.0-3 [12.3 kB] Get: 46 http://deb.debian.org/debian bullseye/main amd64 golang-github-shurcool-sanitized-anchor-name-dev all 1.0.0-1 [3872 B] Get: 47 http://deb.debian.org/debian bullseye/main amd64 golang-github-russross-blackfriday-v2-dev all 2.0.1-3 [67.8 kB] Get: 48 http://deb.debian.org/debian bullseye/main amd64 golang-github-cpuguy83-go-md2man-v2-dev all 2.0.0+ds-5 [9932 B] Get: 49 http://deb.debian.org/debian bullseye/main amd64 golang-github-davecgh-go-spew-dev all 1.1.1-2 [29.7 kB] Get: 50 http://deb.debian.org/debian bullseye/main amd64 golang-github-cespare-xxhash-dev all 2.1.1-1 [8748 B] Get: 51 http://deb.debian.org/debian bullseye/main amd64 golang-github-klauspost-compress-dev all 1.11.7-2 [14.2 MB] Get: 52 http://deb.debian.org/debian bullseye/main amd64 golang-github-klauspost-pgzip-dev all 1.2.5-1 [118 kB] Get: 53 http://deb.debian.org/debian bullseye/main amd64 golang-github-pkg-errors-dev all 0.9.1-1 [13.0 kB] Get: 54 http://deb.debian.org/debian bullseye/main amd64 golang-github-minio-sha256-simd-dev all 0.1.1-1 [35.9 kB] Get: 55 http://deb.debian.org/debian bullseye/main amd64 liblzma-dev amd64 5.2.5-2.1~deb11u1 [229 kB] Get: 56 http://deb.debian.org/debian bullseye/main amd64 golang-github-remyoudompheng-go-liblzma-dev all 0.0~git20190506.81bf2d4-3 [49.5 kB] Get: 57 http://deb.debian.org/debian bullseye/main amd64 golang-github-stretchr-objx-dev all 0.3.0-1 [25.4 kB] Get: 58 http://deb.debian.org/debian bullseye/main amd64 golang-gopkg-yaml.v3-dev all 3.0.0~git20200121.a6ecf24-3 [70.5 kB] Get: 59 http://deb.debian.org/debian bullseye/main amd64 golang-github-stretchr-testify-dev all 1.6.1-2 [60.4 kB] Get: 60 http://deb.debian.org/debian bullseye/main amd64 golang-github-urfave-cli-dev all 1.22.4-2 [46.7 kB] Get: 61 http://deb.debian.org/debian bullseye/main amd64 golang-github-mendersoftware-mender-artifact-dev all 3.4.0-1 [85.7 kB] Get: 62 http://deb.debian.org/debian bullseye/main amd64 libssl-dev amd64 1.1.1n-0+deb11u4 [1817 kB] Get: 63 http://deb.debian.org/debian bullseye/main amd64 golang-github-mendersoftware-openssl-dev all 1.1.0-2 [51.0 kB] Get: 64 http://deb.debian.org/debian bullseye/main amd64 golang-github-ungerik-go-sysfs-dev all 0.0~git20190613.7f098dd-1 [4124 B] Get: 65 http://deb.debian.org/debian bullseye/main amd64 golang-golang-x-term-dev all 0.0~git20201210.2321bbc-1 [14.5 kB] Get: 66 http://deb.debian.org/debian bullseye/main amd64 golang-golang-x-crypto-dev all 1:0.0~git20201221.eec23a3-1 [1538 kB] Get: 67 http://deb.debian.org/debian bullseye/main amd64 libglib2.0-0 amd64 2.66.8-1 [1370 kB] Get: 68 http://deb.debian.org/debian bullseye/main amd64 pkg-config amd64 0.29.2-1 [65.1 kB] Fetched 106 MB in 6s (18.8 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 ... 19707 files and directories currently installed.) Preparing to unpack .../00-bsdextrautils_2.36.1-8+deb11u1_amd64.deb ... Unpacking bsdextrautils (2.36.1-8+deb11u1) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../01-libuchardet0_0.0.7-1_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../02-groff-base_1.22.4-6_amd64.deb ... Unpacking groff-base (1.22.4-6) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../03-libpipeline1_1.5.3-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.3-1) ... Selecting previously unselected package man-db. Preparing to unpack .../04-man-db_2.9.4-2_amd64.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.1n-0+deb11u4_amd64.deb ... Unpacking openssl (1.1.1n-0+deb11u4) ... 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_amd64.deb ... Unpacking libmagic-mgc (1:5.39-3) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../11-libmagic1_1%3a5.39-3_amd64.deb ... Unpacking libmagic1:amd64 (1:5.39-3) ... Selecting previously unselected package file. Preparing to unpack .../12-file_1%3a5.39-3_amd64.deb ... Unpacking file (1:5.39-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../13-gettext-base_0.21-4_amd64.deb ... Unpacking gettext-base (0.21-4) ... Selecting previously unselected package libsigsegv2:amd64. Preparing to unpack .../14-libsigsegv2_2.13-1_amd64.deb ... Unpacking libsigsegv2:amd64 (2.13-1) ... Selecting previously unselected package m4. Preparing to unpack .../15-m4_1.4.18-5_amd64.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:amd64. Preparing to unpack .../27-libelf1_0.183-1_amd64.deb ... Unpacking libelf1:amd64 (0.183-1) ... Selecting previously unselected package dwz. Preparing to unpack .../28-dwz_0.13+20210201-1_amd64.deb ... Unpacking dwz (0.13+20210201-1) ... Selecting previously unselected package libicu67:amd64. Preparing to unpack .../29-libicu67_67.1-7_amd64.deb ... Unpacking libicu67:amd64 (67.1-7) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../30-libxml2_2.9.10+dfsg-6.7+deb11u4_amd64.deb ... Unpacking libxml2:amd64 (2.9.10+dfsg-6.7+deb11u4) ... Selecting previously unselected package gettext. Preparing to unpack .../31-gettext_0.21-4_amd64.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_amd64.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_amd64.deb ... Unpacking golang-1.15-go (1.15.15-1~deb11u4) ... Selecting previously unselected package golang-src:amd64. Preparing to unpack .../38-golang-src_2%3a1.15~1_amd64.deb ... Unpacking golang-src:amd64 (2:1.15~1) ... Selecting previously unselected package golang-go. Preparing to unpack .../39-golang-go_2%3a1.15~1_amd64.deb ... Unpacking golang-go (2:1.15~1) ... Selecting previously unselected package golang-any:amd64. Preparing to unpack .../40-golang-any_2%3a1.15~1_amd64.deb ... Unpacking golang-any:amd64 (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:amd64. Preparing to unpack .../54-liblzma-dev_5.2.5-2.1~deb11u1_amd64.deb ... Unpacking liblzma-dev:amd64 (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:amd64. Preparing to unpack .../61-libssl-dev_1.1.1n-0+deb11u4_amd64.deb ... Unpacking libssl-dev:amd64 (1.1.1n-0+deb11u4) ... 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:amd64. Preparing to unpack .../66-libglib2.0-0_2.66.8-1_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.66.8-1) ... Selecting previously unselected package pkg-config. Preparing to unpack .../67-pkg-config_0.29.2-1_amd64.deb ... Unpacking pkg-config (0.29.2-1) ... Setting up libpipeline1:amd64 (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:amd64 (67.1-7) ... Setting up golang-github-stretchr-objx-dev (0.3.0-1) ... Setting up libmagic-mgc (1:5.39-3) ... Setting up golang-github-pkg-errors-dev (0.9.1-1) ... Setting up golang-1.15-src (1.15.15-1~deb11u4) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libglib2.0-0:amd64 (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:amd64 (1:5.39-3) ... Setting up golang-github-pmezard-go-difflib-dev (1.0.0-3) ... Setting up gettext-base (0.21-4) ... Setting up golang-golang-x-term-dev (0.0~git20201210.2321bbc-1) ... Setting up file (1:5.39-3) ... Setting up golang-github-cespare-xxhash-dev (2.1.1-1) ... Setting up golang-github-davecgh-go-spew-dev (1.1.1-2) ... Setting up autotools-dev (20180224.1+nmu1) ... Setting up golang-github-stretchr-testify-dev (1.6.1-2) ... Setting up libsigsegv2:amd64 (2.13-1) ... Setting up libssl-dev:amd64 (1.1.1n-0+deb11u4) ... 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:amd64 (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:amd64 (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:amd64 (2:1.15~1) ... Setting up openssl (1.1.1n-0+deb11u4) ... Setting up golang-1.15-go (1.15.15-1~deb11u4) ... Setting up libelf1:amd64 (0.183-1) ... Setting up libxml2:amd64 (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:amd64 (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/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 amd64 fakeroot debian/rules clean dh clean --buildsystem=golang --with=golang dh_auto_clean -O--buildsystem=golang dh_autoreconf_clean -O--buildsystem=golang dh_clean -O--buildsystem=golang debian/rules build dh build --buildsystem=golang --with=golang dh_update_autotools_config -O--buildsystem=golang dh_autoreconf -O--buildsystem=golang dh_auto_configure -O--buildsystem=golang debian/rules override_dh_auto_build make[1]: Entering directory '/build/mender-client-2.4.1' dh_auto_build -O--buildsystem=golang -- \ -ldflags "-X github.com/mendersoftware/mender/conf.Version=2.4.1-2" cd obj-x86_64-linux-gnu && go install -trimpath -v -p 15 -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/race runtime/internal/sys unicode unicode/utf8 encoding unicode/utf16 crypto/internal/subtle math/bits vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace crypto/subtle internal/cpu runtime/internal/atomic sync/atomic github.com/bmatsuo/lmdb-go/internal/lmdbarch runtime/internal/math container/list vendor/golang.org/x/crypto/internal/subtle golang.org/x/sys/internal/unsafeheader runtime/cgo internal/bytealg math internal/testlog github.com/shurcooL/sanitized_anchor_name runtime internal/reflectlite sync math/rand internal/singleflight errors sort io internal/oserror strconv vendor/golang.org/x/net/dns/dnsmessage syscall bytes hash crypto/internal/randutil text/tabwriter strings hash/crc32 crypto/hmac vendor/golang.org/x/crypto/hkdf vendor/golang.org/x/text/transform golang.org/x/text/transform reflect crypto crypto/rc4 github.com/mendersoftware/openssl/utils bufio path regexp/syntax html time internal/syscall/execenv github.com/remyoudompheng/go-liblzma internal/syscall/unix regexp context internal/poll os internal/fmtsort encoding/binary encoding/base64 fmt crypto/sha512 crypto/cipher crypto/md5 crypto/sha1 crypto/sha256 path/filepath vendor/golang.org/x/crypto/poly1305 runtime/debug os/signal crypto/ed25519/internal/edwards25519 net golang.org/x/sys/unix encoding/pem crypto/des io/ioutil crypto/aes vendor/golang.org/x/crypto/chacha20 os/exec github.com/minio/sha256-simd vendor/golang.org/x/sys/cpu vendor/golang.org/x/crypto/chacha20poly1305 encoding/hex net/url vendor/golang.org/x/net/http2/hpack log vendor/golang.org/x/crypto/curve25519 vendor/golang.org/x/text/unicode/norm encoding/json compress/flate math/big mime mime/quotedprintable net/http/internal github.com/pkg/errors github.com/davecgh/go-spew/spew github.com/bmatsuo/lmdb-go/lmdb vendor/golang.org/x/text/unicode/bidi github.com/pmezard/go-difflib/difflib flag gopkg.in/yaml.v3 golang.org/x/text/unicode/bidi golang.org/x/text/unicode/norm golang.org/x/net/http2/hpack compress/gzip os/user github.com/klauspost/compress/flate github.com/ungerik/go-sysfs github.com/russross/blackfriday/v2 vendor/golang.org/x/text/secure/bidirule text/template/parse github.com/mendersoftware/mender/system/testing golang.org/x/text/secure/bidirule vendor/golang.org/x/net/idna github.com/stretchr/objx github.com/sirupsen/logrus github.com/mendersoftware/mender-artifact/utils golang.org/x/term runtime/trace golang.org/x/net/idna testing golang.org/x/crypto/ssh/terminal crypto/dsa crypto/elliptic encoding/asn1 crypto/rand text/template github.com/klauspost/pgzip crypto/ed25519 crypto/rsa github.com/cpuguy83/go-md2man/v2/md2man github.com/mendersoftware/mender/system github.com/mendersoftware/mender/utils vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix crypto/ecdsa github.com/urfave/cli archive/tar net/textproto vendor/golang.org/x/net/http/httpproxy log/syslog crypto/x509 github.com/sirupsen/logrus/hooks/syslog vendor/golang.org/x/net/http/httpguts mime/multipart golang.org/x/net/http/httpguts github.com/mendersoftware/mender/log/syslog github.com/mendersoftware/mender-artifact/artifact crypto/tls github.com/mendersoftware/mender-artifact/handlers github.com/mendersoftware/mender-artifact/areader github.com/mendersoftware/mender-artifact/awriter net/http/httptrace net/http net/http/httptest golang.org/x/net/http2 github.com/mendersoftware/openssl 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/x86_64-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/x86_64-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/x86_64-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/inventory github.com/mendersoftware/mender/statescript github.com/mendersoftware/mender/client/test github.com/mendersoftware/mender/installer github.com/mendersoftware/mender/conf github.com/mendersoftware/mender/device github.com/mendersoftware/mender/app github.com/mendersoftware/mender/cli github.com/mendersoftware/mender make[1]: Leaving directory '/build/mender-client-2.4.1' debian/rules override_dh_auto_test make[1]: Entering directory '/build/mender-client-2.4.1' dh_auto_test || true cd obj-x86_64-linux-gnu && go test -vet=off -v -p 15 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/x86_64-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/x86_64-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/x86_64-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.089s === RUN TestNewAuthManager --- PASS: TestNewAuthManager (0.00s) === RUN TestAuthManager --- PASS: TestAuthManager (0.92s) === RUN TestAuthManagerRequest --- PASS: TestAuthManagerRequest (0.64s) === RUN TestAuthManagerResponse --- PASS: TestAuthManagerResponse (0.00s) === RUN TestDaemon time="2023-07-27T20:04:26Z" level=info msg="State transition: init [none] -> init [none]" --- PASS: TestDaemon (0.00s) === RUN TestDaemonCleanup daemon_test.go:182: PASS: Close() time="2023-07-27T20:04:26Z" 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="2023-07-27T20:06:57Z" level=info msg="Forcing state machine to: update-check" === RUN TestDaemonRun/testing_state_machine_interrupt_functionality_-_inventoryUpdate_state time="2023-07-27T20:06:58Z" 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="2023-07-27T20:06:58Z" level=info msg="Running Mender client version: unknown" --- PASS: TestLogManagerCheckEnableDisable (0.00s) === RUN TestLogManagerCheckLogging time="2023-07-27T20:06:58Z" level=info msg="Running Mender client version: unknown" --- PASS: TestLogManagerCheckLogging (0.00s) === RUN TestLogManagerLogRotation time="2023-07-27T20:06:58Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:06:58Z" level=info msg="Running Mender client version: unknown" --- PASS: TestLogManagerLogRotation (0.00s) === RUN TestEnabligLogsNoSpceForStoringLogs --- PASS: TestEnabligLogsNoSpceForStoringLogs (0.00s) === RUN TestDeploymentLoggingHook time="2023-07-27T20:06:58Z" level=info msg=test1 time="2023-07-27T20:06:58Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:06:58Z" level=debug msg=test2 time="2023-07-27T20:06:58Z" level=info msg=test3 time="2023-07-27T20:06:58Z" level=info msg="{\"level\":\"info\",\"message\":\"Running Mender client version: unknown\",\"timestamp\":\"2023-07-27T20:06:58Z\"}\n{\"level\":\"debug\",\"message\":\"test2\",\"timestamp\":\"2023-07-27T20:06:58Z\"}\n" --- PASS: TestDeploymentLoggingHook (0.00s) === RUN TestGetLogs time="2023-07-27T20:06:58Z" level=info msg="Running Mender client version: unknown" --- PASS: TestGetLogs (0.00s) === RUN TestFindLogFiles --- PASS: TestFindLogFiles (0.02s) === RUN TestMenderError --- PASS: TestMenderError (0.00s) === RUN Test_getArtifactName_noArtifactNameInFile_returnsEmptyName time="2023-07-27T20:06:58Z" level=debug msg="Private key does not exist" time="2023-07-27T20:06:58Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2023-07-27T20:06:58Z" level=debug msg="Returning artifact name from artifact_info file." time="2023-07-27T20:06:58Z" 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="2023-07-27T20:06:58Z" level=debug msg="Private key does not exist" time="2023-07-27T20:06:58Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2023-07-27T20:06:58Z" level=debug msg="Returning artifact name from artifact_info file." time="2023-07-27T20:06:58Z" level=debug msg="Reading data from the device manifest file: artifact_info" time="2023-07-27T20:06:58Z" level=debug msg=artifact_name time="2023-07-27T20:06:58Z" level=error msg="Broken device manifest file: ([artifact_name])" --- PASS: Test_getArtifactName_malformedArtifactNameLine_returnsError (0.00s) === RUN Test_getArtifactName_haveArtifactName_returnsName time="2023-07-27T20:06:58Z" level=debug msg="Private key does not exist" time="2023-07-27T20:06:58Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2023-07-27T20:06:58Z" level=debug msg="Returning artifact name from artifact_info file." time="2023-07-27T20:06:58Z" level=debug msg="Reading data from the device manifest file: artifact_info" time="2023-07-27T20:06:58Z" level=debug msg="artifact_name=mender-image" time="2023-07-27T20:06:58Z" level=debug msg="Current manifest data: mender-image" --- PASS: Test_getArtifactName_haveArtifactName_returnsName (0.00s) === RUN Test_ForceBootstrap time="2023-07-27T20:06:58Z" level=debug msg="Private key does not exist" time="2023-07-27T20:06:58Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2023-07-27T20:06:58Z" level=debug msg="Needs keys" time="2023-07-27T20:06:58Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2023-07-27T20:07:00Z" level=info msg="Device keys not present or bootstrap forced, generating" --- PASS: Test_ForceBootstrap (3.66s) === RUN Test_Bootstrap time="2023-07-27T20:07:02Z" level=debug msg="Private key does not exist" time="2023-07-27T20:07:02Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2023-07-27T20:07:02Z" level=debug msg="Needs keys" time="2023-07-27T20:07:02Z" level=debug msg="Needs keys" time="2023-07-27T20:07:02Z" level=info msg="Device keys not present or bootstrap forced, generating" --- PASS: Test_Bootstrap (0.85s) === RUN Test_BootstrappedHaveKeys time="2023-07-27T20:07:07Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" --- PASS: Test_BootstrappedHaveKeys (3.95s) === RUN Test_BootstrapError time="2023-07-27T20:07:07Z" level=error msg="Failed to load device keys: disabled" time="2023-07-27T20:07:07Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2023-07-27T20:07:07Z" level=error msg="Error loading authentication for HTTP client: fatal error: failed to cache authorization code: failed to read auth token data: disabled" time="2023-07-27T20:07:07Z" level=debug msg="Private key does not exist" time="2023-07-27T20:07:07Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2023-07-27T20:07:07Z" level=debug msg="Needs keys" time="2023-07-27T20:07:07Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2023-07-27T20:07:08Z" level=error msg="Failed to save device key: read only" --- PASS: Test_BootstrapError (0.64s) === RUN Test_CheckUpdateSimple time="2023-07-27T20:07:08Z" level=debug msg="Private key does not exist" time="2023-07-27T20:07:08Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2023-07-27T20:07:08Z" level=debug msg="Returning artifact name from file." time="2023-07-27T20:07:08Z" level=error msg="could not get the current Artifact name" time="2023-07-27T20:07:08Z" level=debug msg="Private key does not exist" time="2023-07-27T20:07:08Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2023-07-27T20:07:08Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-233948959/artifact_info file." time="2023-07-27T20:07:08Z" level=error msg="could not get the current Artifact name" time="2023-07-27T20:07:08Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-233948959/artifact_info file." time="2023-07-27T20:07:08Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-233948959/artifact_info" time="2023-07-27T20:07:08Z" level=debug msg="artifact_name=fake-id" time="2023-07-27T20:07:08Z" level=debug msg="Current manifest data: fake-id" time="2023-07-27T20:07:08Z" level=debug msg="DEVICE_TYPE=hammer" time="2023-07-27T20:07:08Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-233948959/artifact_info file." time="2023-07-27T20:07:08Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-233948959/artifact_info" time="2023-07-27T20:07:08Z" level=debug msg="artifact_name=fake-id" time="2023-07-27T20:07:08Z" level=debug msg="Current manifest data: fake-id" time="2023-07-27T20:07:08Z" level=debug msg="DEVICE_TYPE=hammer" time="2023-07-27T20:07:08Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-233948959/device_type" time="2023-07-27T20:07:08Z" level=debug msg="device_type=hammer" time="2023-07-27T20:07:08Z" level=debug msg="Current manifest data: hammer" time="2023-07-27T20:07:08Z" 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]] 0xc0001a1b80 50 [] false 127.0.0.1:41515 map[] map[] map[] 127.0.0.1:53974 /api/devices/v1/deployments/device/deployments/next 0xc0001a1bc0}" time="2023-07-27T20:07:08Z" level=debug msg="device provides not accepted by the server. Response code: 400" time="2023-07-27T20:07:08Z" 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:41515 map[] map[] map[] 127.0.0.1:53984 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0xc0001a1ec0}" time="2023-07-27T20:07:08Z" 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:41515 map[] map[] map[] 127.0.0.1:53984 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0xc0001a1ec0}" time="2023-07-27T20:07:08Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[hammer]]" time="2023-07-27T20:07:08Z" level=debug msg="Received response:200 OK" time="2023-07-27T20:07:08Z" level=debug msg="Have update available" time="2023-07-27T20:07:08Z" level=info msg="Correct request for getting image from: http://127.0.0.1:41515/download [name: fake-id; devices: [vexpress]]" time="2023-07-27T20:07:08Z" level=debug msg="Received update response: {{{http://127.0.0.1:41515/download } [vexpress] [] fake-id map[]} foo [] 0 false}" time="2023-07-27T20:07:08Z" level=info msg="Attempting to upgrade to currently installed artifact name, not performing upgrade." time="2023-07-27T20:07:08Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-233948959/artifact_info file." time="2023-07-27T20:07:08Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-233948959/artifact_info" time="2023-07-27T20:07:08Z" level=debug msg="artifact_name=fake-id" time="2023-07-27T20:07:08Z" level=debug msg="Current manifest data: fake-id" time="2023-07-27T20:07:08Z" level=debug msg="DEVICE_TYPE=hammer" time="2023-07-27T20:07:08Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-233948959/device_type" time="2023-07-27T20:07:08Z" level=debug msg="device_type=hammer" time="2023-07-27T20:07:08Z" level=debug msg="Current manifest data: hammer" time="2023-07-27T20:07:08Z" 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]] 0xc000272480 50 [] false 127.0.0.1:41515 map[] map[] map[] 127.0.0.1:53984 /api/devices/v1/deployments/device/deployments/next 0xc0002724c0}" time="2023-07-27T20:07:08Z" level=debug msg="device provides not accepted by the server. Response code: 400" time="2023-07-27T20:07:08Z" 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:41515 map[] map[] map[] 127.0.0.1:53986 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0xc000272740}" time="2023-07-27T20:07:08Z" 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:41515 map[] map[] map[] 127.0.0.1:53986 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0xc000272740}" time="2023-07-27T20:07:08Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[hammer]]" time="2023-07-27T20:07:08Z" level=debug msg="Received response:200 OK" time="2023-07-27T20:07:08Z" level=debug msg="Have update available" time="2023-07-27T20:07:08Z" level=info msg="Correct request for getting image from: http://127.0.0.1:41515/download [name: fake-id-fake; devices: [vexpress]]" time="2023-07-27T20:07:08Z" level=debug msg="Received update response: {{{http://127.0.0.1:41515/download } [vexpress] [] fake-id-fake map[]} foo [] 0 false}" time="2023-07-27T20:07:08Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-233948959/artifact_info file." time="2023-07-27T20:07:08Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-233948959/artifact_info" time="2023-07-27T20:07:08Z" level=debug msg="artifact_name=fake-id" time="2023-07-27T20:07:08Z" level=debug msg="Current manifest data: fake-id" time="2023-07-27T20:07:08Z" level=debug msg="DEVICE_TYPE=hammer" time="2023-07-27T20:07:08Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-233948959/device_type" time="2023-07-27T20:07:08Z" level=debug msg="device_type=hammer" time="2023-07-27T20:07:08Z" level=debug msg="Current manifest data: hammer" time="2023-07-27T20:07:08Z" 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]] 0xc000272c80 50 [] false 127.0.0.1:41515 map[] map[] map[] 127.0.0.1:53986 /api/devices/v1/deployments/device/deployments/next 0xc000272cc0}" time="2023-07-27T20:07:08Z" level=debug msg="device provides not accepted by the server. Response code: 400" time="2023-07-27T20:07:08Z" 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:41515 map[] map[] map[] 127.0.0.1:54002 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0xc000272f80}" time="2023-07-27T20:07:08Z" 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:41515 map[] map[] map[] 127.0.0.1:54002 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0xc000272f80}" time="2023-07-27T20:07:08Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[hammer]]" time="2023-07-27T20:07:08Z" level=debug msg="Received response:204 No Content" time="2023-07-27T20:07:08Z" level=debug msg="No update available" time="2023-07-27T20:07:08Z" level=debug msg="no updates available" --- PASS: Test_CheckUpdateSimple (0.02s) === RUN TestMenderGetUpdatePollInterval time="2023-07-27T20:07:08Z" level=debug msg="Private key does not exist" time="2023-07-27T20:07:08Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" --- PASS: TestMenderGetUpdatePollInterval (0.00s) === RUN TestMenderGetInventoryPollInterval time="2023-07-27T20:07:08Z" level=debug msg="Private key does not exist" time="2023-07-27T20:07:08Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" --- PASS: TestMenderGetInventoryPollInterval (0.00s) === RUN TestMenderAuthorize time="2023-07-27T20:07:08Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2023-07-27T20:07:08Z" level=debug msg="Needs keys" time="2023-07-27T20:07:08Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2023-07-27T20:07:08Z" level=error msg="Empty server list! Make sure at least one serveris specified in /etc/mender/mender.conf" time="2023-07-27T20:07:08Z" level=info msg="authorization data present and valid, skipping authorization attempt" time="2023-07-27T20:07:08Z" level=info msg="authorization data present and valid, skipping authorization attempt" time="2023-07-27T20:07:08Z" level=info msg="authorization data present and valid, skipping authorization attempt" time="2023-07-27T20:07:08Z" level=debug msg="Needs keys" time="2023-07-27T20:07:08Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2023-07-27T20:07:08Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:41637" time="2023-07-27T20:07:08Z" 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:41637 map[] map[] map[] 127.0.0.1:37300 /api/devices/v1/authentication/auth_requests 0xc000273880}" time="2023-07-27T20:07:08Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Thu, 27 Jul 2023 20:07:08 GMT]] 0xc000277a60 0 [] false false map[] 0xc000310500 }" time="2023-07-27T20:07:08Z" level=debug msg="Needs keys" time="2023-07-27T20:07:08Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2023-07-27T20:07:08Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:41637" time="2023-07-27T20:07:08Z" 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:41637 map[] map[] map[] 127.0.0.1:37300 /api/devices/v1/authentication/auth_requests 0xc000273a80}" time="2023-07-27T20:07:08Z" 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:[Thu, 27 Jul 2023 20:07:08 GMT]] 0xc000277ee0 6 [] false false map[] 0xc000310900 }" time="2023-07-27T20:07:08Z" level=debug msg="Receive response data" time="2023-07-27T20:07:08Z" level=debug msg="Received response data: [102 111 111 98 97 114]" time="2023-07-27T20:07:08Z" level=debug msg="Needs keys" time="2023-07-27T20:07:08Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2023-07-27T20:07:08Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:41637" time="2023-07-27T20:07:08Z" 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:41637 map[] map[] map[] 127.0.0.1:37300 /api/devices/v1/authentication/auth_requests 0xc000273d80}" time="2023-07-27T20:07:08Z" 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:[Thu, 27 Jul 2023 20:07:08 GMT]] 0xc0003243e0 6 [] false false map[] 0xc000310d00 }" time="2023-07-27T20:07:08Z" level=debug msg="Receive response data" time="2023-07-27T20:07:08Z" level=debug msg="Received response data: [102 111 111 98 97 114]" time="2023-07-27T20:07:08Z" level=info msg="successfully received new authorization data" --- PASS: TestMenderAuthorize (0.00s) === RUN TestMenderReportStatus time="2023-07-27T20:07:08Z" level=debug msg="Private key does not exist" time="2023-07-27T20:07:08Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2023-07-27T20:07:08Z" level=info msg="authorization data present and valid, skipping authorization attempt" time="2023-07-27T20:07:08Z" 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]] 0xc00032e300 21 [] false 127.0.0.1:40803 map[] map[] map[] 127.0.0.1:54776 /api/devices/v1/deployments/device/deployments/foobar/status 0xc00032e340}" time="2023-07-27T20:07:08Z" level=info msg="request for foobar/status" time="2023-07-27T20:07:08Z" 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]] 0xc00032e300 21 [] false 127.0.0.1:40803 map[] map[] map[] 127.0.0.1:54776 /api/devices/v1/deployments/device/deployments/foobar/status 0xc00032e340}" time="2023-07-27T20:07:08Z" level=debug msg="Status reported, response 204 No Content" time="2023-07-27T20:07:08Z" 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]] 0xc00032e4c0 21 [] false 127.0.0.1:40803 map[] map[] map[] 127.0.0.1:54776 /api/devices/v1/deployments/device/deployments/foobar/status 0xc00032e500}" time="2023-07-27T20:07:08Z" level=info msg="request for foobar/status" time="2023-07-27T20:07:08Z" 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]] 0xc00032e4c0 21 [] false 127.0.0.1:40803 map[] map[] map[] 127.0.0.1:54776 /api/devices/v1/deployments/device/deployments/foobar/status 0xc00032e500}" time="2023-07-27T20:07:08Z" level=error msg="bad token, got Bearer tokendata expected footoken" time="2023-07-27T20:07:08Z" level=info msg="Device unauthorized; attempting reauthorization" time="2023-07-27T20:07:08Z" level=debug msg="Needs keys" time="2023-07-27T20:07:08Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2023-07-27T20:07:13Z" level=debug msg="Tenant token: " time="2023-07-27T20:07:13Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAuz1YDX75Ryokwm3XURL8\nKPtmo8tGdx2lW/yxSeEVd+5yDALnOyix5LJI/AaM87I8fG2Au/bt0zCMYg2e5Kfw\n328yRXTcCOIEiruCHvybPrWtKWNysmPjRVAAKw1TG8D8YGjkLNRND9cBtyJ8ChoB\n19V9dpWVH+dBKX5KJtG3EJFtfipaftNaCm1V57UN3t1z/FRDH72xjEgxgHGmc/js\nfcNTgzbp3ndNAWfHK3vpgyg74QtJ7xCaFVc3OdHxUalsTfavoTU08Ra4gluohOpk\nbtRHGnbwjqBVS+amJR2lvPLJusPEnPdp2MS3/VsV6wIlKxXS/HOUjDnZSZLzqZAO\n7AIsr9ysjQusHeUT29X1QfIV6nk0HVZjdf/1Og2u4owWxPFy18jNqmBDCMhWYg3a\nVFOgNy5ZtdQCkL21lFKNYzT+Vjiel+WToSyZ4ESpp83wZU9C5RTaiyYoD1qiBFcm\n8kStne+YlTEftR94o99j/CxudmjchgvxnBLELPFAMSrlAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2023-07-27T20:07:13Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:40803" time="2023-07-27T20:07: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:[orrXoWYku9uvqk/gUzTqpnsZg8MS7fYNe68+1YfNUEa9QFAqIywJfsHo/eMYsJjAnFESJY3ZP34n3C0BoXePwnKIMPgGane1O+UowQJrYwPiz5f417XsVBvr/OGe1nfmNlShJ7Of/MPaOmnH/Wat9Hpohp9aHWSXQauIeGMu9pluByqRwUZ7DUCfhMeKaQhK4DCNqGr6yrTq7OiPzDuMcS96sJQtdAy6PtojDWb7r/kHWILNuQ0B/RwXQmbaieghgonvxwyQpeMT2ZmzUhW4DIQ+l04MgU5fTuW84RT16sSsHuDzyBQDNcaHQm4GDuISWml/vTLGmJpCxzgeK6KCyvNrD4/iCiPOCmsBon37cCWiqeoaJpiuFF3pMj/ap8MT+8cTs7968N9MqUm2kki3/gMVbPZnZycBtEjo82rVuK2mTz4xMDA4akpAbwUyfw6OJbO4qh37IP+RmRK42IdsrQJNQwlrbNb2nYzgNpHiW4q5u5zVKp7tJK1XVLY1TPgX]] 0xc00032e8c0 701 [] false 127.0.0.1:40803 map[] map[] map[] 127.0.0.1:54776 /api/devices/v1/authentication/auth_requests 0xc00032e900}" time="2023-07-27T20:07:13Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Thu, 27 Jul 2023 20:07:13 GMT]] 0xc0003256a0 0 [] false false map[] 0xc000311f00 }" time="2023-07-27T20:07: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="2023-07-27T20:07:13Z" level=error msg="Got unexpected HTTP status when reporting status: 401" time="2023-07-27T20:07:13Z" 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="2023-07-27T20:07:13Z" 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]] 0xc00032eac0 21 [] false 127.0.0.1:40803 map[] map[] map[] 127.0.0.1:54776 /api/devices/v1/deployments/device/deployments/foobar/status 0xc00032eb00}" time="2023-07-27T20:07:13Z" level=info msg="request for foobar/status" time="2023-07-27T20:07:13Z" 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]] 0xc00032eac0 21 [] false 127.0.0.1:40803 map[] map[] map[] 127.0.0.1:54776 /api/devices/v1/deployments/device/deployments/foobar/status 0xc00032eb00}" time="2023-07-27T20:07:13Z" level=error msg="bad authorization value: Bearer" time="2023-07-27T20:07:13Z" level=info msg="Device unauthorized; attempting reauthorization" time="2023-07-27T20:07:13Z" level=debug msg="Tenant token: " time="2023-07-27T20:07:13Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAuz1YDX75Ryokwm3XURL8\nKPtmo8tGdx2lW/yxSeEVd+5yDALnOyix5LJI/AaM87I8fG2Au/bt0zCMYg2e5Kfw\n328yRXTcCOIEiruCHvybPrWtKWNysmPjRVAAKw1TG8D8YGjkLNRND9cBtyJ8ChoB\n19V9dpWVH+dBKX5KJtG3EJFtfipaftNaCm1V57UN3t1z/FRDH72xjEgxgHGmc/js\nfcNTgzbp3ndNAWfHK3vpgyg74QtJ7xCaFVc3OdHxUalsTfavoTU08Ra4gluohOpk\nbtRHGnbwjqBVS+amJR2lvPLJusPEnPdp2MS3/VsV6wIlKxXS/HOUjDnZSZLzqZAO\n7AIsr9ysjQusHeUT29X1QfIV6nk0HVZjdf/1Og2u4owWxPFy18jNqmBDCMhWYg3a\nVFOgNy5ZtdQCkL21lFKNYzT+Vjiel+WToSyZ4ESpp83wZU9C5RTaiyYoD1qiBFcm\n8kStne+YlTEftR94o99j/CxudmjchgvxnBLELPFAMSrlAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2023-07-27T20:07:13Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:40803" time="2023-07-27T20:07: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:[orrXoWYku9uvqk/gUzTqpnsZg8MS7fYNe68+1YfNUEa9QFAqIywJfsHo/eMYsJjAnFESJY3ZP34n3C0BoXePwnKIMPgGane1O+UowQJrYwPiz5f417XsVBvr/OGe1nfmNlShJ7Of/MPaOmnH/Wat9Hpohp9aHWSXQauIeGMu9pluByqRwUZ7DUCfhMeKaQhK4DCNqGr6yrTq7OiPzDuMcS96sJQtdAy6PtojDWb7r/kHWILNuQ0B/RwXQmbaieghgonvxwyQpeMT2ZmzUhW4DIQ+l04MgU5fTuW84RT16sSsHuDzyBQDNcaHQm4GDuISWml/vTLGmJpCxzgeK6KCyvNrD4/iCiPOCmsBon37cCWiqeoaJpiuFF3pMj/ap8MT+8cTs7968N9MqUm2kki3/gMVbPZnZycBtEjo82rVuK2mTz4xMDA4akpAbwUyfw6OJbO4qh37IP+RmRK42IdsrQJNQwlrbNb2nYzgNpHiW4q5u5zVKp7tJK1XVLY1TPgX]] 0xc000382000 701 [] false 127.0.0.1:40803 map[] map[] map[] 127.0.0.1:54776 /api/devices/v1/authentication/auth_requests 0xc000382040}" time="2023-07-27T20:07:13Z" 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:[Thu, 27 Jul 2023 20:07:13 GMT]] 0xc000380280 9 [] false false map[] 0xc000352a00 }" time="2023-07-27T20:07:13Z" level=debug msg="Receive response data" time="2023-07-27T20:07:13Z" level=debug msg="Received response data: [116 111 107 101 110 100 97 116 97]" time="2023-07-27T20:07:13Z" 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]] 0xc0003822c0 21 [] false 127.0.0.1:40803 map[] map[] map[] 127.0.0.1:54776 /api/devices/v1/deployments/device/deployments/foobar/status 0xc000382300}" time="2023-07-27T20:07:13Z" level=info msg="request for foobar/status" time="2023-07-27T20:07:13Z" 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]] 0xc0003822c0 21 [] false 127.0.0.1:40803 map[] map[] map[] 127.0.0.1:54776 /api/devices/v1/deployments/device/deployments/foobar/status 0xc000382300}" time="2023-07-27T20:07:13Z" level=warning msg="Status report rejected, deployment aborted at the backend" time="2023-07-27T20:07:13Z" level=error msg="error reporting update status: (request_id: ): deployment was aborted server error message: failed to parse server response: EOF" --- PASS: TestMenderReportStatus (5.70s) === RUN TestMenderLogUpload time="2023-07-27T20:07:13Z" level=debug msg="Private key does not exist" time="2023-07-27T20:07:13Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2023-07-27T20:07:13Z" level=info msg="authorization data present and valid, skipping authorization attempt" time="2023-07-27T20:07:13Z" 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]] 0xc000382800 136 [] false 127.0.0.1:33575 map[] map[] map[] 127.0.0.1:50362 /api/devices/v1/deployments/device/deployments/foobar/log 0xc000382840}" time="2023-07-27T20:07:13Z" level=info msg="request for foobar/log" time="2023-07-27T20:07:13Z" 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]] 0xc000382800 136 [] false 127.0.0.1:33575 map[] map[] map[] 127.0.0.1:50362 /api/devices/v1/deployments/device/deployments/foobar/log 0xc000382840}" time="2023-07-27T20:07:13Z" 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="2023-07-27T20:07:13Z" level=debug msg="Logs uploaded, response &{204 No Content 204 HTTP/1.1 1 1 map[Date:[Thu, 27 Jul 2023 20:07:13 GMT]] 0xc000380ec0 0 [] false false map[] 0xc00038c800 }" time="2023-07-27T20:07:13Z" 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]] 0xc000382a00 136 [] false 127.0.0.1:33575 map[] map[] map[] 127.0.0.1:50362 /api/devices/v1/deployments/device/deployments/foobar/log 0xc000382a40}" time="2023-07-27T20:07:13Z" level=info msg="request for foobar/log" time="2023-07-27T20:07:13Z" 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]] 0xc000382a00 136 [] false 127.0.0.1:33575 map[] map[] map[] 127.0.0.1:50362 /api/devices/v1/deployments/device/deployments/foobar/log 0xc000382a40}" time="2023-07-27T20:07:13Z" level=error msg="bad token, got Bearer tokendata expected footoken" time="2023-07-27T20:07:13Z" level=info msg="Device unauthorized; attempting reauthorization" time="2023-07-27T20:07:13Z" level=debug msg="Needs keys" time="2023-07-27T20:07:13Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2023-07-27T20:07:14Z" level=debug msg="Tenant token: " time="2023-07-27T20:07:14Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA03OSAXziVHvZLOVysS+y\nAqBFcFL96xAuIhxYmk4EDseFQFtLFGs4ZZ+CdN7FGlKp2P+dFxdxf9Y8zWgNu8IY\ngprowUKFvVkvaaDMV0njiUo73CW8h36BbtXNeMP/BhHIS/LmKTdSeO/iJAiZ27ts\nrElFzWx53O58KE9vVqiCSzEif9B9XZslbbwWlo0TNSqqJbDAAwaefuiB24fylL/u\nFXeoKErtIMNjrGMJrfq0A1brosXVBb6UTTBcjRNtfUqw3ogBNNMqui9NvkG1a1nU\nRpnVOmfAPnK43aEBnJkCDise4XAvxejy4sttpIKM2wKqfoewTs1gdwiym8IyeFd4\ned12UoEC0svKjG7rCjol7ZdRqdZLaGy6B4DO0IGmmnYwYgHJPHKlHfDkflQS6BHE\nnEnsKDWXaRMZ9R+XsRsgwK9rROxfix4pJQrG1lTG/H6T3DEMvWEOWKHGcNe9Al5x\nteVeUBd+fYB/TiO7iihCFAz7AR7rq1yU1vSskSc4QX2TAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2023-07-27T20:07:15Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:33575" time="2023-07-27T20:07: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:[d4CiHa02YLDgyqAVzckn8KEsuwx2xcjuOJdlUcgdS6v62RmX6ovP7MS9kMUOeTIljmhQ/NgHai5++wecXAW0qNm6i/XrRbax81Kcsb8xXt50gW0dcIX3VNYgLatOh++gr/Us+HzOQuLXNGF4SLGdzBFKyY6j6D2PZyfFz9q5iTeOWXbwJ9ZLYZb6hSoAk5dalYswQ5lyj7V5YngWshUYMnbRalEfWlzuW+BOmXKuBJjjl54Jj5S8qrdTUl72/bVDgZ1WTHZXkDAlh3vCt3afPlyX0Pt3fLNq/aTWd93F2On+Nq7Bp8MKMd9YCqLkkYXnMDQSgSXlHMukSxiptN4f+LISo9DnkPo6MjQBib8D2ig/wTnYNL1H66xAlvRuLrWx1F+bl1z/agdJTMk1vgomMPVMqOVMSoy4ig8R1i63Pv/Fi6O2mghiWHxMiEyklczG2Sg50OpBoKR6LHQ1sFf3RoOihOLZR4QgtH6WZhU1iI0j3GbCaclbFUhTqPXvYsel]] 0xc000382e00 701 [] false 127.0.0.1:33575 map[] map[] map[] 127.0.0.1:50362 /api/devices/v1/authentication/auth_requests 0xc000382e40}" time="2023-07-27T20:07:15Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Thu, 27 Jul 2023 20:07:15 GMT]] 0xc000381aa0 0 [] false false map[] 0xc00038d500 }" time="2023-07-27T20:07:15Z" 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="2023-07-27T20:07:15Z" level=error msg="Got unexpected HTTP status when uploading log: 401" time="2023-07-27T20:07:15Z" 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.25s) === RUN TestAuthToken time="2023-07-27T20:07:15Z" level=debug msg="Private key does not exist" time="2023-07-27T20:07:15Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2023-07-27T20:07:15Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-644590578/artifact_info file." time="2023-07-27T20:07:15Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-644590578/artifact_info" time="2023-07-27T20:07:15Z" level=debug msg="artifact_name=fake-id" time="2023-07-27T20:07:15Z" level=debug msg="Current manifest data: fake-id" time="2023-07-27T20:07:15Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-644590578/device_type" time="2023-07-27T20:07:15Z" level=debug msg="device_type=foo-bar" time="2023-07-27T20:07:15Z" level=debug msg="Current manifest data: foo-bar" time="2023-07-27T20:07: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] Content-Length:[51] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0xc000383500 51 [] false 127.0.0.1:40905 map[] map[] map[] 127.0.0.1:50822 /api/devices/v1/deployments/device/deployments/next 0xc000383540}" time="2023-07-27T20:07:15Z" level=debug msg="device provides not accepted by the server. Response code: 400" time="2023-07-27T20:07:15Z" 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:40905 map[] map[] map[] 127.0.0.1:50834 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=foo-bar 0xc0003837c0}" time="2023-07-27T20:07:15Z" 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:40905 map[] map[] map[] 127.0.0.1:50834 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=foo-bar 0xc0003837c0}" time="2023-07-27T20:07:15Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[foo-bar]]" time="2023-07-27T20:07:15Z" level=info msg="Device unauthorized; attempting reauthorization" time="2023-07-27T20:07:15Z" level=debug msg="Needs keys" time="2023-07-27T20:07:15Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2023-07-27T20:07:16Z" level=debug msg="Tenant token: " time="2023-07-27T20:07:16Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAwRSfHNBZ2GKDxTc65Z59\nfNNvzgj5h0+8M1XN8UH6bWsbwglwbHR5+9ZQoN0ialLdrK4ajeu36UTR3wUnCnp5\n8Lw49NJwCfKbqM1oDjzQmwYmE5Y/EFKnt2jRCfRhSxjWubC9BJGRz1qWCXlZIXuF\nex209B0LwSzZqJGlxu+Fi2HeRWidNOsDIbfm5XzoiUzKnby62vglhx5ODhGX1t8x\nMG3XA+QPs3yRV7TMn8rP/ee8pD9+fDGs9cTNz2XAzsG4Y9nYkKnKIWyCWeOZakDL\nHuma529vDk/Zsd7fyxa0zJLobPj4xiWIRne/yVRaA95JUPpQSIhguahotuEmVpU4\nPeH58zKb5knXJ0TBQO1gkpHCpijF3FqvepHOozApoLHAeuX8GxL7SyD23qm9H/XQ\nG69dA7EnQWF5xSrDIgr6Fy0seroKnDTN141b2IIWPZnywZtkWcVJ2ETmMzNLEk0X\njmte6FYiIPfUOtBqgKTG65PtHXF3/13d1hiv3fjpal+LAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2023-07-27T20:07:16Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:40905" time="2023-07-27T20:07: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:[Y5QbjYcdAeGS/R8FK0Xi4OsZxMasXv+mOeZK8PLeCO8K1yW8IV4/33/mmNL9OxpPtrn87m3GTfq0T5XIO+FWeZOiyrYnjE2ojEUToVC4lVdTEVnB7hDw7ux48cdS3oi+dAUgoQClvN2PpxMr3LoAMI62+IaqPOx6nMUM1IH7d0fW55dEdbb4grZXnchh06VRMAbiqZtHSvCbElTdGT7hvE5CwvqiexWyEzbwuz809EsZrbpi3Afbs+/OKCF+4BzqfSDcHLOxFvtwWO5Q7JOJEFuF0UEvN8GL3q8lpjfpVgt4KH5++nwueo3AyrPytVPVuhZ03pwuamFIuUUOwUzMhGeXqVmKHRR6Ec7Yuzt9zDSxk5Pa9AkxuXm0LweDAyvQtr7dN/t5MWtSfGbIT/IZ91fuPSI5WzswJRFhrdmuLCy6vkfOhK/bRjj6OVVocP9Xn787C41uNl+sWckI43u2GvJdMOtYWgqWPSiLPwEY0GBvoVdKK/9bkPbktLE8F0wL]] 0xc000383b40 701 [] false 127.0.0.1:40905 map[] map[] map[] 127.0.0.1:50834 /api/devices/v1/authentication/auth_requests 0xc000383b80}" time="2023-07-27T20:07:16Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Thu, 27 Jul 2023 20:07:16 GMT]] 0xc000416cc0 0 [] false false map[] 0xc000420500 }" time="2023-07-27T20:07:16Z" 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="2023-07-27T20:07:16Z" level=debug msg="Received response:401 Unauthorized" time="2023-07-27T20:07:16Z" level=warning msg="Client not authorized to get update schedule." time="2023-07-27T20:07:16Z" level=error msg="Error receiving scheduled update data: (request_id: ): client not authorized server error message: failed to parse server response: EOF" --- PASS: TestAuthToken (1.40s) === RUN TestMenderInventoryRefresh time="2023-07-27T20:07:16Z" level=debug msg="Private key does not exist" time="2023-07-27T20:07:16Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2023-07-27T20:07:16Z" level=info msg="authorization data present and valid, skipping authorization attempt" time="2023-07-27T20:07:16Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-775601321/artifact_info file." time="2023-07-27T20:07:16Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-775601321/artifact_info" time="2023-07-27T20:07:16Z" level=debug msg="artifact_name=fake-id" time="2023-07-27T20:07:16Z" level=debug msg="Current manifest data: fake-id" time="2023-07-27T20:07:16Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-775601321/device_type" time="2023-07-27T20:07:16Z" level=debug msg="device_type=foo-bar" time="2023-07-27T20:07:16Z" level=debug msg="Current manifest data: foo-bar" time="2023-07-27T20:07:16Z" 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]] 0xc0004da040 137 [] false 127.0.0.1:37893 map[] map[] map[] 127.0.0.1:49558 /api/devices/v1/inventory/device/attributes 0xc0004da080}" time="2023-07-27T20:07:16Z" level=info msg="got attrs: [{artifact_name fake-id} {mender_client_version unknown} {device_type foo-bar}]" time="2023-07-27T20:07:16Z" level=debug msg="Inventory update sent, response &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Thu, 27 Jul 2023 20:07:16 GMT]] 0xc0004e8340 0 [] false false map[] 0xc000420b00 }" time="2023-07-27T20:07:16Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-775601321/artifact_info file." time="2023-07-27T20:07:16Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-775601321/artifact_info" time="2023-07-27T20:07:16Z" level=debug msg="artifact_name=fake-id" time="2023-07-27T20:07:16Z" level=debug msg="Current manifest data: fake-id" time="2023-07-27T20:07:16Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-775601321/device_type" time="2023-07-27T20:07:16Z" level=debug msg="device_type=foo-bar" time="2023-07-27T20:07:16Z" level=debug msg="Current manifest data: foo-bar" time="2023-07-27T20:07:16Z" 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]] 0xc0004da440 166 [] false 127.0.0.1:37893 map[] map[] map[] 127.0.0.1:49558 /api/devices/v1/inventory/device/attributes 0xc0004da480}" time="2023-07-27T20:07:16Z" level=info msg="got attrs: [{mender_client_version unknown} {foo bar} {device_type foo-bar} {artifact_name fake-id}]" time="2023-07-27T20:07:16Z" level=debug msg="Inventory update sent, response &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Thu, 27 Jul 2023 20:07:16 GMT]] 0xc0004e8ba0 0 [] false false map[] 0xc000484300 }" time="2023-07-27T20:07:16Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-775601321/artifact_info file." time="2023-07-27T20:07:16Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-775601321/artifact_info" time="2023-07-27T20:07:16Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-775601321/artifact_info file." time="2023-07-27T20:07:16Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-775601321/artifact_info" --- PASS: TestMenderInventoryRefresh (0.03s) === RUN TestMenderStoreUpdate time="2023-07-27T20:07:16Z" level=debug msg="Private key does not exist" time="2023-07-27T20:07:16Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2023-07-27T20:07:16Z" level=error msg="Unable to verify the existing hardware. Update will continue anyway: : open /tmp/mender-install-update-643899587/device_type: no such file or directory" time="2023-07-27T20:07:16Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:16Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" time="2023-07-27T20:07:16Z" level=error msg="Unable to verify the existing hardware. Update will continue anyway: : open /tmp/mender-install-update-643899587/device_type: no such file or directory" time="2023-07-27T20:07:16Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:16Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" time="2023-07-27T20:07:16Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-643899587/device_type" time="2023-07-27T20:07:16Z" level=debug msg="device_type=bogusdevicetype" time="2023-07-27T20:07:16Z" level=debug msg="Current manifest data: bogusdevicetype" time="2023-07-27T20:07:16Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:16Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" time="2023-07-27T20:07:16Z" level=debug msg="Checking if device [bogusdevicetype] is on compatible device list: [vexpress-qemu]\n" time="2023-07-27T20:07:16Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-643899587/device_type" time="2023-07-27T20:07:16Z" level=debug msg="device_type=vexpress-qemu" time="2023-07-27T20:07:16Z" level=debug msg="Current manifest data: vexpress-qemu" time="2023-07-27T20:07:16Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:16Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" time="2023-07-27T20:07:16Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" time="2023-07-27T20:07:16Z" level=debug msg="Installer: Successfully read artifact [name: mender-1.1; version: 2; compatible devices: [vexpress-qemu]]" time="2023-07-27T20:07:16Z" level=debug msg="Private key does not exist" time="2023-07-27T20:07:16Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2023-07-27T20:07:16Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-643899587/device_type" time="2023-07-27T20:07:16Z" level=debug msg="device_type=vexpress-qemu" time="2023-07-27T20:07:16Z" level=debug msg="Current manifest data: vexpress-qemu" time="2023-07-27T20:07:16Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:16Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" time="2023-07-27T20:07:16Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" time="2023-07-27T20:07:16Z" level=debug msg="Installer: Successfully read artifact [name: mender-1.1; version: 2; compatible devices: [vexpress-qemu]]" --- PASS: TestMenderStoreUpdate (0.19s) === RUN TestMenderFetchUpdate time="2023-07-27T20:07:16Z" level=debug msg="Private key does not exist" time="2023-07-27T20:07:16Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2023-07-27T20:07:16Z" level=info msg="authorization data present and valid, skipping authorization attempt" time="2023-07-27T20:07:16Z" level=warning msg="RetryPollIntervalSeconds is not defined" time="2023-07-27T20:07:16Z" 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:36113 map[] map[] map[] 127.0.0.1:60400 /api/devices/v1/download 0xc000020140}" time="2023-07-27T20:07:16Z" 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:[Thu, 27 Jul 2023 20:07:16 GMT]] 0xc0004e8220 8192 [] false false map[] 0xc0000dc100 }+" --- PASS: TestMenderFetchUpdate (0.00s) === RUN TestReauthorization time="2023-07-27T20:07:16Z" level=debug msg="Private key does not exist" time="2023-07-27T20:07:16Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2023-07-27T20:07:16Z" level=debug msg="Needs keys" time="2023-07-27T20:07:16Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2023-07-27T20:07:21Z" level=debug msg="Tenant token: " time="2023-07-27T20:07:21Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA2S8x+kDk+As3/v/U/BNu\n//KB70wKZ3uMOWlxNq41lA6cn62bFG7bHbUducLr2slEaF9ezH0niFMU0Ow0SUrF\nNAQ1tAq9GXaVidrNC8qM/OoMHadlxB9G3wC/2fHrZCbPvIDlEH0UOGPtoM3KtwfX\n88k6/r82yVEtpmLj3OGk33TZe2K6vtFtoKTuLurYNJJ/b4SWrE6Ru7JHuo4iAc1A\n20UWrtigDLKOmamJx0UGSNJZ1NKreDOKjd+QGhXFDLHXLor908m8wn1icUcF5tZi\n6jk0yZdpfj7zc3WX3ayCY2PdXwWZ3udwX0Mg6G4mEu9rvmsIgPEuAgUmDw5MCRrc\nnaG1B4AQPB34PC8HfQbgYaxnamJKFqdnmnb2QSV+x8pC3CKEZOK/zbDpgBsszXLT\nYm3ylbZQOUi0hQG081yqm6aGee9NYMJ8z7vR2fcH0NIWI/bDt3WlxjLywzDc/z7z\nrsaeFVRt2zZB3ti6UojuP3+kDGAJ6QlximJBIdpWRxFbAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2023-07-27T20:07:21Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:42635" time="2023-07-27T20:07:21Z" 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:[oALEMUhngj+0mzQ1HBDs9WMYKX++unN89PCAoPGAR/qzThzX2gdxDamoq3ag051jvziTB403LsARDD/IYCc5K133asQs2/G0pzu96Ci9FV4Myp4R098QjfHc6cu30aby8WUGBXOli3OrzMd7c7WTQtW1epsROLDH8bB624xjP080q04YXON01prXoTsdNSGDY+y4cRoD/m8Uj/Nws91aHOpeg+QzNrwjMVIVozYzL/R/52y8BuL2OPmBMHxhe891QT2xLrrr7XXj1uS26dFoarp7A0o2dRxbdZ+2N7M3xCZYTpzomQ1ZHQxCcNgwKN++/rJTbUEtC7cXgfg9iTEJ/LeEdYkgnWVI2lzecTOgn15dvTtOeo5+tZsiW6TA8gYigRLN2H8BZ1RBd5hkSZJf+sVF7xjODH5/a0tEu4+vquB1c0EL5PVDOivDlLUdNaef6NyIfxUMUIAxQyAbvPEUOozCO5ZyZ6Hi4N7oc+WkEwpDyGt2+aYuMt1e/W+oIlkX]] 0xc0001a0140 701 [] false 127.0.0.1:42635 map[] map[] map[] 127.0.0.1:43906 /api/devices/v1/authentication/auth_requests 0xc0001a0180}" time="2023-07-27T20:07:21Z" 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:[Thu, 27 Jul 2023 20:07:21 GMT]] 0xc0004a22a0 3 [] false false map[] 0xc000212100 }" time="2023-07-27T20:07:21Z" level=debug msg="Receive response data" time="2023-07-27T20:07:21Z" level=debug msg="Received response data: [102 111 111]" time="2023-07-27T20:07:21Z" level=info msg="successfully received new authorization data" time="2023-07-27T20:07:21Z" level=debug msg="Returning artifact name from artifact_info file." time="2023-07-27T20:07:21Z" level=debug msg="Reading data from the device manifest file: artifact_info" time="2023-07-27T20:07:21Z" level=debug msg="artifact_name=mender-image" time="2023-07-27T20:07:21Z" level=debug msg="Current manifest data: mender-image" time="2023-07-27T20:07:21Z" level=debug msg="Reading data from the device manifest file: device_type" time="2023-07-27T20:07:21Z" level=debug msg="device_type=dev" time="2023-07-27T20:07:21Z" level=debug msg="Current manifest data: dev" time="2023-07-27T20:07:21Z" 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]] 0xc0001a06c0 52 [] false 127.0.0.1:42635 map[] map[] map[] 127.0.0.1:43906 /api/devices/v1/deployments/device/deployments/next 0xc0001a0700}" time="2023-07-27T20:07:21Z" level=error msg="bad token, got Bearer foo expected bar" time="2023-07-27T20:07:21Z" level=info msg="Device unauthorized; attempting reauthorization" time="2023-07-27T20:07:21Z" level=debug msg="Tenant token: " time="2023-07-27T20:07:21Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA2S8x+kDk+As3/v/U/BNu\n//KB70wKZ3uMOWlxNq41lA6cn62bFG7bHbUducLr2slEaF9ezH0niFMU0Ow0SUrF\nNAQ1tAq9GXaVidrNC8qM/OoMHadlxB9G3wC/2fHrZCbPvIDlEH0UOGPtoM3KtwfX\n88k6/r82yVEtpmLj3OGk33TZe2K6vtFtoKTuLurYNJJ/b4SWrE6Ru7JHuo4iAc1A\n20UWrtigDLKOmamJx0UGSNJZ1NKreDOKjd+QGhXFDLHXLor908m8wn1icUcF5tZi\n6jk0yZdpfj7zc3WX3ayCY2PdXwWZ3udwX0Mg6G4mEu9rvmsIgPEuAgUmDw5MCRrc\nnaG1B4AQPB34PC8HfQbgYaxnamJKFqdnmnb2QSV+x8pC3CKEZOK/zbDpgBsszXLT\nYm3ylbZQOUi0hQG081yqm6aGee9NYMJ8z7vR2fcH0NIWI/bDt3WlxjLywzDc/z7z\nrsaeFVRt2zZB3ti6UojuP3+kDGAJ6QlximJBIdpWRxFbAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2023-07-27T20:07:21Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:42635" time="2023-07-27T20:07:21Z" 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:[oALEMUhngj+0mzQ1HBDs9WMYKX++unN89PCAoPGAR/qzThzX2gdxDamoq3ag051jvziTB403LsARDD/IYCc5K133asQs2/G0pzu96Ci9FV4Myp4R098QjfHc6cu30aby8WUGBXOli3OrzMd7c7WTQtW1epsROLDH8bB624xjP080q04YXON01prXoTsdNSGDY+y4cRoD/m8Uj/Nws91aHOpeg+QzNrwjMVIVozYzL/R/52y8BuL2OPmBMHxhe891QT2xLrrr7XXj1uS26dFoarp7A0o2dRxbdZ+2N7M3xCZYTpzomQ1ZHQxCcNgwKN++/rJTbUEtC7cXgfg9iTEJ/LeEdYkgnWVI2lzecTOgn15dvTtOeo5+tZsiW6TA8gYigRLN2H8BZ1RBd5hkSZJf+sVF7xjODH5/a0tEu4+vquB1c0EL5PVDOivDlLUdNaef6NyIfxUMUIAxQyAbvPEUOozCO5ZyZ6Hi4N7oc+WkEwpDyGt2+aYuMt1e/W+oIlkX]] 0xc0004da580 701 [] false 127.0.0.1:42635 map[] map[] map[] 127.0.0.1:43906 /api/devices/v1/authentication/auth_requests 0xc0004da5c0}" time="2023-07-27T20:07:21Z" 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:[Thu, 27 Jul 2023 20:07:21 GMT]] 0xc0007e8a40 3 [] false false map[] 0xc000280900 }" time="2023-07-27T20:07:21Z" level=debug msg="Receive response data" time="2023-07-27T20:07:21Z" level=debug msg="Received response data: [98 97 114]" time="2023-07-27T20:07:21Z" 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]] 0xc0004da840 52 [] false 127.0.0.1:42635 map[] map[] map[] 127.0.0.1:43906 /api/devices/v1/deployments/device/deployments/next 0xc0004da880}" time="2023-07-27T20:07:21Z" level=debug msg="device provides not accepted by the server. Response code: 400" time="2023-07-27T20:07:21Z" 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:42635 map[] map[] map[] 127.0.0.1:43922 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc0004dab40}" time="2023-07-27T20:07:21Z" 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:42635 map[] map[] map[] 127.0.0.1:43922 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc0004dab40}" time="2023-07-27T20:07:21Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" time="2023-07-27T20:07:21Z" level=debug msg="Received response:204 No Content" time="2023-07-27T20:07:21Z" level=debug msg="No update available" time="2023-07-27T20:07:21Z" level=debug msg="no updates available" time="2023-07-27T20:07:21Z" level=debug msg="Returning artifact name from artifact_info file." time="2023-07-27T20:07:21Z" level=debug msg="Reading data from the device manifest file: artifact_info" time="2023-07-27T20:07:21Z" level=debug msg="artifact_name=mender-image" time="2023-07-27T20:07:21Z" level=debug msg="Current manifest data: mender-image" time="2023-07-27T20:07:21Z" level=debug msg="Reading data from the device manifest file: device_type" time="2023-07-27T20:07:21Z" level=debug msg="device_type=dev" time="2023-07-27T20:07:21Z" level=debug msg="Current manifest data: dev" time="2023-07-27T20:07:21Z" 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]] 0xc0004daf80 52 [] false 127.0.0.1:42635 map[] map[] map[] 127.0.0.1:43922 /api/devices/v1/deployments/device/deployments/next 0xc0004dafc0}" time="2023-07-27T20:07:21Z" level=error msg="bad token, got Bearer bar expected foo" time="2023-07-27T20:07:21Z" level=info msg="Device unauthorized; attempting reauthorization" time="2023-07-27T20:07:21Z" level=debug msg="Tenant token: " time="2023-07-27T20:07:21Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA2S8x+kDk+As3/v/U/BNu\n//KB70wKZ3uMOWlxNq41lA6cn62bFG7bHbUducLr2slEaF9ezH0niFMU0Ow0SUrF\nNAQ1tAq9GXaVidrNC8qM/OoMHadlxB9G3wC/2fHrZCbPvIDlEH0UOGPtoM3KtwfX\n88k6/r82yVEtpmLj3OGk33TZe2K6vtFtoKTuLurYNJJ/b4SWrE6Ru7JHuo4iAc1A\n20UWrtigDLKOmamJx0UGSNJZ1NKreDOKjd+QGhXFDLHXLor908m8wn1icUcF5tZi\n6jk0yZdpfj7zc3WX3ayCY2PdXwWZ3udwX0Mg6G4mEu9rvmsIgPEuAgUmDw5MCRrc\nnaG1B4AQPB34PC8HfQbgYaxnamJKFqdnmnb2QSV+x8pC3CKEZOK/zbDpgBsszXLT\nYm3ylbZQOUi0hQG081yqm6aGee9NYMJ8z7vR2fcH0NIWI/bDt3WlxjLywzDc/z7z\nrsaeFVRt2zZB3ti6UojuP3+kDGAJ6QlximJBIdpWRxFbAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2023-07-27T20:07:21Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:42635" time="2023-07-27T20:07:21Z" 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:[oALEMUhngj+0mzQ1HBDs9WMYKX++unN89PCAoPGAR/qzThzX2gdxDamoq3ag051jvziTB403LsARDD/IYCc5K133asQs2/G0pzu96Ci9FV4Myp4R098QjfHc6cu30aby8WUGBXOli3OrzMd7c7WTQtW1epsROLDH8bB624xjP080q04YXON01prXoTsdNSGDY+y4cRoD/m8Uj/Nws91aHOpeg+QzNrwjMVIVozYzL/R/52y8BuL2OPmBMHxhe891QT2xLrrr7XXj1uS26dFoarp7A0o2dRxbdZ+2N7M3xCZYTpzomQ1ZHQxCcNgwKN++/rJTbUEtC7cXgfg9iTEJ/LeEdYkgnWVI2lzecTOgn15dvTtOeo5+tZsiW6TA8gYigRLN2H8BZ1RBd5hkSZJf+sVF7xjODH5/a0tEu4+vquB1c0EL5PVDOivDlLUdNaef6NyIfxUMUIAxQyAbvPEUOozCO5ZyZ6Hi4N7oc+WkEwpDyGt2+aYuMt1e/W+oIlkX]] 0xc0004db240 701 [] false 127.0.0.1:42635 map[] map[] map[] 127.0.0.1:43922 /api/devices/v1/authentication/auth_requests 0xc0004db280}" time="2023-07-27T20:07:21Z" 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:[Thu, 27 Jul 2023 20:07:21 GMT]] 0xc0007e9c20 3 [] false false map[] 0xc0000dd500 }" time="2023-07-27T20:07:21Z" level=debug msg="Receive response data" time="2023-07-27T20:07:21Z" level=debug msg="Received response data: [102 111 111]" time="2023-07-27T20:07:21Z" 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]] 0xc0004db4c0 52 [] false 127.0.0.1:42635 map[] map[] map[] 127.0.0.1:43922 /api/devices/v1/deployments/device/deployments/next 0xc0004db500}" time="2023-07-27T20:07:21Z" level=debug msg="device provides not accepted by the server. Response code: 400" time="2023-07-27T20:07:21Z" 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:42635 map[] map[] map[] 127.0.0.1:43924 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc0004db780}" time="2023-07-27T20:07:21Z" 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:42635 map[] map[] map[] 127.0.0.1:43924 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc0004db780}" time="2023-07-27T20:07:21Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" time="2023-07-27T20:07:21Z" level=info msg="Device unauthorized; attempting reauthorization" time="2023-07-27T20:07:21Z" level=debug msg="Tenant token: " time="2023-07-27T20:07:21Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA2S8x+kDk+As3/v/U/BNu\n//KB70wKZ3uMOWlxNq41lA6cn62bFG7bHbUducLr2slEaF9ezH0niFMU0Ow0SUrF\nNAQ1tAq9GXaVidrNC8qM/OoMHadlxB9G3wC/2fHrZCbPvIDlEH0UOGPtoM3KtwfX\n88k6/r82yVEtpmLj3OGk33TZe2K6vtFtoKTuLurYNJJ/b4SWrE6Ru7JHuo4iAc1A\n20UWrtigDLKOmamJx0UGSNJZ1NKreDOKjd+QGhXFDLHXLor908m8wn1icUcF5tZi\n6jk0yZdpfj7zc3WX3ayCY2PdXwWZ3udwX0Mg6G4mEu9rvmsIgPEuAgUmDw5MCRrc\nnaG1B4AQPB34PC8HfQbgYaxnamJKFqdnmnb2QSV+x8pC3CKEZOK/zbDpgBsszXLT\nYm3ylbZQOUi0hQG081yqm6aGee9NYMJ8z7vR2fcH0NIWI/bDt3WlxjLywzDc/z7z\nrsaeFVRt2zZB3ti6UojuP3+kDGAJ6QlximJBIdpWRxFbAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2023-07-27T20:07:21Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:42635" time="2023-07-27T20:07:21Z" 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:[oALEMUhngj+0mzQ1HBDs9WMYKX++unN89PCAoPGAR/qzThzX2gdxDamoq3ag051jvziTB403LsARDD/IYCc5K133asQs2/G0pzu96Ci9FV4Myp4R098QjfHc6cu30aby8WUGBXOli3OrzMd7c7WTQtW1epsROLDH8bB624xjP080q04YXON01prXoTsdNSGDY+y4cRoD/m8Uj/Nws91aHOpeg+QzNrwjMVIVozYzL/R/52y8BuL2OPmBMHxhe891QT2xLrrr7XXj1uS26dFoarp7A0o2dRxbdZ+2N7M3xCZYTpzomQ1ZHQxCcNgwKN++/rJTbUEtC7cXgfg9iTEJ/LeEdYkgnWVI2lzecTOgn15dvTtOeo5+tZsiW6TA8gYigRLN2H8BZ1RBd5hkSZJf+sVF7xjODH5/a0tEu4+vquB1c0EL5PVDOivDlLUdNaef6NyIfxUMUIAxQyAbvPEUOozCO5ZyZ6Hi4N7oc+WkEwpDyGt2+aYuMt1e/W+oIlkX]] 0xc0004dba80 701 [] false 127.0.0.1:42635 map[] map[] map[] 127.0.0.1:43924 /api/devices/v1/authentication/auth_requests 0xc0004dbac0}" time="2023-07-27T20:07:21Z" 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:[Thu, 27 Jul 2023 20:07:21 GMT]] 0xc00000f120 3 [] false false map[] 0xc00034a300 }" time="2023-07-27T20:07:21Z" level=debug msg="Receive response data" time="2023-07-27T20:07:21Z" level=debug msg="Received response data: [102 111 111]" time="2023-07-27T20:07:21Z" 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:42635 map[] map[] map[] 127.0.0.1:43924 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc0004dbd40}" time="2023-07-27T20:07:21Z" 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:42635 map[] map[] map[] 127.0.0.1:43924 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc0004dbd40}" time="2023-07-27T20:07:21Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" time="2023-07-27T20:07:21Z" level=debug msg="Received response:401 Unauthorized" time="2023-07-27T20:07:21Z" level=warning msg="Client not authorized to get update schedule." time="2023-07-27T20:07:21Z" level=error msg="Error receiving scheduled update data: (request_id: ): client not authorized server error message: failed to parse server response: EOF" --- PASS: TestReauthorization (4.95s) === RUN TestFailoverServers time="2023-07-27T20:07:21Z" level=debug msg="Private key does not exist" time="2023-07-27T20:07:21Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2023-07-27T20:07:21Z" level=debug msg="Needs keys" time="2023-07-27T20:07:21Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2023-07-27T20:07:22Z" level=debug msg="Tenant token: " time="2023-07-27T20:07:22Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAzd8TRQkvY/jJccaej8p4\nL48AK9Ahxaj0pbuOswSzWhYTusq2ejI0eyODyIDZK+LflEA7Zxs1RAAVp9eDAOO8\n2emc/K30RInPpCSM0oldyYFK1sKSv/hFYCl3w9pxlTYD2/j0GnuKuA9wAQlbmi2J\nH2FFbMCzZP3MS29I2lhzDbFvKqtma9HK/qTBEQ3ICcKPvrFTFuGk/AOW+7x7py20\nUo/KODGSjyR7OauXtb34OUczuFGjXVKyytP6dMUu2y60wVNQ6TcYzTZPQrpbmuEV\nTOTLLejI2kisFqr5cUrc0uL+ZSili38Pr6dOD045wmQy6Qr9qZ2HfaUil6SkTb6J\njuTc/P+RdAHBkQXOabFul5j8ZC0ClCALZQZ1MixXkDqWDxEd5e1rGZA2nkyjTNPG\nEJk5a+1zqfqmbXpDTR89LKvRgpNY9gsnGK76trikzho+fH0NQ6DVfB/zqhrq4wud\neXl6xHJAxJtG/6aKf0YELDz2K0/I67tuLGaNKKlo+EptAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2023-07-27T20:07:22Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:34403" time="2023-07-27T20:07:22Z" 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:[iOIZPnhkgTlGYfqPKXxOTnj4KBep/QbQ8BhqgrJl+LasDdXhSOGdzezQd661zJGoCZ9AMV+jNsdTNyGoiWzZ840ubYgcA4qMkitnc964KlMuy0BP2Z4oLxiUC/pr01ZgojKQ/yoVzovtYZ3kmj8FRw9Ins87XUzMyQ3Xdt/JlrvT4dH5PgzcnCr4+x75m7aQ+74i8KExtpsyyQYj8zs61tV7agV28/O1C1WZanp9Har2RTe9OmR5ASdtjoLIOtTWqfmnd/LH4NBfuZxv62+dtu5Mn/dQO0ISZrKWxwJA2B6qHN1bludxLBiaEPN4h3AJXmNmC/atFWprocABVMkeHmNbeU75QcqIsQE5wfbuvj43g+c8v3MjrHVxsFQbOWhf82Xk3WXjgR/FR5cQs3v+ZVmhhb5lmq/doe5tS0/AJ9h4I0KWF0KZDTW66K0UCvELIWtSQLg3ffNZRM+0KJq6yblVs2zsMHPOYXKTxIgfBRXeGr+yAkrFG+Huk2TDOxVa]] 0xc00046a080 701 [] false 127.0.0.1:34403 map[] map[] map[] 127.0.0.1:36552 /api/devices/v1/authentication/auth_requests 0xc00046a0c0}" time="2023-07-27T20:07:22Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Thu, 27 Jul 2023 20:07:22 GMT]] 0xc0004a2bc0 0 [] false false map[] 0xc00034ad00 }" time="2023-07-27T20:07:22Z" level=warning msg="Failed to authorize \"http://127.0.0.1:34403\"; attempting \"http://127.0.0.1:40955\"." time="2023-07-27T20:07:22Z" level=debug msg="Tenant token: " time="2023-07-27T20:07:22Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAzd8TRQkvY/jJccaej8p4\nL48AK9Ahxaj0pbuOswSzWhYTusq2ejI0eyODyIDZK+LflEA7Zxs1RAAVp9eDAOO8\n2emc/K30RInPpCSM0oldyYFK1sKSv/hFYCl3w9pxlTYD2/j0GnuKuA9wAQlbmi2J\nH2FFbMCzZP3MS29I2lhzDbFvKqtma9HK/qTBEQ3ICcKPvrFTFuGk/AOW+7x7py20\nUo/KODGSjyR7OauXtb34OUczuFGjXVKyytP6dMUu2y60wVNQ6TcYzTZPQrpbmuEV\nTOTLLejI2kisFqr5cUrc0uL+ZSili38Pr6dOD045wmQy6Qr9qZ2HfaUil6SkTb6J\njuTc/P+RdAHBkQXOabFul5j8ZC0ClCALZQZ1MixXkDqWDxEd5e1rGZA2nkyjTNPG\nEJk5a+1zqfqmbXpDTR89LKvRgpNY9gsnGK76trikzho+fH0NQ6DVfB/zqhrq4wud\neXl6xHJAxJtG/6aKf0YELDz2K0/I67tuLGaNKKlo+EptAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2023-07-27T20:07:22Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:40955" time="2023-07-27T20:07:22Z" 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:[iOIZPnhkgTlGYfqPKXxOTnj4KBep/QbQ8BhqgrJl+LasDdXhSOGdzezQd661zJGoCZ9AMV+jNsdTNyGoiWzZ840ubYgcA4qMkitnc964KlMuy0BP2Z4oLxiUC/pr01ZgojKQ/yoVzovtYZ3kmj8FRw9Ins87XUzMyQ3Xdt/JlrvT4dH5PgzcnCr4+x75m7aQ+74i8KExtpsyyQYj8zs61tV7agV28/O1C1WZanp9Har2RTe9OmR5ASdtjoLIOtTWqfmnd/LH4NBfuZxv62+dtu5Mn/dQO0ISZrKWxwJA2B6qHN1bludxLBiaEPN4h3AJXmNmC/atFWprocABVMkeHmNbeU75QcqIsQE5wfbuvj43g+c8v3MjrHVxsFQbOWhf82Xk3WXjgR/FR5cQs3v+ZVmhhb5lmq/doe5tS0/AJ9h4I0KWF0KZDTW66K0UCvELIWtSQLg3ffNZRM+0KJq6yblVs2zsMHPOYXKTxIgfBRXeGr+yAkrFG+Huk2TDOxVa]] 0xc00046a180 701 [] false 127.0.0.1:40955 map[] map[] map[] 127.0.0.1:54464 /api/devices/v1/authentication/auth_requests 0xc00046a1c0}" time="2023-07-27T20:07:22Z" 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:[Thu, 27 Jul 2023 20:07:22 GMT]] 0xc00018a440 3 [] false false map[] 0xc000212400 }" time="2023-07-27T20:07:22Z" level=debug msg="Receive response data" time="2023-07-27T20:07:22Z" level=debug msg="Received response data: [106 119 116]" time="2023-07-27T20:07:22Z" level=info msg="successfully received new authorization data" time="2023-07-27T20:07:22Z" level=debug msg="Returning artifact name from artifact_info file." time="2023-07-27T20:07:22Z" level=debug msg="Reading data from the device manifest file: artifact_info" time="2023-07-27T20:07:22Z" level=debug msg="artifact_name=mender-image" time="2023-07-27T20:07:22Z" level=debug msg="Current manifest data: mender-image" time="2023-07-27T20:07:22Z" level=debug msg="Reading data from the device manifest file: device_type" time="2023-07-27T20:07:22Z" level=debug msg="device_type=dev" time="2023-07-27T20:07:22Z" level=debug msg="Current manifest data: dev" time="2023-07-27T20:07:22Z" 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]] 0xc00035e3c0 52 [] false 127.0.0.1:34403 map[] map[] map[] 127.0.0.1:36552 /api/devices/v1/deployments/device/deployments/next 0xc00035e400}" time="2023-07-27T20:07:22Z" level=warning msg="Server \"http://127.0.0.1:34403\" failed to serve request \"/api/devices/v1/deployments/device/deployments/next\". Attempting \"http://127.0.0.1:40955\"" time="2023-07-27T20:07:22Z" 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]] 0xc00035e680 52 [] false 127.0.0.1:40955 map[] map[] map[] 127.0.0.1:54474 /api/devices/v1/deployments/device/deployments/next 0xc00035e6c0}" time="2023-07-27T20:07:22Z" level=debug msg="device provides not accepted by the server. Response code: 400" time="2023-07-27T20:07:22Z" 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:34403 map[] map[] map[] 127.0.0.1:36564 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc00035e940}" time="2023-07-27T20:07:22Z" 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:34403 map[] map[] map[] 127.0.0.1:36564 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc00035e940}" time="2023-07-27T20:07:22Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" 2023/07/27 20:07:22 http: panic serving 127.0.0.1:36564: runtime error: invalid memory address or nil pointer dereference goroutine 257 [running]: net/http.(*conn).serve.func1(0xc00038c140) /usr/lib/go-1.15/src/net/http/server.go:1801 +0x147 panic(0x8cb1c0, 0xc3cf20) /usr/lib/go-1.15/src/runtime/panic.go:975 +0x47a github.com/mendersoftware/mender/client/test.(*ClientTestServer).updateReq(0xc0001029c0, 0x9f5100, 0xc0000ff5e0, 0xc00034b800) /build/mender-client-2.4.1/obj-x86_64-linux-gnu/src/github.com/mendersoftware/mender/client/test/server.go:385 +0x37b net/http.HandlerFunc.ServeHTTP(0xc00018d4d0, 0x9f5100, 0xc0000ff5e0, 0xc00034b800) /usr/lib/go-1.15/src/net/http/server.go:2042 +0x44 net/http.(*ServeMux).ServeHTTP(0xc0004dbf00, 0x9f5100, 0xc0000ff5e0, 0xc00034b800) /usr/lib/go-1.15/src/net/http/server.go:2417 +0x1ad net/http.serverHandler.ServeHTTP(0xc0000ff260, 0x9f5100, 0xc0000ff5e0, 0xc00034b800) /usr/lib/go-1.15/src/net/http/server.go:2843 +0xa3 net/http.(*conn).serve(0xc00038c140, 0x9f66c0, 0xc00035e880) /usr/lib/go-1.15/src/net/http/server.go:1925 +0x8ad created by net/http.(*Server).Serve /usr/lib/go-1.15/src/net/http/server.go:2969 +0x36c time="2023-07-27T20:07:22Z" level=warning msg="Server \"http://127.0.0.1:34403\" failed to serve request \"/api/devices/v1/deployments/device/deployments/next\". Attempting \"http://127.0.0.1:40955\"" time="2023-07-27T20:07:22Z" 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:40955 map[] map[] map[] 127.0.0.1:54478 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc0001a0d80}" time="2023-07-27T20:07:22Z" 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:40955 map[] map[] map[] 127.0.0.1:54478 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc0001a0d80}" time="2023-07-27T20:07:22Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" time="2023-07-27T20:07:22Z" level=debug msg="Received response:200 OK" time="2023-07-27T20:07:22Z" level=debug msg="Have update available" time="2023-07-27T20:07:22Z" level=info msg="Correct request for getting image from: http://127.0.0.1:40955/download [name: foo; devices: [vexpress]]" time="2023-07-27T20:07:22Z" level=debug msg="Received update response: {{{http://127.0.0.1:40955/download } [vexpress] [] foo map[]} foo [] 0 false}" --- PASS: TestFailoverServers (1.33s) === 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="2023-07-27T20:07:22Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2023-07-27T20:07:22Z" level=debug msg="Starting device update." time="2023-07-27T20:07:22Z" level=info msg="Start updating from local image file: []" time="2023-07-27T20:07:22Z" 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="2023-07-27T20:07:22Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2023-07-27T20:07:22Z" level=debug msg="Starting device update." time="2023-07-27T20:07:22Z" level=info msg="Performing remote update from: [https://update]." time="2023-07-27T20:07:23Z" 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="2023-07-27T20:07:23Z" 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="2023-07-27T20:07:23Z" level=debug msg="Client initialized. Start downloading image." time="2023-07-27T20:07:23Z" level=error msg="Can not fetch update image: Get \"https://update\": dial tcp: lookup update on [::1]:53: read udp [::1]:36175->[::1]:53: read: connection refused" time="2023-07-27T20:07:23Z" level=debug msg="Image downloaded: -1 [] [update fetch request failed: Get \"https://update\": dial tcp: lookup update on [::1]:53: read udp [::1]:36175->[::1]:53: read: connection refused]" --- PASS: Test_doManualUpdate_invalidHttpsClientConfig_updateFails (0.32s) === RUN Test_doManualUpdate_nonExistingFile_fail time="2023-07-27T20:07:23Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2023-07-27T20:07:23Z" level=debug msg="Starting device update." time="2023-07-27T20:07:23Z" level=info msg="Start updating from local image file: [non-existing]" time="2023-07-27T20:07:23Z" 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="2023-07-27T20:07:23Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2023-07-27T20:07:23Z" level=debug msg="Starting device update." time="2023-07-27T20:07:23Z" level=info msg="Performing remote update from: [http://non-existing]." time="2023-07-27T20:07:23Z" level=debug msg="Client initialized. Start downloading image." time="2023-07-27T20:07:23Z" level=error msg="Can not fetch update image: Get \"http://non-existing\": dial tcp: lookup non-existing on [::1]:53: read udp [::1]:45597->[::1]:53: read: connection refused" time="2023-07-27T20:07:23Z" 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]:45597->[::1]:53: read: connection refused]" --- PASS: Test_doManualUpdate_networkUpdateNoClient_fail (0.00s) === RUN Test_doManualUpdate_networkClientExistsNoServer_fail time="2023-07-27T20:07:23Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2023-07-27T20:07:23Z" level=debug msg="Starting device update." time="2023-07-27T20:07:23Z" level=info msg="Performing remote update from: [http://non-existing]." time="2023-07-27T20:07:23Z" 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="2023-07-27T20:07:23Z" 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="2023-07-27T20:07:23Z" level=debug msg="Client initialized. Start downloading image." time="2023-07-27T20:07:23Z" level=error msg="Can not fetch update image: Get \"http://non-existing\": dial tcp: lookup non-existing on [::1]:53: read udp [::1]:49589->[::1]:53: read: connection refused" time="2023-07-27T20:07:23Z" 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]:49589->[::1]:53: read: connection refused]" --- PASS: Test_doManualUpdate_networkClientExistsNoServer_fail (0.31s) === RUN Test_doManualUpdate_existingFile_updateSuccess time="2023-07-27T20:07:23Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2023-07-27T20:07:23Z" level=debug msg="Starting device update." time="2023-07-27T20:07:23Z" level=info msg="Start updating from local image file: [/tmp/update817652094]" time="2023-07-27T20:07:23Z" level=debug msg="Fetching update from file results: [&{0xc00033c000}], 5120, " Installing Artifact of size 5120... time="2023-07-27T20:07:23Z" level=debug msg="Reading data from the device manifest file: /tmp/236662967" time="2023-07-27T20:07:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:23Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:23Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" time="2023-07-27T20:07:23Z" level=debug msg="Checking if device [] is on compatible device list: [vexpress-qemu]\n" time="2023-07-27T20:07:23Z" level=error msg="Unknown device_type. Continuing with update" time="2023-07-27T20:07:23Z" level=debug msg="Installer: Successfully read artifact [name: mender-1.1; version: 2; compatible devices: [vexpress-qemu]]" . 100% 5 KiB time="2023-07-27T20:07:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:23Z" 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.09s) === RUN TestDoManualUpdateArtifactV3Dependencies time="2023-07-27T20:07:23Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2023-07-27T20:07:23Z" level=debug msg="Starting device update." time="2023-07-27T20:07:23Z" level=info msg="Start updating from local image file: [/tmp/update011910371]" time="2023-07-27T20:07:23Z" level=debug msg="Fetching update from file results: [&{0xc00033c6c0}], 5120, " Installing Artifact of size 5120... time="2023-07-27T20:07:23Z" level=debug msg="Reading data from the device manifest file: /tmp/534020448" time="2023-07-27T20:07:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:23Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:23Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" time="2023-07-27T20:07:23Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" time="2023-07-27T20:07:23Z" level=error msg="Unknown device_type. Continuing with update" time="2023-07-27T20:07:23Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" time="2023-07-27T20:07:23Z" level=error msg="Artifact dependency \"artifact_name\" not satisfied by currently installed artifact ([OldArtifact] != )." time="2023-07-27T20:07:23Z" level=debug msg="Starting device update." time="2023-07-27T20:07:23Z" level=info msg="Start updating from local image file: [/tmp/update011910371]" time="2023-07-27T20:07:23Z" level=debug msg="Fetching update from file results: [&{0xc0004ec4e0}], 5120, " Installing Artifact of size 5120... time="2023-07-27T20:07:23Z" level=debug msg="Reading data from the device manifest file: /tmp/534020448" time="2023-07-27T20:07:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:23Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:23Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" time="2023-07-27T20:07:23Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" time="2023-07-27T20:07:23Z" level=error msg="Unknown device_type. Continuing with update" time="2023-07-27T20:07:23Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" time="2023-07-27T20:07:23Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([testGroup] != )." time="2023-07-27T20:07:23Z" level=debug msg="Starting device update." time="2023-07-27T20:07:23Z" level=info msg="Start updating from local image file: [/tmp/update011910371]" time="2023-07-27T20:07:23Z" level=debug msg="Fetching update from file results: [&{0xc0004ecb40}], 5120, " Installing Artifact of size 5120... time="2023-07-27T20:07:23Z" level=debug msg="Reading data from the device manifest file: /tmp/534020448" time="2023-07-27T20:07:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:23Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:23Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" time="2023-07-27T20:07:23Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" time="2023-07-27T20:07:23Z" level=error msg="Unknown device_type. Continuing with update" time="2023-07-27T20:07:23Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" time="2023-07-27T20:07:23Z" level=error msg="Artifact dependency \"testKey\" not satisfied by currently installed artifact (testValue != )." time="2023-07-27T20:07:23Z" level=debug msg="Starting device update." time="2023-07-27T20:07:23Z" level=info msg="Start updating from local image file: [/tmp/update011910371]" time="2023-07-27T20:07:23Z" level=debug msg="Fetching update from file results: [&{0xc0004ed020}], 5120, " Installing Artifact of size 5120... time="2023-07-27T20:07:23Z" level=debug msg="Reading data from the device manifest file: /tmp/534020448" time="2023-07-27T20:07:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:23Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:23Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" time="2023-07-27T20:07:23Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" time="2023-07-27T20:07:23Z" level=error msg="Unknown device_type. Continuing with update" time="2023-07-27T20:07:23Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" . 100% 5 KiB time="2023-07-27T20:07:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:23Z" 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.09s) === RUN TestStandaloneModuleInstall === RUN TestStandaloneModuleInstall/Normal_install,_no_rollback time="2023-07-27T20:07:23Z" level=debug msg="Starting device update." time="2023-07-27T20:07:23Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall827723021/artifact.mender]" time="2023-07-27T20:07:23Z" level=debug msg="Fetching update from file results: [&{0xc0003061e0}], 5632, " Installing Artifact of size 5632... time="2023-07-27T20:07:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall827723021/device_type" time="2023-07-27T20:07:23Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:23Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:23Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07:23Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:23Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:23Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:23Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall827723021/artifact_info file." time="2023-07-27T20:07:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall827723021/artifact_info" time="2023-07-27T20:07:23Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:23Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall827723021/artifact_info" time="2023-07-27T20:07:23Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall827723021/device_type" time="2023-07-27T20:07:23Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:23Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:23Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:23Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:23Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall827723021/modules/test-type Download /tmp/TestStandaloneModuleInstall827723021/work/payloads/0000/tree" time="2023-07-27T20:07:23Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2023-07-27T20:07:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:23Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07:23Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:23Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall827723021/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall827723021/work/payloads/0000/tree" time="2023-07-27T20:07:23Z" level=debug msg="Update module output: No" time="2023-07-27T20:07:23Z" level=debug msg="Module does not support rollback" time="2023-07-27T20:07:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:23Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:23Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:23Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall827723021/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall827723021/work/payloads/0000/tree" time="2023-07-27T20:07:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:23Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:23Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:07:23Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall827723021/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall827723021/work/payloads/0000/tree" time="2023-07-27T20:07:23Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:23Z" level=debug msg="Module needs custom reboot" Artifact doesn't support rollback. Committing immediately. Committing Artifact... time="2023-07-27T20:07:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:23Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:23Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2023-07-27T20:07:23Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall827723021/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall827723021/work/payloads/0000/tree" time="2023-07-27T20:07:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:24Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall827723021/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall827723021/work/payloads/0000/tree" At least one payload requested a reboot of the device it updated. time="2023-07-27T20:07:24Z" level=debug msg="Returning artifact name artifact-name from database." === RUN TestStandaloneModuleInstall/Normal_install time="2023-07-27T20:07:24Z" level=debug msg="Starting device update." time="2023-07-27T20:07:24Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall625296762/artifact.mender]" time="2023-07-27T20:07:24Z" level=debug msg="Fetching update from file results: [&{0xc000228120}], 5632, " Installing Artifact of size 5632... time="2023-07-27T20:07:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall625296762/device_type" time="2023-07-27T20:07:24Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:24Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:24Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07:24Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:24Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:24Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall625296762/artifact_info file." time="2023-07-27T20:07:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall625296762/artifact_info" time="2023-07-27T20:07:24Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:24Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall625296762/artifact_info" time="2023-07-27T20:07:24Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall625296762/device_type" time="2023-07-27T20:07:24Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:24Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall625296762/modules/test-type Download /tmp/TestStandaloneModuleInstall625296762/work/payloads/0000/tree" time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2023-07-27T20:07:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:24Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall625296762/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall625296762/work/payloads/0000/tree" time="2023-07-27T20:07:24Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:24Z" level=debug msg="Module supports rollback" time="2023-07-27T20:07:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:24Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall625296762/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall625296762/work/payloads/0000/tree" time="2023-07-27T20:07:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:24Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall625296762/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall625296762/work/payloads/0000/tree" time="2023-07-27T20:07:24Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:24Z" 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="2023-07-27T20:07:24Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall625296762/artifact_info file." time="2023-07-27T20:07:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall625296762/artifact_info" time="2023-07-27T20:07:24Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:24Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Normal_commit time="2023-07-27T20:07:24Z" level=debug msg="Starting device update." time="2023-07-27T20:07:24Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall922162923/artifact.mender]" time="2023-07-27T20:07:24Z" level=debug msg="Fetching update from file results: [&{0xc00033c240}], 5632, " Installing Artifact of size 5632... time="2023-07-27T20:07:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall922162923/device_type" time="2023-07-27T20:07:24Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:24Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:24Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07:24Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:24Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:24Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall922162923/artifact_info file." time="2023-07-27T20:07:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall922162923/artifact_info" time="2023-07-27T20:07:24Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:24Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall922162923/artifact_info" time="2023-07-27T20:07:24Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall922162923/device_type" time="2023-07-27T20:07:24Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:24Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall922162923/modules/test-type Download /tmp/TestStandaloneModuleInstall922162923/work/payloads/0000/tree" time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2023-07-27T20:07:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:24Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall922162923/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall922162923/work/payloads/0000/tree" time="2023-07-27T20:07:24Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:24Z" level=debug msg="Module supports rollback" time="2023-07-27T20:07:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:24Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall922162923/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall922162923/work/payloads/0000/tree" time="2023-07-27T20:07:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:24Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall922162923/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall922162923/work/payloads/0000/tree" time="2023-07-27T20:07:24Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:24Z" 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="2023-07-27T20:07:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:24Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall922162923/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall922162923/work/payloads/0000/tree" time="2023-07-27T20:07:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:24Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall922162923/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall922162923/work/payloads/0000/tree" time="2023-07-27T20:07:24Z" level=debug msg="Returning artifact name artifact-name from database." === RUN TestStandaloneModuleInstall/Normal_rollback time="2023-07-27T20:07:24Z" level=debug msg="Starting device update." time="2023-07-27T20:07:24Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall219538864/artifact.mender]" time="2023-07-27T20:07:24Z" level=debug msg="Fetching update from file results: [&{0xc0004ec2a0}], 5632, " Installing Artifact of size 5632... time="2023-07-27T20:07:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall219538864/device_type" time="2023-07-27T20:07:24Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:24Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:24Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07:24Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:24Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:24Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall219538864/artifact_info file." time="2023-07-27T20:07:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall219538864/artifact_info" time="2023-07-27T20:07:24Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:24Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall219538864/artifact_info" time="2023-07-27T20:07:24Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall219538864/device_type" time="2023-07-27T20:07:24Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:24Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:24Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall219538864/modules/test-type Download /tmp/TestStandaloneModuleInstall219538864/work/payloads/0000/tree" time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2023-07-27T20:07:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:24Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall219538864/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall219538864/work/payloads/0000/tree" time="2023-07-27T20:07:24Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:24Z" level=debug msg="Module supports rollback" time="2023-07-27T20:07:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:24Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall219538864/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall219538864/work/payloads/0000/tree" time="2023-07-27T20:07:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:24Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall219538864/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall219538864/work/payloads/0000/tree" time="2023-07-27T20:07:24Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:24Z" 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="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall219538864/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall219538864/work/payloads/0000/tree" time="2023-07-27T20:07:24Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:24Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2023-07-27T20:07:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:24Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall219538864/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall219538864/work/payloads/0000/tree" time="2023-07-27T20:07:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:24Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:24Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:24Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall219538864/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall219538864/work/payloads/0000/tree" time="2023-07-27T20:07:24Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall219538864/artifact_info file." time="2023-07-27T20:07:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall219538864/artifact_info" time="2023-07-27T20:07:24Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:24Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_Download_Enter_00 time="2023-07-27T20:07:25Z" level=debug msg="Starting device update." time="2023-07-27T20:07:25Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall973603929/artifact.mender]" time="2023-07-27T20:07:25Z" level=debug msg="Fetching update from file results: [&{0xc0003906c0}], 5632, " Installing Artifact of size 5632... time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall973603929/device_type" time="2023-07-27T20:07:25Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:25Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:25Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07:25Z" level=error msg="Download_Enter script failed: statescript: error executing 'Download_Enter_00': 1 : exit status 1" time="2023-07-27T20:07:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:25Z" level=debug msg="Executing script: Download_Error_00" time="2023-07-27T20:07:25Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall973603929/artifact_info file." time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall973603929/artifact_info" time="2023-07-27T20:07:25Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:25Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_Download time="2023-07-27T20:07:25Z" level=debug msg="Starting device update." time="2023-07-27T20:07:25Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall409256118/artifact.mender]" time="2023-07-27T20:07:25Z" level=debug msg="Fetching update from file results: [&{0xc00041c180}], 5632, " Installing Artifact of size 5632... time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall409256118/device_type" time="2023-07-27T20:07:25Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:25Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:25Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07:25Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:25Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:25Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall409256118/artifact_info file." time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall409256118/artifact_info" time="2023-07-27T20:07:25Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:25Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall409256118/artifact_info" time="2023-07-27T20:07:25Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall409256118/device_type" time="2023-07-27T20:07:25Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:25Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:25Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall409256118/modules/test-type Download /tmp/TestStandaloneModuleInstall409256118/work/payloads/0000/tree" time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:07:25Z" level=error msg="Download failed: Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:25Z" level=debug msg="Executing script: Download_Error_00" time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:25Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall409256118/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall409256118/work/payloads/0000/tree" time="2023-07-27T20:07:25Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall409256118/artifact_info file." time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall409256118/artifact_info" time="2023-07-27T20:07:25Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:25Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_Download_Leave_00 time="2023-07-27T20:07:25Z" level=debug msg="Starting device update." time="2023-07-27T20:07:25Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall832846551/artifact.mender]" time="2023-07-27T20:07:25Z" level=debug msg="Fetching update from file results: [&{0xc000306360}], 5632, " Installing Artifact of size 5632... time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall832846551/device_type" time="2023-07-27T20:07:25Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:25Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:25Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07:25Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:25Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:25Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall832846551/artifact_info file." time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall832846551/artifact_info" time="2023-07-27T20:07:25Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:25Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall832846551/artifact_info" time="2023-07-27T20:07:25Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall832846551/device_type" time="2023-07-27T20:07:25Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:25Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:25Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall832846551/modules/test-type Download /tmp/TestStandaloneModuleInstall832846551/work/payloads/0000/tree" time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2023-07-27T20:07:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:25Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07:25Z" level=error msg="Download_Leave script failed: statescript: error executing 'Download_Leave_00': 1 : exit status 1" time="2023-07-27T20:07:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:25Z" level=debug msg="Executing script: Download_Error_00" time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:25Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall832846551/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall832846551/work/payloads/0000/tree" time="2023-07-27T20:07:25Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall832846551/artifact_info file." time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall832846551/artifact_info" time="2023-07-27T20:07:25Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:25Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Enter_00 time="2023-07-27T20:07:25Z" level=debug msg="Starting device update." time="2023-07-27T20:07:25Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall398470156/artifact.mender]" time="2023-07-27T20:07:25Z" level=debug msg="Fetching update from file results: [&{0xc000306240}], 5632, " Installing Artifact of size 5632... time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall398470156/device_type" time="2023-07-27T20:07:25Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:25Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:25Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07:25Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:25Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:25Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall398470156/artifact_info file." time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall398470156/artifact_info" time="2023-07-27T20:07:25Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:25Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall398470156/artifact_info" time="2023-07-27T20:07:25Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall398470156/device_type" time="2023-07-27T20:07:25Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:25Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:25Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall398470156/modules/test-type Download /tmp/TestStandaloneModuleInstall398470156/work/payloads/0000/tree" time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2023-07-27T20:07:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:25Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:25Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall398470156/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall398470156/work/payloads/0000/tree" time="2023-07-27T20:07:25Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:25Z" level=debug msg="Module supports rollback" time="2023-07-27T20:07:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:25Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:25Z" level=error msg="ArtifactInstall_Enter script failed: statescript: error executing 'ArtifactInstall_Enter_00': 1 : exit status 1" time="2023-07-27T20:07:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:25Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:25Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall398470156/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall398470156/work/payloads/0000/tree" time="2023-07-27T20:07:25Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:25Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2023-07-27T20:07:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:25Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:07:25Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall398470156/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall398470156/work/payloads/0000/tree" time="2023-07-27T20:07:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:25Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:25Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:07:25Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall398470156/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall398470156/work/payloads/0000/tree" time="2023-07-27T20:07:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:25Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:25Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall398470156/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall398470156/work/payloads/0000/tree" time="2023-07-27T20:07:25Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall398470156/artifact_info file." time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall398470156/artifact_info" time="2023-07-27T20:07:25Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:25Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactInstall time="2023-07-27T20:07:25Z" level=debug msg="Starting device update." time="2023-07-27T20:07:25Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall546087397/artifact.mender]" time="2023-07-27T20:07:25Z" level=debug msg="Fetching update from file results: [&{0xc000100e40}], 5632, " Installing Artifact of size 5632... time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall546087397/device_type" time="2023-07-27T20:07:25Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:25Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:25Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07:25Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:25Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:25Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall546087397/artifact_info file." time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall546087397/artifact_info" time="2023-07-27T20:07:25Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:25Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall546087397/artifact_info" time="2023-07-27T20:07:25Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall546087397/device_type" time="2023-07-27T20:07:25Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:25Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:25Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:25Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall546087397/modules/test-type Download /tmp/TestStandaloneModuleInstall546087397/work/payloads/0000/tree" time="2023-07-27T20:07:25Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2023-07-27T20:07:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:25Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07:26Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:26Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall546087397/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall546087397/work/payloads/0000/tree" time="2023-07-27T20:07:26Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:26Z" level=debug msg="Module supports rollback" time="2023-07-27T20:07:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:26Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:26Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:26Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall546087397/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall546087397/work/payloads/0000/tree" time="2023-07-27T20:07:26Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:26Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:26Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:26Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:26Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall546087397/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall546087397/work/payloads/0000/tree" time="2023-07-27T20:07:26Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:26Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2023-07-27T20:07:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:26Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:26Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:07:26Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall546087397/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall546087397/work/payloads/0000/tree" time="2023-07-27T20:07:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:26Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:26Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:26Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:07:26Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall546087397/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall546087397/work/payloads/0000/tree" time="2023-07-27T20:07:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:26Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:26Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:26Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall546087397/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall546087397/work/payloads/0000/tree" time="2023-07-27T20:07:26Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall546087397/artifact_info file." time="2023-07-27T20:07:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall546087397/artifact_info" time="2023-07-27T20:07:26Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:26Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Leave_00 time="2023-07-27T20:07:26Z" level=debug msg="Starting device update." time="2023-07-27T20:07:26Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall772322098/artifact.mender]" time="2023-07-27T20:07:26Z" level=debug msg="Fetching update from file results: [&{0xc0004ec5a0}], 5632, " Installing Artifact of size 5632... time="2023-07-27T20:07:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall772322098/device_type" time="2023-07-27T20:07:26Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:26Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:26Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07:26Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:26Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:26Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:26Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall772322098/artifact_info file." time="2023-07-27T20:07:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall772322098/artifact_info" time="2023-07-27T20:07:26Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:26Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall772322098/artifact_info" time="2023-07-27T20:07:26Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall772322098/device_type" time="2023-07-27T20:07:26Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:26Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall772322098/modules/test-type Download /tmp/TestStandaloneModuleInstall772322098/work/payloads/0000/tree" time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:27Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall772322098/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall772322098/work/payloads/0000/tree" time="2023-07-27T20:07:27Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:27Z" level=debug msg="Module supports rollback" time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:27Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall772322098/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall772322098/work/payloads/0000/tree" time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:27Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:27Z" level=error msg="ArtifactInstall_Leave script failed: statescript: error executing 'ArtifactInstall_Leave_00': 1 : exit status 1" time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:27Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall772322098/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall772322098/work/payloads/0000/tree" time="2023-07-27T20:07:27Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:27Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:27Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall772322098/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall772322098/work/payloads/0000/tree" time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:27Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:27Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall772322098/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall772322098/work/payloads/0000/tree" time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:27Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall772322098/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall772322098/work/payloads/0000/tree" time="2023-07-27T20:07:27Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall772322098/artifact_info file." time="2023-07-27T20:07:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall772322098/artifact_info" time="2023-07-27T20:07:27Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:27Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00 time="2023-07-27T20:07:27Z" level=debug msg="Starting device update." time="2023-07-27T20:07:27Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall910556419/artifact.mender]" time="2023-07-27T20:07:27Z" level=debug msg="Fetching update from file results: [&{0xc00054c1e0}], 5632, " Installing Artifact of size 5632... time="2023-07-27T20:07:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall910556419/device_type" time="2023-07-27T20:07:27Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:27Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:27Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07:27Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:27Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:27Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall910556419/artifact_info file." time="2023-07-27T20:07:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall910556419/artifact_info" time="2023-07-27T20:07:27Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:27Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall910556419/artifact_info" time="2023-07-27T20:07:27Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall910556419/device_type" time="2023-07-27T20:07:27Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:27Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall910556419/modules/test-type Download /tmp/TestStandaloneModuleInstall910556419/work/payloads/0000/tree" time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:27Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall910556419/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall910556419/work/payloads/0000/tree" time="2023-07-27T20:07:27Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:27Z" level=debug msg="Module supports rollback" time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:27Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall910556419/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall910556419/work/payloads/0000/tree" time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:27Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall910556419/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall910556419/work/payloads/0000/tree" time="2023-07-27T20:07:27Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:27Z" 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="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:27Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:27Z" level=error msg="ArtifactCommit_Enter script failed: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:27Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall910556419/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall910556419/work/payloads/0000/tree" time="2023-07-27T20:07:27Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:27Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:27Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall910556419/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall910556419/work/payloads/0000/tree" time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:27Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:27Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall910556419/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall910556419/work/payloads/0000/tree" time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:27Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall910556419/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall910556419/work/payloads/0000/tree" time="2023-07-27T20:07:27Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall910556419/artifact_info file." time="2023-07-27T20:07:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall910556419/artifact_info" time="2023-07-27T20:07:27Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:27Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit time="2023-07-27T20:07:27Z" level=debug msg="Starting device update." time="2023-07-27T20:07:27Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall547242920/artifact.mender]" time="2023-07-27T20:07:27Z" level=debug msg="Fetching update from file results: [&{0xc0000fe120}], 5632, " Installing Artifact of size 5632... time="2023-07-27T20:07:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall547242920/device_type" time="2023-07-27T20:07:27Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:27Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:27Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07:27Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:27Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:27Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall547242920/artifact_info file." time="2023-07-27T20:07:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall547242920/artifact_info" time="2023-07-27T20:07:27Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:27Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall547242920/artifact_info" time="2023-07-27T20:07:27Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall547242920/device_type" time="2023-07-27T20:07:27Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:27Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:27Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall547242920/modules/test-type Download /tmp/TestStandaloneModuleInstall547242920/work/payloads/0000/tree" time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:27Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall547242920/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall547242920/work/payloads/0000/tree" time="2023-07-27T20:07:27Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:27Z" level=debug msg="Module supports rollback" time="2023-07-27T20:07:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:27Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:27Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall547242920/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall547242920/work/payloads/0000/tree" time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall547242920/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall547242920/work/payloads/0000/tree" time="2023-07-27T20:07:28Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:28Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. Committing Artifact... time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall547242920/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall547242920/work/payloads/0000/tree" time="2023-07-27T20:07:28Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:28Z" level=error msg="Commit failed: Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall547242920/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall547242920/work/payloads/0000/tree" time="2023-07-27T20:07:28Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:28Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall547242920/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall547242920/work/payloads/0000/tree" time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall547242920/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall547242920/work/payloads/0000/tree" time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall547242920/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall547242920/work/payloads/0000/tree" time="2023-07-27T20:07:28Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall547242920/artifact_info file." time="2023-07-27T20:07:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall547242920/artifact_info" time="2023-07-27T20:07:28Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:28Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00 time="2023-07-27T20:07:28Z" level=debug msg="Starting device update." time="2023-07-27T20:07:28Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall987213745/artifact.mender]" time="2023-07-27T20:07:28Z" level=debug msg="Fetching update from file results: [&{0xc00033c240}], 5632, " Installing Artifact of size 5632... time="2023-07-27T20:07:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall987213745/device_type" time="2023-07-27T20:07:28Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:28Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:28Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07:28Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:28Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:28Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall987213745/artifact_info file." time="2023-07-27T20:07:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall987213745/artifact_info" time="2023-07-27T20:07:28Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:28Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall987213745/artifact_info" time="2023-07-27T20:07:28Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall987213745/device_type" time="2023-07-27T20:07:28Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:28Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall987213745/modules/test-type Download /tmp/TestStandaloneModuleInstall987213745/work/payloads/0000/tree" time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:28Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall987213745/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall987213745/work/payloads/0000/tree" time="2023-07-27T20:07:28Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:28Z" level=debug msg="Module supports rollback" time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall987213745/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall987213745/work/payloads/0000/tree" time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall987213745/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall987213745/work/payloads/0000/tree" time="2023-07-27T20:07:28Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:28Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. Committing Artifact... time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall987213745/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall987213745/work/payloads/0000/tree" time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:28Z" level=error msg="ArtifactCommit_Leave script failed: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall987213745/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall987213745/work/payloads/0000/tree" time="2023-07-27T20:07:28Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00,_no_rollback time="2023-07-27T20:07:28Z" level=debug msg="Starting device update." time="2023-07-27T20:07:28Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall987191022/artifact.mender]" time="2023-07-27T20:07:28Z" level=debug msg="Fetching update from file results: [&{0xc00054c420}], 5632, " Installing Artifact of size 5632... time="2023-07-27T20:07:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall987191022/device_type" time="2023-07-27T20:07:28Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:28Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:28Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07:28Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:28Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:28Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall987191022/artifact_info file." time="2023-07-27T20:07:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall987191022/artifact_info" time="2023-07-27T20:07:28Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:28Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall987191022/artifact_info" time="2023-07-27T20:07:28Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall987191022/device_type" time="2023-07-27T20:07:28Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:28Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall987191022/modules/test-type Download /tmp/TestStandaloneModuleInstall987191022/work/payloads/0000/tree" time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:28Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall987191022/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall987191022/work/payloads/0000/tree" time="2023-07-27T20:07:28Z" level=debug msg="Update module output: No" time="2023-07-27T20:07:28Z" level=debug msg="Module does not support rollback" time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall987191022/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall987191022/work/payloads/0000/tree" time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall987191022/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall987191022/work/payloads/0000/tree" time="2023-07-27T20:07:28Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:28Z" level=debug msg="Module needs custom reboot" Artifact doesn't support rollback. Committing immediately. Committing Artifact... time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:28Z" level=error msg="ArtifactCommit_Enter script failed: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall987191022/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall987191022/work/payloads/0000/tree" time="2023-07-27T20:07:28Z" level=debug msg="Update module output: No" time="2023-07-27T20:07:28Z" level=debug msg="Module does not support rollback" time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall987191022/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall987191022/work/payloads/0000/tree" time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:28Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall987191022/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall987191022/work/payloads/0000/tree" time="2023-07-27T20:07:28Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit,_no_rollback time="2023-07-27T20:07:28Z" level=debug msg="Starting device update." time="2023-07-27T20:07:28Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall216885615/artifact.mender]" time="2023-07-27T20:07:28Z" level=debug msg="Fetching update from file results: [&{0xc000306240}], 5632, " Installing Artifact of size 5632... time="2023-07-27T20:07:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall216885615/device_type" time="2023-07-27T20:07:28Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:28Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:28Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07:28Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:28Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:28Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:28Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall216885615/artifact_info file." time="2023-07-27T20:07:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall216885615/artifact_info" time="2023-07-27T20:07:28Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:28Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall216885615/artifact_info" time="2023-07-27T20:07:28Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall216885615/device_type" time="2023-07-27T20:07:28Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:28Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall216885615/modules/test-type Download /tmp/TestStandaloneModuleInstall216885615/work/payloads/0000/tree" time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:29Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall216885615/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall216885615/work/payloads/0000/tree" time="2023-07-27T20:07:29Z" level=debug msg="Update module output: No" time="2023-07-27T20:07:29Z" level=debug msg="Module does not support rollback" time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:29Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall216885615/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall216885615/work/payloads/0000/tree" time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:29Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall216885615/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall216885615/work/payloads/0000/tree" time="2023-07-27T20:07:29Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:29Z" level=debug msg="Module needs custom reboot" Artifact doesn't support rollback. Committing immediately. Committing Artifact... time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:29Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall216885615/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall216885615/work/payloads/0000/tree" time="2023-07-27T20:07:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:29Z" level=error msg="Commit failed: Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:29Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall216885615/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall216885615/work/payloads/0000/tree" time="2023-07-27T20:07:29Z" level=debug msg="Update module output: No" time="2023-07-27T20:07:29Z" level=debug msg="Module does not support rollback" time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:29Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall216885615/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall216885615/work/payloads/0000/tree" time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:29Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall216885615/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall216885615/work/payloads/0000/tree" time="2023-07-27T20:07:29Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00,_no_rollback time="2023-07-27T20:07:29Z" level=debug msg="Starting device update." time="2023-07-27T20:07:29Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall954111108/artifact.mender]" time="2023-07-27T20:07:29Z" level=debug msg="Fetching update from file results: [&{0xc0001b4300}], 5632, " Installing Artifact of size 5632... time="2023-07-27T20:07:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall954111108/device_type" time="2023-07-27T20:07:29Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:29Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:29Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07:29Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:29Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:29Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall954111108/artifact_info file." time="2023-07-27T20:07:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall954111108/artifact_info" time="2023-07-27T20:07:29Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:29Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall954111108/artifact_info" time="2023-07-27T20:07:29Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall954111108/device_type" time="2023-07-27T20:07:29Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:29Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall954111108/modules/test-type Download /tmp/TestStandaloneModuleInstall954111108/work/payloads/0000/tree" time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:29Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall954111108/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall954111108/work/payloads/0000/tree" time="2023-07-27T20:07:29Z" level=debug msg="Update module output: No" time="2023-07-27T20:07:29Z" level=debug msg="Module does not support rollback" time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:29Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall954111108/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall954111108/work/payloads/0000/tree" time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:29Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall954111108/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall954111108/work/payloads/0000/tree" time="2023-07-27T20:07:29Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:29Z" level=debug msg="Module needs custom reboot" Artifact doesn't support rollback. Committing immediately. Committing Artifact... time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:29Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall954111108/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall954111108/work/payloads/0000/tree" time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:29Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:29Z" level=error msg="ArtifactCommit_Leave script failed: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:29Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall954111108/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall954111108/work/payloads/0000/tree" time="2023-07-27T20:07:29Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Enter_00 time="2023-07-27T20:07:29Z" level=debug msg="Starting device update." time="2023-07-27T20:07:29Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall935151037/artifact.mender]" time="2023-07-27T20:07:29Z" level=debug msg="Fetching update from file results: [&{0xc000100e40}], 5632, " Installing Artifact of size 5632... time="2023-07-27T20:07:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall935151037/device_type" time="2023-07-27T20:07:29Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:29Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:29Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07:29Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:29Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:29Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall935151037/artifact_info file." time="2023-07-27T20:07:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall935151037/artifact_info" time="2023-07-27T20:07:29Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:29Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall935151037/artifact_info" time="2023-07-27T20:07:29Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall935151037/device_type" time="2023-07-27T20:07:29Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:29Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:29Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall935151037/modules/test-type Download /tmp/TestStandaloneModuleInstall935151037/work/payloads/0000/tree" time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:29Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall935151037/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall935151037/work/payloads/0000/tree" time="2023-07-27T20:07:29Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:29Z" level=debug msg="Module supports rollback" time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:29Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall935151037/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall935151037/work/payloads/0000/tree" time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:29Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall935151037/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall935151037/work/payloads/0000/tree" time="2023-07-27T20:07:29Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:29Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. time="2023-07-27T20:07:29Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall935151037/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall935151037/work/payloads/0000/tree" time="2023-07-27T20:07:29Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:29Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2023-07-27T20:07:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:29Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:30Z" level=error msg="Error when executing ArtifactRollback_Enter scripts: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall935151037/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall935151037/work/payloads/0000/tree" time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:30Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:30Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:30Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall935151037/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall935151037/work/payloads/0000/tree" time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:30Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall935151037/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall935151037/work/payloads/0000/tree" time="2023-07-27T20:07:30Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactRollback time="2023-07-27T20:07:30Z" level=debug msg="Starting device update." time="2023-07-27T20:07:30Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall180654570/artifact.mender]" time="2023-07-27T20:07:30Z" level=debug msg="Fetching update from file results: [&{0xc00044f5c0}], 5632, " Installing Artifact of size 5632... time="2023-07-27T20:07:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall180654570/device_type" time="2023-07-27T20:07:30Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:30Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:30Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07:30Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:30Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:30Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall180654570/artifact_info file." time="2023-07-27T20:07:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall180654570/artifact_info" time="2023-07-27T20:07:30Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:30Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall180654570/artifact_info" time="2023-07-27T20:07:30Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall180654570/device_type" time="2023-07-27T20:07:30Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:30Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall180654570/modules/test-type Download /tmp/TestStandaloneModuleInstall180654570/work/payloads/0000/tree" time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:30Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall180654570/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall180654570/work/payloads/0000/tree" time="2023-07-27T20:07:30Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:30Z" level=debug msg="Module supports rollback" time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:30Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall180654570/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall180654570/work/payloads/0000/tree" time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:30Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall180654570/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall180654570/work/payloads/0000/tree" time="2023-07-27T20:07:30Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:30Z" 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="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall180654570/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall180654570/work/payloads/0000/tree" time="2023-07-27T20:07:30Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:30Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:30Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall180654570/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall180654570/work/payloads/0000/tree" time="2023-07-27T20:07:30Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:30Z" level=error msg="Error when executing ArtifactRollback state: Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:30Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:30Z" level=error msg="Error rolling back: Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:30Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall180654570/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall180654570/work/payloads/0000/tree" time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:30Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall180654570/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall180654570/work/payloads/0000/tree" time="2023-07-27T20:07:30Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Leave_00 time="2023-07-27T20:07:30Z" level=debug msg="Starting device update." time="2023-07-27T20:07:30Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall519762971/artifact.mender]" time="2023-07-27T20:07:30Z" level=debug msg="Fetching update from file results: [&{0xc000228120}], 5632, " Installing Artifact of size 5632... time="2023-07-27T20:07:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall519762971/device_type" time="2023-07-27T20:07:30Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:30Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:30Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07:30Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:30Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:30Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall519762971/artifact_info file." time="2023-07-27T20:07:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall519762971/artifact_info" time="2023-07-27T20:07:30Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:30Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall519762971/artifact_info" time="2023-07-27T20:07:30Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall519762971/device_type" time="2023-07-27T20:07:30Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:30Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall519762971/modules/test-type Download /tmp/TestStandaloneModuleInstall519762971/work/payloads/0000/tree" time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:30Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall519762971/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall519762971/work/payloads/0000/tree" time="2023-07-27T20:07:30Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:30Z" level=debug msg="Module supports rollback" time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:30Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall519762971/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall519762971/work/payloads/0000/tree" time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:30Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall519762971/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall519762971/work/payloads/0000/tree" time="2023-07-27T20:07:30Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:30Z" 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="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall519762971/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall519762971/work/payloads/0000/tree" time="2023-07-27T20:07:30Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:30Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:30Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall519762971/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall519762971/work/payloads/0000/tree" time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:30Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:30Z" level=error msg="Error when executing ArtifactFailure_Leave scripts: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" time="2023-07-27T20:07:30Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:30Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall519762971/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall519762971/work/payloads/0000/tree" time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:30Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall519762971/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall519762971/work/payloads/0000/tree" time="2023-07-27T20:07:30Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Enter_00 time="2023-07-27T20:07:30Z" level=debug msg="Starting device update." time="2023-07-27T20:07:30Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall253012640/artifact.mender]" time="2023-07-27T20:07:30Z" level=debug msg="Fetching update from file results: [&{0xc00033c240}], 5632, " Installing Artifact of size 5632... time="2023-07-27T20:07:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall253012640/device_type" time="2023-07-27T20:07:30Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:30Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:30Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07:30Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:30Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:30Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:30Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall253012640/artifact_info file." time="2023-07-27T20:07:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall253012640/artifact_info" time="2023-07-27T20:07:30Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:30Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall253012640/artifact_info" time="2023-07-27T20:07:30Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall253012640/device_type" time="2023-07-27T20:07:30Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:30Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:30Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall253012640/modules/test-type Download /tmp/TestStandaloneModuleInstall253012640/work/payloads/0000/tree" time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:31Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall253012640/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall253012640/work/payloads/0000/tree" time="2023-07-27T20:07:31Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:31Z" level=debug msg="Module supports rollback" time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:31Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall253012640/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall253012640/work/payloads/0000/tree" time="2023-07-27T20:07:31Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:31Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:31Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall253012640/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall253012640/work/payloads/0000/tree" time="2023-07-27T20:07:31Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:31Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:31Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:31Z" level=error msg="Error when executing ArtifactRollback_Enter scripts: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:07:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall253012640/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall253012640/work/payloads/0000/tree" time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:31Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:31Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:07:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall253012640/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall253012640/work/payloads/0000/tree" time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:31Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall253012640/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall253012640/work/payloads/0000/tree" time="2023-07-27T20:07:31Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback time="2023-07-27T20:07:31Z" level=debug msg="Starting device update." time="2023-07-27T20:07:31Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall864271369/artifact.mender]" time="2023-07-27T20:07:31Z" level=debug msg="Fetching update from file results: [&{0xc00044e2a0}], 5632, " Installing Artifact of size 5632... time="2023-07-27T20:07:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall864271369/device_type" time="2023-07-27T20:07:31Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:31Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:31Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07:31Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:31Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:31Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall864271369/artifact_info file." time="2023-07-27T20:07:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall864271369/artifact_info" time="2023-07-27T20:07:31Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:31Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall864271369/artifact_info" time="2023-07-27T20:07:31Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall864271369/device_type" time="2023-07-27T20:07:31Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:31Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall864271369/modules/test-type Download /tmp/TestStandaloneModuleInstall864271369/work/payloads/0000/tree" time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:31Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall864271369/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall864271369/work/payloads/0000/tree" time="2023-07-27T20:07:31Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:31Z" level=debug msg="Module supports rollback" time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:31Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall864271369/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall864271369/work/payloads/0000/tree" time="2023-07-27T20:07:31Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:31Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:31Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall864271369/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall864271369/work/payloads/0000/tree" time="2023-07-27T20:07:31Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:31Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:31Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:07:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall864271369/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall864271369/work/payloads/0000/tree" time="2023-07-27T20:07:31Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:31Z" level=error msg="Error when executing ArtifactRollback state: Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:31Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:31Z" level=error msg="Error rolling back: Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:07:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall864271369/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall864271369/work/payloads/0000/tree" time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:31Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall864271369/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall864271369/work/payloads/0000/tree" time="2023-07-27T20:07:31Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Leave_00 time="2023-07-27T20:07:31Z" level=debug msg="Starting device update." time="2023-07-27T20:07:31Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall257840166/artifact.mender]" time="2023-07-27T20:07:31Z" level=debug msg="Fetching update from file results: [&{0xc0004d6120}], 5632, " Installing Artifact of size 5632... time="2023-07-27T20:07:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall257840166/device_type" time="2023-07-27T20:07:31Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:31Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:31Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07:31Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:31Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:31Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall257840166/artifact_info file." time="2023-07-27T20:07:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall257840166/artifact_info" time="2023-07-27T20:07:31Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:31Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall257840166/artifact_info" time="2023-07-27T20:07:31Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall257840166/device_type" time="2023-07-27T20:07:31Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:31Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:31Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall257840166/modules/test-type Download /tmp/TestStandaloneModuleInstall257840166/work/payloads/0000/tree" time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:31Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall257840166/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall257840166/work/payloads/0000/tree" time="2023-07-27T20:07:31Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:31Z" level=debug msg="Module supports rollback" time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:31Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:31Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall257840166/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall257840166/work/payloads/0000/tree" time="2023-07-27T20:07:31Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:31Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:31Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:32Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:32Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall257840166/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall257840166/work/payloads/0000/tree" time="2023-07-27T20:07:32Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:32Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2023-07-27T20:07:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:32Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:32Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:07:32Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall257840166/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall257840166/work/payloads/0000/tree" time="2023-07-27T20:07:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:32Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:32Z" level=error msg="Error when executing ArtifactFailure_Leave scripts: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" time="2023-07-27T20:07:32Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" time="2023-07-27T20:07:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:32Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:07:32Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall257840166/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall257840166/work/payloads/0000/tree" time="2023-07-27T20:07:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:32Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:32Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:32Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall257840166/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall257840166/work/payloads/0000/tree" time="2023-07-27T20:07:32Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Hang_in_Download time="2023-07-27T20:07:32Z" level=debug msg="Starting device update." time="2023-07-27T20:07:32Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall809018119/artifact.mender]" time="2023-07-27T20:07:32Z" level=debug msg="Fetching update from file results: [&{0xc00044e2a0}], 5632, " Installing Artifact of size 5632... time="2023-07-27T20:07:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall809018119/device_type" time="2023-07-27T20:07:32Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:32Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:32Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07:32Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:32Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:32Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:32Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall809018119/artifact_info file." time="2023-07-27T20:07:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall809018119/artifact_info" time="2023-07-27T20:07:32Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:32Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall809018119/artifact_info" time="2023-07-27T20:07:32Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall809018119/device_type" time="2023-07-27T20:07:32Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:32Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:32Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:32Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:32Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall809018119/modules/test-type Download /tmp/TestStandaloneModuleInstall809018119/work/payloads/0000/tree" time="2023-07-27T20:07:32Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:07:37Z" level=error msg="Process 1867410 timed out. Sending SIGTERM" time="2023-07-27T20:07:37Z" level=error msg="Download failed: Update module terminated abnormally: signal: terminated" time="2023-07-27T20:07:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:37Z" level=debug msg="Executing script: Download_Error_00" time="2023-07-27T20:07:37Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall809018119/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall809018119/work/payloads/0000/tree" time="2023-07-27T20:07:37Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall809018119/artifact_info file." time="2023-07-27T20:07:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall809018119/artifact_info" time="2023-07-27T20:07:37Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:37Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Hang_in_ArtifactInstall time="2023-07-27T20:07:37Z" level=debug msg="Starting device update." time="2023-07-27T20:07:37Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall055333884/artifact.mender]" time="2023-07-27T20:07:37Z" level=debug msg="Fetching update from file results: [&{0xc0001b41e0}], 5632, " Installing Artifact of size 5632... time="2023-07-27T20:07:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall055333884/device_type" time="2023-07-27T20:07:37Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:37Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:37Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07:37Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:37Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:37Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:37Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall055333884/artifact_info file." time="2023-07-27T20:07:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall055333884/artifact_info" time="2023-07-27T20:07:37Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:37Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall055333884/artifact_info" time="2023-07-27T20:07:37Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall055333884/device_type" time="2023-07-27T20:07:37Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:37Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:37Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:37Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall055333884/modules/test-type Download /tmp/TestStandaloneModuleInstall055333884/work/payloads/0000/tree" time="2023-07-27T20:07:37Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2023-07-27T20:07:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:37Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07:37Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall055333884/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall055333884/work/payloads/0000/tree" time="2023-07-27T20:07:37Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:37Z" level=debug msg="Module supports rollback" time="2023-07-27T20:07:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:37Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:37Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall055333884/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall055333884/work/payloads/0000/tree" time="2023-07-27T20:07:42Z" level=error msg="Process 1867860 timed out. Sending SIGTERM" time="2023-07-27T20:07:42Z" level=error msg="Update module terminated abnormally: signal: terminated" time="2023-07-27T20:07:42Z" level=error msg="Installation failed: Update module terminated abnormally: signal: terminated" time="2023-07-27T20:07:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:42Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:42Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:42Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall055333884/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall055333884/work/payloads/0000/tree" time="2023-07-27T20:07:42Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:42Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2023-07-27T20:07:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:42Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:42Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:07:42Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall055333884/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall055333884/work/payloads/0000/tree" time="2023-07-27T20:07:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:42Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:42Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:42Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:07:42Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall055333884/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall055333884/work/payloads/0000/tree" time="2023-07-27T20:07:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:42Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:42Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:42Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall055333884/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall055333884/work/payloads/0000/tree" time="2023-07-27T20:07:42Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall055333884/artifact_info file." time="2023-07-27T20:07:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall055333884/artifact_info" time="2023-07-27T20:07:42Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:42Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStandaloneModuleInstall (19.25s) --- PASS: TestStandaloneModuleInstall/Normal_install,_no_rollback (0.30s) --- PASS: TestStandaloneModuleInstall/Normal_install (0.32s) --- PASS: TestStandaloneModuleInstall/Normal_commit (0.31s) --- PASS: TestStandaloneModuleInstall/Normal_rollback (0.32s) --- PASS: TestStandaloneModuleInstall/Fail_in_Download_Enter_00 (0.13s) --- PASS: TestStandaloneModuleInstall/Fail_in_Download (0.20s) --- PASS: TestStandaloneModuleInstall/Fail_in_Download_Leave_00 (0.19s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Enter_00 (0.33s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall (0.44s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Leave_00 (1.06s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00 (0.43s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit (0.47s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00 (0.32s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00,_no_rollback (0.34s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit,_no_rollback (0.36s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00,_no_rollback (0.42s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Enter_00 (0.45s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback (0.43s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Leave_00 (0.31s) --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Enter_00 (0.43s) --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback (0.48s) --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Leave_00 (0.47s) --- PASS: TestStandaloneModuleInstall/Hang_in_Download (5.25s) --- PASS: TestStandaloneModuleInstall/Hang_in_ArtifactInstall (5.48s) === RUN TestStandaloneStoreAndRestore time="2023-07-27T20:07:43Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" standalone_test.go:1053: Running test: {Persist ArtifactName 0xc000020d00 []} time="2023-07-27T20:07:43Z" 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 0xc000020d40 []} time="2023-07-27T20:07:43Z" 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 0xc000020d80 []} time="2023-07-27T20:07:43Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" --- PASS: TestStandaloneStoreAndRestore (0.01s) === RUN TestStateBase --- PASS: TestStateBase (0.00s) === RUN TestStateWait time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" time="2023-07-27T20:07:43Z" level=info msg="Wait canceled" time="2023-07-27T20:07:43Z" level=info msg="Forced wake-up from sleep" --- PASS: TestStateWait (0.10s) === RUN TestStateError time="2023-07-27T20:07:43Z" level=info msg="Handling error state, current error: transient error: foo" time="2023-07-27T20:07:43Z" level=info msg="Handling error state, current error: fatal error: general error" --- PASS: TestStateError (0.00s) === RUN TestStateUpdateReportStatus time="2023-07-27T20:07:43Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:43Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:07:43Z" level=debug msg="Reporting complete" time="2023-07-27T20:07:43Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:43Z" level=debug msg="Reporting complete" time="2023-07-27T20:07:43Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:43Z" level=error msg="Failed to send status to server: transient error: report failed" time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:43Z" level=error msg="Failed to send status to server: transient error: test error sending status" time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:43Z" level=error msg="Failed to send status to server: transient error: test error sending status" time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:43Z" level=error msg="Failed to send status to server: transient error: test error sending status" time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:43Z" level=error msg="Failed to send status to server: transient error: test error sending status" time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:43Z" level=error msg="Failed to send status to server: transient error: test error sending status" time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:43Z" level=error msg="Failed to send status to server: transient error: test error sending status" time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:43Z" level=error msg="Failed to send status to server: transient error: test error sending status" time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:43Z" level=error msg="Failed to send status to server: transient error: test error sending status" time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:43Z" level=error msg="Failed to send status to server: transient error: test error sending status" time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:43Z" level=error msg="Failed to send status to server: transient error: test error sending status" time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" state_test.go:342: Error Trace: state_test.go:342 Error: Max difference between 2023-07-27 20:07:43.104171602 +0000 UTC m=+197.771190655 and 2023-07-27 20:07:43.140839773 +0000 UTC m=+197.807858607 allowed is 20ms, but difference was -36.667952ms Test: TestStateUpdateReportStatus time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:43Z" level=error msg="Failed to send status to server: transient error: test error sending status" time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:43Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:07:43Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" time="2023-07-27T20:07:43Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:43Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:07:43Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" time="2023-07-27T20:07:43Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:43Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:07:43Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" time="2023-07-27T20:07:43Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:43Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:07:43Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" time="2023-07-27T20:07:43Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:43Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:07:43Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" time="2023-07-27T20:07:43Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:43Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:07:43Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" time="2023-07-27T20:07:43Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:43Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:07:43Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" time="2023-07-27T20:07:43Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:43Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:07:43Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" time="2023-07-27T20:07:43Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:43Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:07:43Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" time="2023-07-27T20:07:43Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:43Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:07:43Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" time="2023-07-27T20:07:43Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" state_test.go:369: Error Trace: state_test.go:369 Error: Max difference between 2023-07-27 20:07:43.141024052 +0000 UTC m=+197.808042876 and 2023-07-27 20:07:43.171073201 +0000 UTC m=+197.838092045 allowed is 25ms, but difference was -30.049169ms Test: TestStateUpdateReportStatus time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:43Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:07:43Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" time="2023-07-27T20:07:43Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:43Z" level=error msg="Failed to send status to server: fatal error: deployment was aborted" time="2023-07-27T20:07:43Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:43Z" level=error msg="Failed to send status to server: fatal error: deployment was aborted" --- FAIL: TestStateUpdateReportStatus (0.07s) === RUN TestStateIdle --- PASS: TestStateIdle (0.00s) === RUN TestStateAuthorize time="2023-07-27T20:07:43Z" level=debug msg="Handle authorize state" time="2023-07-27T20:07:43Z" level=debug msg="Handle authorize state" time="2023-07-27T20:07:43Z" level=error msg="Authorize failed: transient error: auth fail temp" time="2023-07-27T20:07:43Z" level=debug msg="Handle authorize state" time="2023-07-27T20:07:43Z" level=error msg="Authorize failed: fatal error: auth error" --- PASS: TestStateAuthorize (0.00s) === RUN TestStateUpdateCommit time="2023-07-27T20:07:43Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:43Z" level=debug msg="Handle update commit state" time="2023-07-27T20:07:43Z" level=debug msg="Committing new artifact name: TestName" time="2023-07-27T20:07:43Z" level=debug msg="Committing new artifact group name: TestGroup" time="2023-07-27T20:07:43Z" level=debug msg="Committing new artifact type-info provides" --- PASS: TestStateUpdateCommit (0.00s) === RUN TestStateInvetoryUpdate time="2023-07-27T20:07:43Z" level=warning msg="Failed to refresh inventory: some err" time="2023-07-27T20:07:43Z" level=debug msg="Inventory refresh complete" time="2023-07-27T20:07:43Z" level=warning msg="Failed to refresh inventory: cannot determine current artifact name" --- PASS: TestStateInvetoryUpdate (0.00s) === RUN TestStateAuthorizeWait time="2023-07-27T20:07:43Z" level=debug msg="Handle authorize wait state" time="2023-07-27T20:07:43Z" level=debug msg="Wait 0s before next authorization attempt" time="2023-07-27T20:07:43Z" level=debug msg="Handle authorize wait state" time="2023-07-27T20:07:43Z" level=debug msg="Wait 99.969415ms before next authorization attempt" time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" time="2023-07-27T20:07:43Z" level=debug msg="Handle authorize wait state" time="2023-07-27T20:07:43Z" level=debug msg="Wait 97.208224ms before next authorization attempt" time="2023-07-27T20:07:43Z" level=info msg="Wait canceled" --- PASS: TestStateAuthorizeWait (0.10s) === RUN TestStateUpdateCheckWait time="2023-07-27T20:07:43Z" level=debug msg="Handle check wait state" time="2023-07-27T20:07:43Z" 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="2023-07-27T20:07:43Z" level=debug msg="Next check: 0001-01-01 00:00:00 +0000 UTC:inventory-update, (2023-07-27 20:07:43.275343067 +0000 UTC m=+197.942361893)" time="2023-07-27T20:07:43Z" level=debug msg="Check wait returned: inventory-update" time="2023-07-27T20:07:43Z" level=debug msg="Handle check wait state" time="2023-07-27T20:07:43Z" level=debug msg="Check wait state; next checks: (update: 0001-01-01 00:00:00.01 +0000 UTC) (inventory: 2023-07-27 20:07:43.295386291 +0000 UTC m=+197.962405110)" time="2023-07-27T20:07:43Z" level=debug msg="Next check: 0001-01-01 00:00:00.01 +0000 UTC:update-check, (2023-07-27 20:07:43.27543594 +0000 UTC m=+197.942454769)" time="2023-07-27T20:07:43Z" level=debug msg="Check wait returned: update-check" time="2023-07-27T20:07:43Z" level=debug msg="Handle check wait state" time="2023-07-27T20:07:43Z" level=debug msg="Check wait state; next checks: (update: 2023-07-27 20:07:43.285473435 +0000 UTC m=+197.952492256) (inventory: 2023-07-27 20:07:43.295386291 +0000 UTC m=+197.962405110)" time="2023-07-27T20:07:43Z" level=debug msg="Next check: 2023-07-27 20:07:43.285473435 +0000 UTC m=+197.952492256:update-check, (2023-07-27 20:07:43.275530208 +0000 UTC m=+197.942549059)" time="2023-07-27T20:07:43Z" level=debug msg="Waiting 9.943197ms for the next state" time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" time="2023-07-27T20:07:43Z" level=debug msg="Handle check wait state" time="2023-07-27T20:07:43Z" level=debug msg="Check wait state; next checks: (update: 2023-07-27 20:07:43.297183149 +0000 UTC m=+197.964201989) (inventory: 2023-07-27 20:07:43.295386291 +0000 UTC m=+197.962405110)" time="2023-07-27T20:07:43Z" level=debug msg="Next check: 2023-07-27 20:07:43.295386291 +0000 UTC m=+197.962405110:inventory-update, (2023-07-27 20:07:43.287283856 +0000 UTC m=+197.954302685)" time="2023-07-27T20:07:43Z" level=debug msg="Waiting 8.102425ms for the next state" time="2023-07-27T20:07:43Z" level=debug msg="Wait complete" time="2023-07-27T20:07:43Z" level=debug msg="Handle check wait state" time="2023-07-27T20:07:43Z" level=debug msg="Check wait state; next checks: (update: 2023-07-27 20:07:43.387183149 +0000 UTC m=+198.054201989) (inventory: 2023-07-27 20:07:43.395386291 +0000 UTC m=+198.062405110)" time="2023-07-27T20:07:43Z" level=debug msg="Next check: 2023-07-27 20:07:43.387183149 +0000 UTC m=+198.054201989:update-check, (2023-07-27 20:07:43.299191647 +0000 UTC m=+197.966210478)" time="2023-07-27T20:07:43Z" level=debug msg="Waiting 87.991511ms for the next state" time="2023-07-27T20:07:43Z" level=info msg="Wait canceled" --- PASS: TestStateUpdateCheckWait (0.02s) === RUN TestStateUpdateCheck time="2023-07-27T20:07:43Z" level=debug msg="Handle update check state" time="2023-07-27T20:07:43Z" level=debug msg="Handle update check state" time="2023-07-27T20:07:43Z" level=error msg="Update check failed: transient error: check failed" time="2023-07-27T20:07:43Z" level=debug msg="Handle update check state" --- PASS: TestStateUpdateCheck (0.00s) === RUN TestUpdateCheckSameImage time="2023-07-27T20:07:43Z" level=debug msg="Handle update check state" --- PASS: TestUpdateCheckSameImage (0.00s) === RUN TestStateUpdateFetch time="2023-07-27T20:07:43Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:43Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:07:43Z" level=error msg="Could not write state data to persistent storage: read only" time="2023-07-27T20:07:43Z" level=error msg="fatal error: read only" time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:43Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:43Z" 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="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:43Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" time="2023-07-27T20:07:43Z" level=debug msg="Wait 1m0s before next fetch/install attempt" time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:43Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" time="2023-07-27T20:07:43Z" level=debug msg="Wait 1m0s before next fetch/install attempt" time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:43Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" time="2023-07-27T20:07:43Z" level=debug msg="Wait 1m0s before next fetch/install attempt" time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:43Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" time="2023-07-27T20:07:43Z" level=debug msg="Wait 2m0s before next fetch/install attempt" time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:43Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" time="2023-07-27T20:07:43Z" level=debug msg="Wait 2m0s before next fetch/install attempt" time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:43Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" time="2023-07-27T20:07:43Z" level=debug msg="Wait 2m0s before next fetch/install attempt" time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:43Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" time="2023-07-27T20:07:43Z" level=debug msg="Wait 4m0s before next fetch/install attempt" time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:43Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" time="2023-07-27T20:07:43Z" level=debug msg="Wait 4m0s before next fetch/install attempt" time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:43Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" time="2023-07-27T20:07:43Z" level=debug msg="Wait 4m0s before next fetch/install attempt" time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:43Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" time="2023-07-27T20:07:43Z" level=debug msg="Wait 5m0s before next fetch/install attempt" time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:43Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" time="2023-07-27T20:07:43Z" level=debug msg="Wait 5m0s before next fetch/install attempt" time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:43Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" time="2023-07-27T20:07:43Z" level=debug msg="Wait 5m0s before next fetch/install attempt" time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:43Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" --- PASS: TestStateUpdateFetchRetry (0.00s) === RUN TestStateUpdateStore time="2023-07-27T20:07:43Z" level=error msg="fatal error: test failure" time="2023-07-27T20:07:43Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:43Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" time="2023-07-27T20:07:43Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" --- PASS: TestStateUpdateStore (0.06s) === RUN TestUpdateStoreDependencies time="2023-07-27T20:07:43Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:43Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" time="2023-07-27T20:07:43Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" time="2023-07-27T20:07:43Z" level=error msg="Artifact dependency \"artifact_name\" not satisfied by currently installed artifact ([OtherArtifact] != )." time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:43Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" time="2023-07-27T20:07:43Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" time="2023-07-27T20:07:43Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([TestGroup] != )." time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:43Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" time="2023-07-27T20:07:43Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" time="2023-07-27T20:07:43Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([TestGroup] != )." time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:43Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" time="2023-07-27T20:07:43Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" time="2023-07-27T20:07:43Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([TestGroup] != WrongGroup)." time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:43Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" time="2023-07-27T20:07:43Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" --- PASS: TestUpdateStoreDependencies (0.08s) === RUN TestStateWrongArtifactNameFromServer time="2023-07-27T20:07:43Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:43Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" time="2023-07-27T20:07:43Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" time="2023-07-27T20:07:43Z" level=error msg="Artifact name in artifact is not what the server claims (TestName != WrongName)." --- PASS: TestStateWrongArtifactNameFromServer (0.06s) === RUN TestStateUpdateInstallRetry time="2023-07-27T20:07:43Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:43Z" 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="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" time="2023-07-27T20:07:43Z" level=debug msg="Wait 1m0s before next fetch/install attempt" time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:43Z" 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="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" time="2023-07-27T20:07:43Z" level=debug msg="Wait 1m0s before next fetch/install attempt" time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:43Z" 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="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" time="2023-07-27T20:07:43Z" level=debug msg="Wait 1m0s before next fetch/install attempt" time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:43Z" 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="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" time="2023-07-27T20:07:43Z" level=debug msg="Wait 2m0s before next fetch/install attempt" time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:43Z" 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="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" time="2023-07-27T20:07:43Z" level=debug msg="Wait 2m0s before next fetch/install attempt" time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:43Z" 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="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" time="2023-07-27T20:07:43Z" level=debug msg="Wait 2m0s before next fetch/install attempt" time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:43Z" 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="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" time="2023-07-27T20:07:43Z" level=debug msg="Wait 4m0s before next fetch/install attempt" time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:43Z" 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="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" time="2023-07-27T20:07:43Z" level=debug msg="Wait 4m0s before next fetch/install attempt" time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:43Z" 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="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" time="2023-07-27T20:07:43Z" level=debug msg="Wait 4m0s before next fetch/install attempt" time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:43Z" 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="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" time="2023-07-27T20:07:43Z" level=debug msg="Wait 5m0s before next fetch/install attempt" time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:43Z" 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="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" time="2023-07-27T20:07:43Z" level=debug msg="Wait 5m0s before next fetch/install attempt" time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:43Z" 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="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" time="2023-07-27T20:07:43Z" level=debug msg="Wait 5m0s before next fetch/install attempt" time="2023-07-27T20:07:43Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2023-07-27T20:07:43Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:43Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:43Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:43Z" 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="2023-07-27T20:07:43Z" level=debug msg="Handle fetch install retry state" --- PASS: TestStateUpdateInstallRetry (0.00s) === RUN TestStateFinal --- PASS: TestStateFinal (0.00s) === RUN TestStateData --- PASS: TestStateData (0.01s) === RUN TestStateReportError time="2023-07-27T20:07:43Z" level=error msg="Handling report error state with status: success" time="2023-07-27T20:07:43Z" level=error msg="Handling report error state with status: failure" time="2023-07-27T20:07:43Z" level=error msg="Error while performing update: failure ({{{ } [] [] map[]} foobar [] 0 false})" time="2023-07-27T20:07:43Z" 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="2023-07-27T20:07:43Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:07:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:43Z" level=debug msg="Handle update check state" time="2023-07-27T20:07:43Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:07:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:43Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07: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]:33436->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:33436->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:53337->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:53337->[::1]:53: read: connection refused" time="2023-07-27T20:07:44Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:44Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:44Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:07:44Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules185899423/device_type" time="2023-07-27T20:07:44Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:44Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:44Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:44Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:44Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules185899423/artifact_info file." time="2023-07-27T20:07:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules185899423/artifact_info" time="2023-07-27T20:07:44Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:44Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules185899423/artifact_info" time="2023-07-27T20:07:44Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules185899423/device_type" time="2023-07-27T20:07:44Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:44Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules185899423/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules185899423/work/payloads/0000/tree" time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules185899423/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules185899423/work/payloads/0000/tree" time="2023-07-27T20:07:44Z" level=debug msg="Update module output: No" time="2023-07-27T20:07:44Z" level=debug msg="Module does not support rollback" time="2023-07-27T20:07:44Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:07:44Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:07:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:44Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07: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]:42849->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:42849->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:33814->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:33814->[::1]:53: read: connection refused" time="2023-07-27T20:07:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:44Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07: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]:57962->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:57962->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:42951->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:42951->[::1]:53: read: connection refused" time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules185899423/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules185899423/work/payloads/0000/tree" time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:07:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules185899423/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules185899423/work/payloads/0000/tree" time="2023-07-27T20:07:44Z" level=debug msg="Update module output: No" time="2023-07-27T20:07:44Z" level=debug msg="Module does not need reboot" time="2023-07-27T20:07:44Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" time="2023-07-27T20:07:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:44Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07: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]:32800->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:32800->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:51097->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:51097->[::1]:53: read: connection refused" time="2023-07-27T20:07:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:44Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07: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]:34441->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:34441->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:54177->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:54177->[::1]:53: read: connection refused" time="2023-07-27T20:07:44Z" level=debug msg="Handle update commit state" time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2023-07-27T20:07:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules185899423/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules185899423/work/payloads/0000/tree" time="2023-07-27T20:07:44Z" level=debug msg="Committing new artifact name: artifact-name" time="2023-07-27T20:07:44Z" level=debug msg="Committing new artifact group name: " time="2023-07-27T20:07:44Z" level=debug msg="Committing new artifact type-info provides" time="2023-07-27T20:07:44Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" time="2023-07-27T20:07:44Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" time="2023-07-27T20:07:44Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2023-07-27T20:07:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:44Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:44Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules185899423/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules185899423/work/payloads/0000/tree" time="2023-07-27T20:07:44Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" time="2023-07-27T20:07:44Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:44Z" level=debug msg="Reporting complete" time="2023-07-27T20:07:44Z" level=debug msg="Returning artifact name artifact-name from database." --- PASS: TestStateTransitionsWithUpdateModules (0.29s) PASS === RUN TestStateTransitionsWithUpdateModules/Normal_install,_no_rollback state_test.go:4717: Normal install, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:07:44Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:07:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:44Z" level=debug msg="Handle update check state" time="2023-07-27T20:07:44Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:07:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:44Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07: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]:36375->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:36375->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:36383->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:36383->[::1]:53: read: connection refused" time="2023-07-27T20:07:44Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:44Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:44Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:07:44Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules994017396/device_type" time="2023-07-27T20:07:44Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:44Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:44Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:44Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:44Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules994017396/artifact_info file." time="2023-07-27T20:07:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules994017396/artifact_info" time="2023-07-27T20:07:44Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:44Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules994017396/artifact_info" time="2023-07-27T20:07:44Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules994017396/device_type" time="2023-07-27T20:07:44Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:44Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:44Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules994017396/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules994017396/work/payloads/0000/tree" time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules994017396/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules994017396/work/payloads/0000/tree" time="2023-07-27T20:07:44Z" level=debug msg="Update module output: No" time="2023-07-27T20:07:44Z" level=debug msg="Module does not support rollback" time="2023-07-27T20:07:44Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:07:44Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:07:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:44Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07: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]:54371->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:54371->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:54151->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:54151->[::1]:53: read: connection refused" time="2023-07-27T20:07:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:44Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07: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]:43497->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:43497->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:35870->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:35870->[::1]:53: read: connection refused" time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules994017396/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules994017396/work/payloads/0000/tree" time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:07:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules994017396/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules994017396/work/payloads/0000/tree" time="2023-07-27T20:07:44Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:44Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:07:44Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:07:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:44Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07: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]:56590->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:56590->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:38812->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:38812->[::1]:53: read: connection refused" time="2023-07-27T20:07:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:44Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07: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]:52218->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:52218->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:33316->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:33316->[::1]:53: read: connection refused" time="2023-07-27T20:07:44Z" level=debug msg="Handling reboot state" time="2023-07-27T20:07:44Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2023-07-27T20:07:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules994017396/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules994017396/work/payloads/0000/tree" time="2023-07-27T20:07:44Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2023-07-27T20:07:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules994017396/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules994017396/work/payloads/0000/tree" time="2023-07-27T20:07:44Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:07:44Z" level=debug msg="Handling state after reboot" time="2023-07-27T20:07:44Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2023-07-27T20:07:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:44Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07: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]:38394->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:38394->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:56769->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:56769->[::1]:53: read: connection refused" time="2023-07-27T20:07:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:44Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07: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]:41364->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:41364->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:59561->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:59561->[::1]:53: read: connection refused" time="2023-07-27T20:07:44Z" level=debug msg="Handle update commit state" time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2023-07-27T20:07:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules994017396/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules994017396/work/payloads/0000/tree" time="2023-07-27T20:07:44Z" level=debug msg="Committing new artifact name: artifact-name" time="2023-07-27T20:07:44Z" level=debug msg="Committing new artifact group name: " time="2023-07-27T20:07:44Z" level=debug msg="Committing new artifact type-info provides" time="2023-07-27T20:07:44Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" time="2023-07-27T20:07:44Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" time="2023-07-27T20:07:44Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2023-07-27T20:07:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:44Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:44Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:07:44Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules994017396/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules994017396/work/payloads/0000/tree" time="2023-07-27T20:07:45Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" time="2023-07-27T20:07:45Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:45Z" level=debug msg="Reporting complete" time="2023-07-27T20:07:45Z" level=debug msg="Returning artifact name artifact-name from database." --- PASS: TestStateTransitionsWithUpdateModules (0.64s) PASS === RUN TestStateTransitionsWithUpdateModules/Normal_install state_test.go:4717: Normal install state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:07:45Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:07:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:45Z" level=debug msg="Handle update check state" time="2023-07-27T20:07:45Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:07:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:45Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07: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]:50158->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:50158->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:54831->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:54831->[::1]:53: read: connection refused" time="2023-07-27T20:07:45Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:45Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:45Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:07:45Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules134060653/device_type" time="2023-07-27T20:07:45Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:45Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:45Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:45Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:45Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:45Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules134060653/artifact_info file." time="2023-07-27T20:07:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules134060653/artifact_info" time="2023-07-27T20:07:45Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:45Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules134060653/artifact_info" time="2023-07-27T20:07:45Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules134060653/device_type" time="2023-07-27T20:07:45Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:45Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:45Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134060653/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules134060653/work/payloads/0000/tree" time="2023-07-27T20:07:45Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:07:45Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134060653/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules134060653/work/payloads/0000/tree" time="2023-07-27T20:07:45Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:45Z" level=debug msg="Module supports rollback" time="2023-07-27T20:07:45Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:07:45Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:07:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:45Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07: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]:43760->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:43760->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:50403->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:50403->[::1]:53: read: connection refused" time="2023-07-27T20:07:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:45Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07: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]:33889->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:33889->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:51545->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:51545->[::1]:53: read: connection refused" time="2023-07-27T20:07:45Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134060653/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules134060653/work/payloads/0000/tree" time="2023-07-27T20:07:45Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:07:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134060653/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules134060653/work/payloads/0000/tree" time="2023-07-27T20:07:45Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:45Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:07:45Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:07:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:45Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07: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]:39432->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:39432->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:35295->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:35295->[::1]:53: read: connection refused" time="2023-07-27T20:07:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:45Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07: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]:40490->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:40490->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:40588->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:40588->[::1]:53: read: connection refused" time="2023-07-27T20:07:45Z" level=debug msg="Handling reboot state" time="2023-07-27T20:07:45Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:07:45Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2023-07-27T20:07:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134060653/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules134060653/work/payloads/0000/tree" time="2023-07-27T20:07:45Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:07:45Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2023-07-27T20:07:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134060653/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules134060653/work/payloads/0000/tree" time="2023-07-27T20:07:45Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:07:45Z" level=debug msg="Handling state after reboot" time="2023-07-27T20:07:45Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2023-07-27T20:07:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:45Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07: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]:54814->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:54814->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:43623->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:43623->[::1]:53: read: connection refused" time="2023-07-27T20:07:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:45Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07: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]:33946->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:33946->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:42375->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:42375->[::1]:53: read: connection refused" time="2023-07-27T20:07:45Z" level=debug msg="Handle update commit state" time="2023-07-27T20:07:45Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2023-07-27T20:07:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134060653/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules134060653/work/payloads/0000/tree" time="2023-07-27T20:07:45Z" level=debug msg="Committing new artifact name: artifact-name" time="2023-07-27T20:07:45Z" level=debug msg="Committing new artifact group name: " time="2023-07-27T20:07:45Z" level=debug msg="Committing new artifact type-info provides" time="2023-07-27T20:07:45Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" time="2023-07-27T20:07:45Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" time="2023-07-27T20:07:45Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2023-07-27T20:07:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:45Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:45Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:07:45Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134060653/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules134060653/work/payloads/0000/tree" time="2023-07-27T20:07:45Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" time="2023-07-27T20:07:45Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:45Z" level=debug msg="Reporting complete" time="2023-07-27T20:07:45Z" level=debug msg="Returning artifact name artifact-name from database." --- PASS: TestStateTransitionsWithUpdateModules (0.45s) 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="2023-07-27T20:07:45Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:07:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:45Z" level=debug msg="Handle update check state" time="2023-07-27T20:07:45Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:07:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:45Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07: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]:50334->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:50334->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:55154->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:55154->[::1]:53: read: connection refused" time="2023-07-27T20:07:45Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:45Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:45Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:07:45Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules051161178/device_type" time="2023-07-27T20:07:45Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:45Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:45Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:45Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:45Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:45Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules051161178/artifact_info file." time="2023-07-27T20:07:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules051161178/artifact_info" time="2023-07-27T20:07:45Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:45Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules051161178/artifact_info" time="2023-07-27T20:07:45Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules051161178/device_type" time="2023-07-27T20:07:45Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:45Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:45Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:45Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules051161178/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules051161178/work/payloads/0000/tree" time="2023-07-27T20:07:45Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:07:45Z" level=error msg="Artifact install failed: Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:45Z" level=info msg="State transition: update-store [Download_Enter] -> cleanup [Error]" time="2023-07-27T20:07:45Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:07:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:45Z" level=debug msg="Executing script: Download_Error_00" time="2023-07-27T20:07:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:45Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:07:45Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules051161178/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules051161178/work/payloads/0000/tree" time="2023-07-27T20:07:46Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:07:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:46Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:46Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:07:46Z" level=debug msg="Reporting complete" time="2023-07-27T20:07:46Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules051161178/artifact_info file." time="2023-07-27T20:07:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules051161178/artifact_info" time="2023-07-27T20:07:46Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:46Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.39s) 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="2023-07-27T20:07:46Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:07:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:46Z" level=debug msg="Handle update check state" time="2023-07-27T20:07:46Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:07:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:46Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07: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]:33007->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:33007->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:37647->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:37647->[::1]:53: read: connection refused" time="2023-07-27T20:07:46Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:46Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:46Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:07:46Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules199989067/device_type" time="2023-07-27T20:07:46Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:46Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:46Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:46Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:46Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:46Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules199989067/artifact_info file." time="2023-07-27T20:07:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules199989067/artifact_info" time="2023-07-27T20:07:46Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:46Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules199989067/artifact_info" time="2023-07-27T20:07:46Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules199989067/device_type" time="2023-07-27T20:07:46Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:46Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:46Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules199989067/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules199989067/work/payloads/0000/tree" time="2023-07-27T20:07:46Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 2 (*app.updateCleanupState) time="2023-07-27T20:07:46Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:07:46Z" level=info msg="Handling loaded state: update-store" time="2023-07-27T20:07:46Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:46Z" level=error msg="Mender shut down in state: update-store" time="2023-07-27T20:07:46Z" level=info msg="State transition: init [none] -> cleanup [Error]" time="2023-07-27T20:07:46Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:07:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:46Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:07:46Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules199989067/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules199989067/work/payloads/0000/tree" time="2023-07-27T20:07:46Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:07:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:46Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:46Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:07:46Z" level=debug msg="Reporting complete" time="2023-07-27T20:07:46Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules199989067/artifact_info file." time="2023-07-27T20:07:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules199989067/artifact_info" time="2023-07-27T20:07:46Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:46Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.02s) 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="2023-07-27T20:07:46Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:07:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:46Z" level=debug msg="Handle update check state" time="2023-07-27T20:07:46Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:07:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:46Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07: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]:51047->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:51047->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:40254->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:40254->[::1]:53: read: connection refused" time="2023-07-27T20:07:46Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:46Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:46Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:07:46Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules139845008/device_type" time="2023-07-27T20:07:46Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:46Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:46Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:46Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:46Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:46Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules139845008/artifact_info file." time="2023-07-27T20:07:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules139845008/artifact_info" time="2023-07-27T20:07:46Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:46Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules139845008/artifact_info" time="2023-07-27T20:07:46Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules139845008/device_type" time="2023-07-27T20:07:46Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:46Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:46Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:46Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules139845008/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules139845008/work/payloads/0000/tree" time="2023-07-27T20:07:46Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:07:46Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules139845008/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules139845008/work/payloads/0000/tree" time="2023-07-27T20:07:46Z" level=debug msg="Update module output: No" time="2023-07-27T20:07:46Z" level=debug msg="Module does not support rollback" time="2023-07-27T20:07:46Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:07:46Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:07:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:46Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07: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]:33673->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:33673->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:60466->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:60466->[::1]:53: read: connection refused" time="2023-07-27T20:07:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:46Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07: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]:35200->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:35200->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:38955->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:38955->[::1]:53: read: connection refused" time="2023-07-27T20:07:46Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules139845008/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules139845008/work/payloads/0000/tree" time="2023-07-27T20:07:46Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:46Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:46Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" time="2023-07-27T20:07:46Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" time="2023-07-27T20:07:46Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:07:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:46Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2023-07-27T20:07: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]:51712->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:51712->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:55751->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:55751->[::1]:53: read: connection refused" time="2023-07-27T20:07:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:46Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07: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]:42665->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:42665->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:50258->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:50258->[::1]:53: read: connection refused" time="2023-07-27T20:07:46Z" level=debug msg="Handle update error state" time="2023-07-27T20:07:46Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:07:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules139845008/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules139845008/work/payloads/0000/tree" time="2023-07-27T20:07:46Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:07:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:46Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:46Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:07:46Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules139845008/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules139845008/work/payloads/0000/tree" time="2023-07-27T20:07:46Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:07:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:46Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:46Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:07:46Z" level=debug msg="Reporting complete" time="2023-07-27T20:07:46Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." --- PASS: TestStateTransitionsWithUpdateModules (0.39s) 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="2023-07-27T20:07:47Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:07:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:47Z" level=debug msg="Handle update check state" time="2023-07-27T20:07:47Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:07:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:47Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07: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]:47507->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:47507->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:51851->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:51851->[::1]:53: read: connection refused" time="2023-07-27T20:07:47Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:47Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:47Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:07:47Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules842771897/device_type" time="2023-07-27T20:07:47Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:47Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:47Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:47Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:47Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules842771897/artifact_info file." time="2023-07-27T20:07:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules842771897/artifact_info" time="2023-07-27T20:07:47Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:47Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules842771897/artifact_info" time="2023-07-27T20:07:47Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules842771897/device_type" time="2023-07-27T20:07:47Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:47Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:47Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules842771897/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules842771897/work/payloads/0000/tree" time="2023-07-27T20:07:47Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:07:47Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules842771897/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules842771897/work/payloads/0000/tree" time="2023-07-27T20:07:47Z" level=debug msg="Update module output: No" time="2023-07-27T20:07:47Z" level=debug msg="Module does not support rollback" time="2023-07-27T20:07:47Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:07:47Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:07:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:47Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07: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]:54284->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:54284->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:53653->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:53653->[::1]:53: read: connection refused" time="2023-07-27T20:07:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:47Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07: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]:44024->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:44024->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:38084->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:38084->[::1]:53: read: connection refused" time="2023-07-27T20:07:47Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules842771897/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules842771897/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="2023-07-27T20:07:47Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:07:47Z" level=info msg="Handling loaded state: update-install" time="2023-07-27T20:07:47Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:47Z" level=error msg="Mender shut down in state: update-install" time="2023-07-27T20:07:47Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" time="2023-07-27T20:07:47Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2023-07-27T20:07:47Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:07:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:47Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07: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]:47497->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:47497->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:41201->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:41201->[::1]:53: read: connection refused" time="2023-07-27T20:07:47Z" level=debug msg="Handle update error state" time="2023-07-27T20:07:47Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:07:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules842771897/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules842771897/work/payloads/0000/tree" time="2023-07-27T20:07:47Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:07:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:47Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:47Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:07:47Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules842771897/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules842771897/work/payloads/0000/tree" time="2023-07-27T20:07:47Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:07:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:47Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:47Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:07:47Z" level=debug msg="Reporting complete" time="2023-07-27T20:07:47Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." --- PASS: TestStateTransitionsWithUpdateModules (0.05s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall state_test.go:4717: Error in ArtifactInstall state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:07:47Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:07:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:47Z" level=debug msg="Handle update check state" time="2023-07-27T20:07:47Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:07:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:47Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07: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]:43028->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:43028->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:35762->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:35762->[::1]:53: read: connection refused" time="2023-07-27T20:07:47Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:47Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:47Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:07:47Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules302674326/device_type" time="2023-07-27T20:07:47Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:47Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:47Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:47Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:47Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules302674326/artifact_info file." time="2023-07-27T20:07:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules302674326/artifact_info" time="2023-07-27T20:07:47Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:47Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules302674326/artifact_info" time="2023-07-27T20:07:47Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules302674326/device_type" time="2023-07-27T20:07:47Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:47Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:47Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:47Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules302674326/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules302674326/work/payloads/0000/tree" time="2023-07-27T20:07:47Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:07:47Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules302674326/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules302674326/work/payloads/0000/tree" time="2023-07-27T20:07:47Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:47Z" level=debug msg="Module supports rollback" time="2023-07-27T20:07:47Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:07:47Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:07:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:47Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07: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]:42910->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:42910->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:60888->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:60888->[::1]:53: read: connection refused" time="2023-07-27T20:07:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:47Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07: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]:36852->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:36852->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:33880->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:33880->[::1]:53: read: connection refused" time="2023-07-27T20:07:47Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules302674326/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules302674326/work/payloads/0000/tree" time="2023-07-27T20:07:47Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:47Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:47Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" time="2023-07-27T20:07:47Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:07:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:47Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2023-07-27T20:07: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]:54554->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:54554->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:42532->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:42532->[::1]:53: read: connection refused" time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:48Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07: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]:33310->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:33310->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:38328->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:38328->[::1]:53: read: connection refused" time="2023-07-27T20:07:48Z" level=info msg="Performing rollback" time="2023-07-27T20:07:48Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:07:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules302674326/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules302674326/work/payloads/0000/tree" time="2023-07-27T20:07:48Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:48Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07: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]:45584->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:45584->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:38645->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:38645->[::1]:53: read: connection refused" time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:48Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07: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]:44822->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:44822->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:40034->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:40034->[::1]:53: read: connection refused" time="2023-07-27T20:07:48Z" level=debug msg="Handle update error state" time="2023-07-27T20:07:48Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:07:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules302674326/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules302674326/work/payloads/0000/tree" time="2023-07-27T20:07:48Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:48Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:48Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:07:48Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules302674326/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules302674326/work/payloads/0000/tree" time="2023-07-27T20:07:48Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:48Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:48Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:07:48Z" level=debug msg="Reporting complete" time="2023-07-27T20:07:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules302674326/artifact_info file." time="2023-07-27T20:07:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules302674326/artifact_info" time="2023-07-27T20:07:48Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:48Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.43s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall state_test.go:4717: Killed in ArtifactInstall state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:07:48Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:48Z" level=debug msg="Handle update check state" time="2023-07-27T20:07:48Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:48Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07: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]:45420->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:45420->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:37501->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:37501->[::1]:53: read: connection refused" time="2023-07-27T20:07:48Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:48Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:48Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:07:48Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules820075319/device_type" time="2023-07-27T20:07:48Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:48Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:48Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:48Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:48Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules820075319/artifact_info file." time="2023-07-27T20:07:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules820075319/artifact_info" time="2023-07-27T20:07:48Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:48Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules820075319/artifact_info" time="2023-07-27T20:07:48Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules820075319/device_type" time="2023-07-27T20:07:48Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:48Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:48Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:48Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820075319/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules820075319/work/payloads/0000/tree" time="2023-07-27T20:07:48Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:07:48Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820075319/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules820075319/work/payloads/0000/tree" time="2023-07-27T20:07:48Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:48Z" level=debug msg="Module supports rollback" time="2023-07-27T20:07:48Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:07:48Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:48Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07: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]:35154->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:35154->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:43970->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:43970->[::1]:53: read: connection refused" time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:48Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07: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]:34894->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:34894->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:40911->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:40911->[::1]:53: read: connection refused" time="2023-07-27T20:07:48Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820075319/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules820075319/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="2023-07-27T20:07:48Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:07:48Z" level=info msg="Handling loaded state: update-install" time="2023-07-27T20:07:48Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:48Z" level=error msg="Mender shut down in state: update-install" time="2023-07-27T20:07:48Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2023-07-27T20:07:48Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:48Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07: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]:51045->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:51045->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:56445->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:56445->[::1]:53: read: connection refused" time="2023-07-27T20:07:48Z" level=info msg="Performing rollback" time="2023-07-27T20:07:48Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:07:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820075319/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules820075319/work/payloads/0000/tree" time="2023-07-27T20:07:48Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:48Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07: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]:45950->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:45950->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:53449->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:53449->[::1]:53: read: connection refused" time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:48Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07: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]:56078->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:56078->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:60920->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:60920->[::1]:53: read: connection refused" time="2023-07-27T20:07:48Z" level=debug msg="Handle update error state" time="2023-07-27T20:07:48Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:07:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820075319/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules820075319/work/payloads/0000/tree" time="2023-07-27T20:07:48Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:48Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:48Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:07:48Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules820075319/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules820075319/work/payloads/0000/tree" time="2023-07-27T20:07:48Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:48Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:48Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:07:48Z" level=debug msg="Reporting complete" time="2023-07-27T20:07:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules820075319/artifact_info file." time="2023-07-27T20:07:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules820075319/artifact_info" time="2023-07-27T20:07:48Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:48Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.12s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot state_test.go:4717: Error in ArtifactReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:07:48Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:48Z" level=debug msg="Handle update check state" time="2023-07-27T20:07:48Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:48Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07: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]:44625->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:44625->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:52883->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:52883->[::1]:53: read: connection refused" time="2023-07-27T20:07:48Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:48Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:48Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:07:48Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules546475500/device_type" time="2023-07-27T20:07:48Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:48Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:48Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:49Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:49Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:49Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules546475500/artifact_info file." time="2023-07-27T20:07:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules546475500/artifact_info" time="2023-07-27T20:07:49Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:49Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules546475500/artifact_info" time="2023-07-27T20:07:49Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules546475500/device_type" time="2023-07-27T20:07:49Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:49Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:49Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:49Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules546475500/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules546475500/work/payloads/0000/tree" time="2023-07-27T20:07:49Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:07:49Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules546475500/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules546475500/work/payloads/0000/tree" time="2023-07-27T20:07:49Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:49Z" level=debug msg="Module supports rollback" time="2023-07-27T20:07:49Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:07:49Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:07:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:49Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07: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]:44467->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:44467->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:34255->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:34255->[::1]:53: read: connection refused" time="2023-07-27T20:07:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:49Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07: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]:50771->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:50771->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:57004->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:57004->[::1]:53: read: connection refused" time="2023-07-27T20:07:49Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules546475500/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules546475500/work/payloads/0000/tree" time="2023-07-27T20:07:49Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:07:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules546475500/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules546475500/work/payloads/0000/tree" time="2023-07-27T20:07:49Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:49Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:07:49Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:07:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:49Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07: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]:54958->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:54958->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:54283->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:54283->[::1]:53: read: connection refused" time="2023-07-27T20:07:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:49Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07: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]:48636->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:48636->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:45700->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:45700->[::1]:53: read: connection refused" time="2023-07-27T20:07:49Z" level=debug msg="Handling reboot state" time="2023-07-27T20:07:49Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:07:49Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2023-07-27T20:07:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules546475500/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules546475500/work/payloads/0000/tree" time="2023-07-27T20:07:49Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:49Z" level=error msg="Error rebooting device: Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:49Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> rollback [ArtifactRollback]" time="2023-07-27T20:07:49Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:07:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:49Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2023-07-27T20:07: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]:47260->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:47260->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:60459->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:60459->[::1]:53: read: connection refused" time="2023-07-27T20:07:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:49Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07: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]:48376->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:48376->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:49684->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:49684->[::1]:53: read: connection refused" time="2023-07-27T20:07:49Z" level=info msg="Performing rollback" time="2023-07-27T20:07:49Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:07:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules546475500/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules546475500/work/payloads/0000/tree" time="2023-07-27T20:07:49Z" level=debug msg="Will try to rollback reboot the device" time="2023-07-27T20:07:49Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:07:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:49Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07: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]:40612->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:40612->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:40279->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:40279->[::1]:53: read: connection refused" time="2023-07-27T20:07:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07: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]:46496->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:46496->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:45056->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:45056->[::1]:53: read: connection refused" time="2023-07-27T20:07:49Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:07:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:07:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules546475500/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules546475500/work/payloads/0000/tree" time="2023-07-27T20:07:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:07:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:07:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules546475500/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules546475500/work/payloads/0000/tree" time="2023-07-27T20:07:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:07:49Z" level=debug msg="Handling state after rollback reboot" time="2023-07-27T20:07:49Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2023-07-27T20:07:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07: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]:37050->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:37050->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:57075->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:57075->[::1]:53: read: connection refused" time="2023-07-27T20:07:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:49Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07: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]:52441->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:52441->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:57041->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:57041->[::1]:53: read: connection refused" time="2023-07-27T20:07:49Z" level=debug msg="Handle update error state" time="2023-07-27T20:07:49Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:07:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules546475500/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules546475500/work/payloads/0000/tree" time="2023-07-27T20:07:49Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:07:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:49Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:49Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:07:49Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules546475500/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules546475500/work/payloads/0000/tree" time="2023-07-27T20:07:49Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:07:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:49Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:49Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:07:49Z" level=debug msg="Reporting complete" time="2023-07-27T20:07:49Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules546475500/artifact_info file." time="2023-07-27T20:07:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules546475500/artifact_info" time="2023-07-27T20:07:49Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:49Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.80s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot state_test.go:4717: Killed in ArtifactReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:07:49Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:07:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:49Z" level=debug msg="Handle update check state" time="2023-07-27T20:07:49Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:07:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:49Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07: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]:34871->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:34871->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:46878->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:46878->[::1]:53: read: connection refused" time="2023-07-27T20:07:49Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:49Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:49Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:07:49Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules750176069/device_type" time="2023-07-27T20:07:49Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:49Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:49Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:50Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:50Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules750176069/artifact_info file." time="2023-07-27T20:07:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules750176069/artifact_info" time="2023-07-27T20:07:50Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:50Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules750176069/artifact_info" time="2023-07-27T20:07:50Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules750176069/device_type" time="2023-07-27T20:07:50Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:50Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules750176069/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules750176069/work/payloads/0000/tree" time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules750176069/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules750176069/work/payloads/0000/tree" time="2023-07-27T20:07:50Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:50Z" level=debug msg="Module supports rollback" time="2023-07-27T20:07:50Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:07:50Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:07:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:50Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07: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]:38024->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:38024->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:60936->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:60936->[::1]:53: read: connection refused" time="2023-07-27T20:07:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:50Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07: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]:58661->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:58661->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:54112->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:54112->[::1]:53: read: connection refused" time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules750176069/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules750176069/work/payloads/0000/tree" time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:07:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules750176069/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules750176069/work/payloads/0000/tree" time="2023-07-27T20:07:50Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:50Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:07:50Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:07:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:50Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07: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]:38255->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:38255->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:33889->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:33889->[::1]:53: read: connection refused" time="2023-07-27T20:07:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:50Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07: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]:37991->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:37991->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:58357->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:58357->[::1]:53: read: connection refused" time="2023-07-27T20:07:50Z" level=debug msg="Handling reboot state" time="2023-07-27T20:07:50Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2023-07-27T20:07:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules750176069/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules750176069/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="2023-07-27T20:07:50Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:07:50Z" level=info msg="Handling loaded state: reboot" time="2023-07-27T20:07:50Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:50Z" level=info msg="State transition: init [none] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2023-07-27T20:07:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules750176069/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules750176069/work/payloads/0000/tree" time="2023-07-27T20:07:50Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:07:50Z" level=debug msg="Handling state after reboot" time="2023-07-27T20:07:50Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2023-07-27T20:07:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:50Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07: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]:48246->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:48246->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:60985->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:60985->[::1]:53: read: connection refused" time="2023-07-27T20:07:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:50Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07: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]:37717->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:37717->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:34964->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:34964->[::1]:53: read: connection refused" time="2023-07-27T20:07:50Z" level=debug msg="Handle update commit state" time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2023-07-27T20:07:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules750176069/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules750176069/work/payloads/0000/tree" time="2023-07-27T20:07:50Z" level=debug msg="Committing new artifact name: artifact-name" time="2023-07-27T20:07:50Z" level=debug msg="Committing new artifact group name: " time="2023-07-27T20:07:50Z" level=debug msg="Committing new artifact type-info provides" time="2023-07-27T20:07:50Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" time="2023-07-27T20:07:50Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" time="2023-07-27T20:07:50Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2023-07-27T20:07:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:50Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:50Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules750176069/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules750176069/work/payloads/0000/tree" time="2023-07-27T20:07:50Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" time="2023-07-27T20:07:50Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:50Z" level=debug msg="Reporting complete" time="2023-07-27T20:07:50Z" level=debug msg="Returning artifact name artifact-name from database." --- PASS: TestStateTransitionsWithUpdateModules (0.11s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyReboot state_test.go:4717: Error in ArtifactVerifyReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:07:50Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:07:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:50Z" level=debug msg="Handle update check state" time="2023-07-27T20:07:50Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:07:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:50Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07: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]:33537->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:33537->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:58459->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:58459->[::1]:53: read: connection refused" time="2023-07-27T20:07:50Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:50Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:50Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:07:50Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules812004370/device_type" time="2023-07-27T20:07:50Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:50Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:50Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:50Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:50Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules812004370/artifact_info file." time="2023-07-27T20:07:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules812004370/artifact_info" time="2023-07-27T20:07:50Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:50Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules812004370/artifact_info" time="2023-07-27T20:07:50Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules812004370/device_type" time="2023-07-27T20:07:50Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:50Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:50Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules812004370/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules812004370/work/payloads/0000/tree" time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules812004370/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules812004370/work/payloads/0000/tree" time="2023-07-27T20:07:50Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:50Z" level=debug msg="Module supports rollback" time="2023-07-27T20:07:50Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:07:50Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:07:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:50Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07: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]:58786->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:58786->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:51069->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:51069->[::1]:53: read: connection refused" time="2023-07-27T20:07:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:50Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07: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]:47984->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:47984->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:47503->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:47503->[::1]:53: read: connection refused" time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules812004370/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules812004370/work/payloads/0000/tree" time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:07:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules812004370/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules812004370/work/payloads/0000/tree" time="2023-07-27T20:07:50Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:50Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:07:50Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:07:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:50Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07: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]:35853->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:35853->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:47156->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:47156->[::1]:53: read: connection refused" time="2023-07-27T20:07:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:50Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07: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]:34269->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:34269->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:43726->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:43726->[::1]:53: read: connection refused" time="2023-07-27T20:07:50Z" level=debug msg="Handling reboot state" time="2023-07-27T20:07:50Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2023-07-27T20:07:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules812004370/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules812004370/work/payloads/0000/tree" time="2023-07-27T20:07:50Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:07:50Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2023-07-27T20:07:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules812004370/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules812004370/work/payloads/0000/tree" time="2023-07-27T20:07:50Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:50Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:50Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2023-07-27T20:07:50Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:07:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:50Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2023-07-27T20:07: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]:57066->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:57066->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:40551->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:40551->[::1]:53: read: connection refused" time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:51Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07: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]:45776->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:45776->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:44601->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:44601->[::1]:53: read: connection refused" time="2023-07-27T20:07:51Z" level=info msg="Performing rollback" time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:07:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules812004370/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules812004370/work/payloads/0000/tree" time="2023-07-27T20:07:51Z" level=debug msg="Will try to rollback reboot the device" time="2023-07-27T20:07:51Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:51Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07: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]:34151->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:34151->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:53300->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:53300->[::1]:53: read: connection refused" time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:51Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07: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]:36355->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:36355->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:36671->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:36671->[::1]:53: read: connection refused" time="2023-07-27T20:07:51Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:07:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules812004370/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules812004370/work/payloads/0000/tree" time="2023-07-27T20:07:51Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:07:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules812004370/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules812004370/work/payloads/0000/tree" time="2023-07-27T20:07:51Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:07:51Z" level=debug msg="Handling state after rollback reboot" time="2023-07-27T20:07:51Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:51Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07: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]:51167->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:51167->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:39864->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:39864->[::1]:53: read: connection refused" time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07: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]:33338->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:33338->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:51151->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:51151->[::1]:53: read: connection refused" time="2023-07-27T20:07:51Z" level=debug msg="Handle update error state" time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:07:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules812004370/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules812004370/work/payloads/0000/tree" time="2023-07-27T20:07:51Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:51Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:51Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules812004370/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules812004370/work/payloads/0000/tree" time="2023-07-27T20:07:51Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:51Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:51Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:07:51Z" level=debug msg="Reporting complete" time="2023-07-27T20:07:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules812004370/artifact_info file." time="2023-07-27T20:07:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules812004370/artifact_info" time="2023-07-27T20:07:51Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:51Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.59s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyReboot state_test.go:4717: Killed in ArtifactVerifyReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:07:51Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:51Z" level=debug msg="Handle update check state" time="2023-07-27T20:07:51Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:51Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07: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]:55710->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:55710->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:40387->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:40387->[::1]:53: read: connection refused" time="2023-07-27T20:07:51Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:51Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:51Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:07:51Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules496680803/device_type" time="2023-07-27T20:07:51Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:51Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:51Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:51Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules496680803/artifact_info file." time="2023-07-27T20:07:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules496680803/artifact_info" time="2023-07-27T20:07:51Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:51Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules496680803/artifact_info" time="2023-07-27T20:07:51Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules496680803/device_type" time="2023-07-27T20:07:51Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:51Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:51Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules496680803/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules496680803/work/payloads/0000/tree" time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules496680803/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules496680803/work/payloads/0000/tree" time="2023-07-27T20:07:51Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:51Z" level=debug msg="Module supports rollback" time="2023-07-27T20:07:51Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:07:51Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:51Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07: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]:48767->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:48767->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:46162->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:46162->[::1]:53: read: connection refused" time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:51Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07: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]:54176->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:54176->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:43054->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:43054->[::1]:53: read: connection refused" time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules496680803/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules496680803/work/payloads/0000/tree" time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:07:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules496680803/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules496680803/work/payloads/0000/tree" time="2023-07-27T20:07:51Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:51Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:07:51Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:51Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07: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]:40520->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:40520->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:59692->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:59692->[::1]:53: read: connection refused" time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:51Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07: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]:54313->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:54313->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:33767->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:33767->[::1]:53: read: connection refused" time="2023-07-27T20:07:51Z" level=debug msg="Handling reboot state" time="2023-07-27T20:07:51Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2023-07-27T20:07:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules496680803/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules496680803/work/payloads/0000/tree" time="2023-07-27T20:07:51Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2023-07-27T20:07:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules496680803/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules496680803/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="2023-07-27T20:07:51Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:07:51Z" level=info msg="Handling loaded state: after-reboot" time="2023-07-27T20:07:51Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:51Z" level=error msg="Mender shut down in state: after-reboot" time="2023-07-27T20:07:51Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2023-07-27T20:07:51Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:51Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07: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]:42256->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:42256->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:56827->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:56827->[::1]:53: read: connection refused" time="2023-07-27T20:07:51Z" level=info msg="Performing rollback" time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:07:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules496680803/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules496680803/work/payloads/0000/tree" time="2023-07-27T20:07:51Z" level=debug msg="Will try to rollback reboot the device" time="2023-07-27T20:07:51Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:51Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07: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]:34755->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:34755->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:42133->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:42133->[::1]:53: read: connection refused" time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:51Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07: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]:39481->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:39481->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:51195->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:51195->[::1]:53: read: connection refused" time="2023-07-27T20:07:51Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:07:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules496680803/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules496680803/work/payloads/0000/tree" time="2023-07-27T20:07:51Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:07:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules496680803/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules496680803/work/payloads/0000/tree" time="2023-07-27T20:07:51Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:07:51Z" level=debug msg="Handling state after rollback reboot" time="2023-07-27T20:07:51Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:51Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07: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]:54937->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:54937->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:53899->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:53899->[::1]:53: read: connection refused" time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07: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]:39958->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:39958->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:46587->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:46587->[::1]:53: read: connection refused" time="2023-07-27T20:07:51Z" level=debug msg="Handle update error state" time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:07:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules496680803/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules496680803/work/payloads/0000/tree" time="2023-07-27T20:07:51Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:51Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:51Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:07:51Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules496680803/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules496680803/work/payloads/0000/tree" time="2023-07-27T20:07:51Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:07:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:51Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:51Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:07:51Z" level=debug msg="Reporting complete" time="2023-07-27T20:07:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules496680803/artifact_info file." time="2023-07-27T20:07:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules496680803/artifact_info" time="2023-07-27T20:07:51Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:51Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.28s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback state_test.go:4717: Error in ArtifactRollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:07:52Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:52Z" level=debug msg="Handle update check state" time="2023-07-27T20:07:52Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:52Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07: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]:45852->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:45852->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:50221->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:50221->[::1]:53: read: connection refused" time="2023-07-27T20:07:52Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:52Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:52Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:07:52Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules569058696/device_type" time="2023-07-27T20:07:52Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:52Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:52Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:52Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:52Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:52Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules569058696/artifact_info file." time="2023-07-27T20:07:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules569058696/artifact_info" time="2023-07-27T20:07:52Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:52Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules569058696/artifact_info" time="2023-07-27T20:07:52Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules569058696/device_type" time="2023-07-27T20:07:52Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:52Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:52Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules569058696/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules569058696/work/payloads/0000/tree" time="2023-07-27T20:07:52Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:07:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules569058696/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules569058696/work/payloads/0000/tree" time="2023-07-27T20:07:52Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:52Z" level=debug msg="Module supports rollback" time="2023-07-27T20:07:52Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:07:52Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:52Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07: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]:47037->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:47037->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:39005->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:39005->[::1]:53: read: connection refused" time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:52Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07: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]:54338->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:54338->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:57239->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:57239->[::1]:53: read: connection refused" time="2023-07-27T20:07:52Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules569058696/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules569058696/work/payloads/0000/tree" time="2023-07-27T20:07:52Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:07:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules569058696/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules569058696/work/payloads/0000/tree" time="2023-07-27T20:07:52Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:52Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:07:52Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:52Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07: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]:43265->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:43265->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:34219->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:34219->[::1]:53: read: connection refused" time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:52Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07: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]:38028->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:38028->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:46238->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:46238->[::1]:53: read: connection refused" time="2023-07-27T20:07:52Z" level=debug msg="Handling reboot state" time="2023-07-27T20:07:52Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:07:52Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2023-07-27T20:07:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules569058696/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules569058696/work/payloads/0000/tree" time="2023-07-27T20:07:52Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:07:52Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2023-07-27T20:07:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules569058696/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules569058696/work/payloads/0000/tree" time="2023-07-27T20:07:52Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:52Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:52Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2023-07-27T20:07:52Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:52Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2023-07-27T20:07: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]:42300->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:42300->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:52485->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:52485->[::1]:53: read: connection refused" time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:52Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07: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]:37669->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:37669->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:55689->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:55689->[::1]:53: read: connection refused" time="2023-07-27T20:07:52Z" level=info msg="Performing rollback" time="2023-07-27T20:07:52Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:07:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules569058696/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules569058696/work/payloads/0000/tree" time="2023-07-27T20:07:52Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:52Z" level=error msg="Rollback failed: Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:52Z" level=error msg="fatal error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:52Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" time="2023-07-27T20:07:52Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:52Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07: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]:57775->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:57775->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:57499->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:57499->[::1]:53: read: connection refused" time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:52Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07: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]:54728->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:54728->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:54725->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:54725->[::1]:53: read: connection refused" time="2023-07-27T20:07:52Z" level=debug msg="Handle update error state" time="2023-07-27T20:07:52Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:07:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules569058696/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules569058696/work/payloads/0000/tree" time="2023-07-27T20:07:52Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:52Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:52Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:07:52Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules569058696/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules569058696/work/payloads/0000/tree" time="2023-07-27T20:07:52Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:52Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:52Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:07:52Z" level=debug msg="Reporting complete" time="2023-07-27T20:07:52Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." --- PASS: TestStateTransitionsWithUpdateModules (0.59s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback state_test.go:4717: Killed in ArtifactRollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:07:52Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:52Z" level=debug msg="Handle update check state" time="2023-07-27T20:07:52Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:52Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07: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]:40651->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:40651->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:52150->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:52150->[::1]:53: read: connection refused" time="2023-07-27T20:07:52Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:52Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:52Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:07:52Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules252990225/device_type" time="2023-07-27T20:07:52Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:52Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:52Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:52Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:52Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:52Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules252990225/artifact_info file." time="2023-07-27T20:07:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules252990225/artifact_info" time="2023-07-27T20:07:52Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:52Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules252990225/artifact_info" time="2023-07-27T20:07:52Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules252990225/device_type" time="2023-07-27T20:07:52Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:52Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:52Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:52Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252990225/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules252990225/work/payloads/0000/tree" time="2023-07-27T20:07:52Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:07:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252990225/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules252990225/work/payloads/0000/tree" time="2023-07-27T20:07:52Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:52Z" level=debug msg="Module supports rollback" time="2023-07-27T20:07:52Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:07:52Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:52Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07: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]:51158->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:51158->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:37153->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:37153->[::1]:53: read: connection refused" time="2023-07-27T20:07:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:52Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07: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]:54266->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:54266->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:52119->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:52119->[::1]:53: read: connection refused" time="2023-07-27T20:07:52Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252990225/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules252990225/work/payloads/0000/tree" time="2023-07-27T20:07:53Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:07:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252990225/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules252990225/work/payloads/0000/tree" time="2023-07-27T20:07:53Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:53Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:07:53Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:07:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:53Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48275->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48275->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53504->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53504->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:53Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41111->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41111->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60940->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60940->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=debug msg="Handling reboot state" time="2023-07-27T20:07:53Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:07:53Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2023-07-27T20:07:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252990225/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules252990225/work/payloads/0000/tree" time="2023-07-27T20:07:53Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:07:53Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2023-07-27T20:07:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252990225/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules252990225/work/payloads/0000/tree" time="2023-07-27T20:07:53Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:53Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:53Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2023-07-27T20:07:53Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:07:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:53Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38117->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38117->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33384->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33384->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:53Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40668->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40668->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41132->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41132->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=info msg="Performing rollback" time="2023-07-27T20:07:53Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:07:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252990225/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules252990225/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="2023-07-27T20:07:53Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:07:53Z" level=info msg="Handling loaded state: rollback" time="2023-07-27T20:07:53Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:53Z" level=error msg="Mender shut down in state: rollback" time="2023-07-27T20:07:53Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2023-07-27T20:07:53Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:07:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:53Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59843->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59843->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53296->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53296->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=info msg="Performing rollback" time="2023-07-27T20:07:53Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:07:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252990225/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules252990225/work/payloads/0000/tree" time="2023-07-27T20:07:53Z" level=debug msg="Will try to rollback reboot the device" time="2023-07-27T20:07:53Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:07:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:53Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38160->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38160->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60926->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60926->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49527->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49527->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54723->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54723->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:07:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:07:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252990225/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules252990225/work/payloads/0000/tree" time="2023-07-27T20:07:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:07:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:07:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252990225/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules252990225/work/payloads/0000/tree" time="2023-07-27T20:07:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:07:53Z" level=debug msg="Handling state after rollback reboot" time="2023-07-27T20:07:53Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2023-07-27T20:07:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:53Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42911->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42911->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35103->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35103->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:53Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54630->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54630->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33911->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33911->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=debug msg="Handle update error state" time="2023-07-27T20:07:53Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:07:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252990225/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules252990225/work/payloads/0000/tree" time="2023-07-27T20:07:53Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:07:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:53Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:53Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:07:53Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules252990225/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules252990225/work/payloads/0000/tree" time="2023-07-27T20:07:53Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:07:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:53Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:53Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:07:53Z" level=debug msg="Reporting complete" time="2023-07-27T20:07:53Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules252990225/artifact_info file." time="2023-07-27T20:07:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules252990225/artifact_info" time="2023-07-27T20:07:53Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:53Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.23s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot state_test.go:4717: Error in ArtifactRollbackReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:07:53Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:07:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:53Z" level=debug msg="Handle update check state" time="2023-07-27T20:07:53Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:07:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:53Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53946->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53946->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58187->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58187->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:53Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:53Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:07:53Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules081482190/device_type" time="2023-07-27T20:07:53Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:53Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:53Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:53Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:53Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:53Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules081482190/artifact_info file." time="2023-07-27T20:07:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules081482190/artifact_info" time="2023-07-27T20:07:53Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:53Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules081482190/artifact_info" time="2023-07-27T20:07:53Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules081482190/device_type" time="2023-07-27T20:07:53Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:53Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:53Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:53Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules081482190/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules081482190/work/payloads/0000/tree" time="2023-07-27T20:07:53Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:07:53Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules081482190/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules081482190/work/payloads/0000/tree" time="2023-07-27T20:07:53Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:53Z" level=debug msg="Module supports rollback" time="2023-07-27T20:07:53Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:07:53Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:07:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:53Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44991->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44991->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45341->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45341->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:53Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53965->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53965->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52859->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52859->[::1]:53: read: connection refused" time="2023-07-27T20:07:53Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules081482190/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules081482190/work/payloads/0000/tree" time="2023-07-27T20:07:53Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:07:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules081482190/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules081482190/work/payloads/0000/tree" time="2023-07-27T20:07:54Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:54Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:07:54Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:54Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47298->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47298->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55020->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55020->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:54Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40527->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40527->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37269->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37269->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=debug msg="Handling reboot state" time="2023-07-27T20:07:54Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:07:54Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2023-07-27T20:07:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules081482190/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules081482190/work/payloads/0000/tree" time="2023-07-27T20:07:54Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:07:54Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2023-07-27T20:07:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules081482190/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules081482190/work/payloads/0000/tree" time="2023-07-27T20:07:54Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:54Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:54Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2023-07-27T20:07:54Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:54Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59957->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59957->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42604->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42604->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:54Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41020->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41020->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34549->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34549->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=info msg="Performing rollback" time="2023-07-27T20:07:54Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:07:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules081482190/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules081482190/work/payloads/0000/tree" time="2023-07-27T20:07:54Z" level=debug msg="Will try to rollback reboot the device" time="2023-07-27T20:07:54Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:54Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39534->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39534->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45371->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45371->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:54Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51216->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51216->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43090->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43090->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:07:54Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:07:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules081482190/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules081482190/work/payloads/0000/tree" time="2023-07-27T20:07:54Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:54Z" level=error msg="Error rebooting device: Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:54Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:07:54Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:07:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules081482190/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules081482190/work/payloads/0000/tree" time="2023-07-27T20:07:54Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:07:54Z" level=debug msg="Handling state after rollback reboot" time="2023-07-27T20:07:54Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:54Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56055->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56055->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58267->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58267->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:54Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50457->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50457->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36346->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36346->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=debug msg="Handle update error state" time="2023-07-27T20:07:54Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:07:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules081482190/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules081482190/work/payloads/0000/tree" time="2023-07-27T20:07:54Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:54Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:54Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:07:54Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules081482190/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules081482190/work/payloads/0000/tree" time="2023-07-27T20:07:54Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:54Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:54Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:07:54Z" level=debug msg="Reporting complete" time="2023-07-27T20:07:54Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules081482190/artifact_info file." time="2023-07-27T20:07:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules081482190/artifact_info" time="2023-07-27T20:07:54Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:54Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.73s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot state_test.go:4717: Killed in ArtifactRollbackReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:07:54Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:54Z" level=debug msg="Handle update check state" time="2023-07-27T20:07:54Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:54Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43056->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43056->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60518->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60518->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:54Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:54Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:07:54Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules633048015/device_type" time="2023-07-27T20:07:54Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:54Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:54Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:54Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:54Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:54Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:54Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules633048015/artifact_info file." time="2023-07-27T20:07:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules633048015/artifact_info" time="2023-07-27T20:07:54Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:54Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules633048015/artifact_info" time="2023-07-27T20:07:54Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules633048015/device_type" time="2023-07-27T20:07:54Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:54Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:54Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:54Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules633048015/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules633048015/work/payloads/0000/tree" time="2023-07-27T20:07:54Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:07:54Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules633048015/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules633048015/work/payloads/0000/tree" time="2023-07-27T20:07:54Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:54Z" level=debug msg="Module supports rollback" time="2023-07-27T20:07:54Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:07:54Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:54Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36031->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36031->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37652->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37652->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:54Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60297->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60297->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47799->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47799->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules633048015/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules633048015/work/payloads/0000/tree" time="2023-07-27T20:07:54Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:07:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules633048015/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules633048015/work/payloads/0000/tree" time="2023-07-27T20:07:54Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:54Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:07:54Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:54Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46278->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46278->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54191->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54191->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:54Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34098->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34098->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60374->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60374->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=debug msg="Handling reboot state" time="2023-07-27T20:07:54Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:07:54Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2023-07-27T20:07:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules633048015/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules633048015/work/payloads/0000/tree" time="2023-07-27T20:07:54Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:07:54Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2023-07-27T20:07:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules633048015/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules633048015/work/payloads/0000/tree" time="2023-07-27T20:07:54Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:54Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:54Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2023-07-27T20:07:54Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:54Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57448->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57448->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39429->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39429->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:54Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37347->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37347->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39949->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39949->[::1]:53: read: connection refused" time="2023-07-27T20:07:54Z" level=info msg="Performing rollback" time="2023-07-27T20:07:54Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:07:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules633048015/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules633048015/work/payloads/0000/tree" time="2023-07-27T20:07:55Z" level=debug msg="Will try to rollback reboot the device" time="2023-07-27T20:07:55Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:07:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:55Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47868->[::1]:53: read: connection refused" time="2023-07-27T20:07:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47868->[::1]:53: read: connection refused" time="2023-07-27T20:07:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34106->[::1]:53: read: connection refused" time="2023-07-27T20:07:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34106->[::1]:53: read: connection refused" time="2023-07-27T20:07:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:55Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42856->[::1]:53: read: connection refused" time="2023-07-27T20:07:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42856->[::1]:53: read: connection refused" time="2023-07-27T20:07:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49150->[::1]:53: read: connection refused" time="2023-07-27T20:07:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49150->[::1]:53: read: connection refused" time="2023-07-27T20:07:55Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:07:55Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:07:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules633048015/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules633048015/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="2023-07-27T20:07:55Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:07:55Z" level=info msg="Handling loaded state: rollback-reboot" time="2023-07-27T20:07:55Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:55Z" level=info msg="Mender shut down in state: rollback-reboot" time="2023-07-27T20:07:55Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:07:55Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:07:55Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:07:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules633048015/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules633048015/work/payloads/0000/tree" time="2023-07-27T20:07:55Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:07:55Z" level=debug msg="Handling state after rollback reboot" time="2023-07-27T20:07:55Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2023-07-27T20:07:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:55Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43566->[::1]:53: read: connection refused" time="2023-07-27T20:07:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43566->[::1]:53: read: connection refused" time="2023-07-27T20:07:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39950->[::1]:53: read: connection refused" time="2023-07-27T20:07:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39950->[::1]:53: read: connection refused" time="2023-07-27T20:07:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:55Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41919->[::1]:53: read: connection refused" time="2023-07-27T20:07:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41919->[::1]:53: read: connection refused" time="2023-07-27T20:07:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55441->[::1]:53: read: connection refused" time="2023-07-27T20:07:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55441->[::1]:53: read: connection refused" time="2023-07-27T20:07:55Z" level=debug msg="Handle update error state" time="2023-07-27T20:07:55Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:07:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules633048015/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules633048015/work/payloads/0000/tree" time="2023-07-27T20:07:55Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:07:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:55Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:55Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:07:55Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules633048015/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules633048015/work/payloads/0000/tree" time="2023-07-27T20:07:55Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:07:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:55Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:55Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:07:55Z" level=debug msg="Reporting complete" time="2023-07-27T20:07:55Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules633048015/artifact_info file." time="2023-07-27T20:07:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules633048015/artifact_info" time="2023-07-27T20:07:55Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:55Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.14s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyRollbackReboot state_test.go:4717: Error in ArtifactVerifyRollbackReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:07:55Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:07:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:55Z" level=debug msg="Handle update check state" time="2023-07-27T20:07:55Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:07:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:55Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56819->[::1]:53: read: connection refused" time="2023-07-27T20:07:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56819->[::1]:53: read: connection refused" time="2023-07-27T20:07:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49215->[::1]:53: read: connection refused" time="2023-07-27T20:07:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49215->[::1]:53: read: connection refused" time="2023-07-27T20:07:55Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:55Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:55Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:07:55Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules513646692/device_type" time="2023-07-27T20:07:55Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:55Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:55Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:55Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:55Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:55Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:55Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules513646692/artifact_info file." time="2023-07-27T20:07:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules513646692/artifact_info" time="2023-07-27T20:07:55Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:55Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules513646692/artifact_info" time="2023-07-27T20:07:55Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules513646692/device_type" time="2023-07-27T20:07:55Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:55Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:55Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:55Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513646692/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules513646692/work/payloads/0000/tree" time="2023-07-27T20:07:55Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:07:55Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513646692/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules513646692/work/payloads/0000/tree" time="2023-07-27T20:07:55Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:55Z" level=debug msg="Module supports rollback" time="2023-07-27T20:07:55Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:07:55Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:07:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:55Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56181->[::1]:53: read: connection refused" time="2023-07-27T20:07:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56181->[::1]:53: read: connection refused" time="2023-07-27T20:07:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59276->[::1]:53: read: connection refused" time="2023-07-27T20:07:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59276->[::1]:53: read: connection refused" time="2023-07-27T20:07:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:55Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57887->[::1]:53: read: connection refused" time="2023-07-27T20:07:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57887->[::1]:53: read: connection refused" time="2023-07-27T20:07:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54100->[::1]:53: read: connection refused" time="2023-07-27T20:07:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54100->[::1]:53: read: connection refused" time="2023-07-27T20:07:55Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513646692/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules513646692/work/payloads/0000/tree" time="2023-07-27T20:07:56Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:07:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513646692/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules513646692/work/payloads/0000/tree" time="2023-07-27T20:07:56Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:56Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:07:56Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:56Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52507->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52507->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60433->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60433->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:56Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56713->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56713->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46427->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46427->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=debug msg="Handling reboot state" time="2023-07-27T20:07:56Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:07:56Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2023-07-27T20:07:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513646692/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules513646692/work/payloads/0000/tree" time="2023-07-27T20:07:56Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:07:56Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2023-07-27T20:07:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513646692/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules513646692/work/payloads/0000/tree" time="2023-07-27T20:07:56Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:56Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:56Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2023-07-27T20:07:56Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:56Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46052->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46052->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38508->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38508->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:56Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33115->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33115->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60572->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60572->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=info msg="Performing rollback" time="2023-07-27T20:07:56Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:07:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513646692/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules513646692/work/payloads/0000/tree" time="2023-07-27T20:07:56Z" level=debug msg="Will try to rollback reboot the device" time="2023-07-27T20:07:56Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:56Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55562->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55562->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51554->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51554->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:56Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52128->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52128->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39548->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39548->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:07:56Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:07:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513646692/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules513646692/work/payloads/0000/tree" time="2023-07-27T20:07:56Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:07:56Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:07:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513646692/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules513646692/work/payloads/0000/tree" time="2023-07-27T20:07:56Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:56Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:56Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:56Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52474->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52474->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53735->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53735->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:56Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35617->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35617->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39588->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39588->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:07:56Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:07:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513646692/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules513646692/work/payloads/0000/tree" time="2023-07-27T20:07:56Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:07:56Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:07:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513646692/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules513646692/work/payloads/0000/tree" time="2023-07-27T20:07:56Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:07:56Z" level=debug msg="Handling state after rollback reboot" time="2023-07-27T20:07:56Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:56Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59908->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59908->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49214->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49214->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:56Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56665->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56665->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40761->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40761->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=debug msg="Handle update error state" time="2023-07-27T20:07:56Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:07:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513646692/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules513646692/work/payloads/0000/tree" time="2023-07-27T20:07:56Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:56Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:56Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:07:56Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513646692/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules513646692/work/payloads/0000/tree" time="2023-07-27T20:07:56Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:56Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:56Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:07:56Z" level=debug msg="Reporting complete" time="2023-07-27T20:07:56Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules513646692/artifact_info file." time="2023-07-27T20:07:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules513646692/artifact_info" time="2023-07-27T20:07:56Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:56Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (1.21s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyRollbackReboot state_test.go:4717: Killed in ArtifactVerifyRollbackReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:07:56Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:56Z" level=debug msg="Handle update check state" time="2023-07-27T20:07:56Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:56Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39563->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39563->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55371->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55371->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:56Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:56Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:07:56Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules913674525/device_type" time="2023-07-27T20:07:56Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:56Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:56Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:56Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:56Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:56Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:56Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules913674525/artifact_info file." time="2023-07-27T20:07:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules913674525/artifact_info" time="2023-07-27T20:07:56Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:56Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules913674525/artifact_info" time="2023-07-27T20:07:56Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules913674525/device_type" time="2023-07-27T20:07:56Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:56Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:56Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:56Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules913674525/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules913674525/work/payloads/0000/tree" time="2023-07-27T20:07:56Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:07:56Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules913674525/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules913674525/work/payloads/0000/tree" time="2023-07-27T20:07:56Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:56Z" level=debug msg="Module supports rollback" time="2023-07-27T20:07:56Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:07:56Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:56Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60303->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60303->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50824->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50824->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:56Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57103->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57103->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55798->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55798->[::1]:53: read: connection refused" time="2023-07-27T20:07:56Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules913674525/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules913674525/work/payloads/0000/tree" time="2023-07-27T20:07:56Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:07:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules913674525/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules913674525/work/payloads/0000/tree" time="2023-07-27T20:07:56Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:56Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:07:56Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:07:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:57Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07: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]:34116->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:34116->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:37463->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:37463->[::1]:53: read: connection refused" time="2023-07-27T20:07:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:57Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07: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]:47610->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:47610->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:45946->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:45946->[::1]:53: read: connection refused" time="2023-07-27T20:07:57Z" level=debug msg="Handling reboot state" time="2023-07-27T20:07:57Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:07:57Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2023-07-27T20:07:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules913674525/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules913674525/work/payloads/0000/tree" time="2023-07-27T20:07:57Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:07:57Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2023-07-27T20:07:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules913674525/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules913674525/work/payloads/0000/tree" time="2023-07-27T20:07:57Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:57Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:57Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2023-07-27T20:07:57Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:07:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:57Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2023-07-27T20:07: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]:52100->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:52100->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:49708->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:49708->[::1]:53: read: connection refused" time="2023-07-27T20:07:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:57Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07: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]:44618->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:44618->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:50449->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:50449->[::1]:53: read: connection refused" time="2023-07-27T20:07:57Z" level=info msg="Performing rollback" time="2023-07-27T20:07:57Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:07:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules913674525/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules913674525/work/payloads/0000/tree" time="2023-07-27T20:07:57Z" level=debug msg="Will try to rollback reboot the device" time="2023-07-27T20:07:57Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:07:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:57Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07: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]:36034->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:36034->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:36290->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:36290->[::1]:53: read: connection refused" time="2023-07-27T20:07:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:57Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07: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]:55681->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:55681->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:49001->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:49001->[::1]:53: read: connection refused" time="2023-07-27T20:07:57Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:07:57Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:07:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules913674525/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules913674525/work/payloads/0000/tree" time="2023-07-27T20:07:57Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:07:57Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:07:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules913674525/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules913674525/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="2023-07-27T20:07:57Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:07:57Z" level=info msg="Handling loaded state: verify-rollback-reboot" time="2023-07-27T20:07:57Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:57Z" level=error msg="Mender shut down in state: verify-rollback-reboot" time="2023-07-27T20:07:57Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:07:57Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:07:57Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:07:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules913674525/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules913674525/work/payloads/0000/tree" time="2023-07-27T20:07:57Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:07:57Z" level=debug msg="Handling state after rollback reboot" time="2023-07-27T20:07:57Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2023-07-27T20:07:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:57Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07: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]:57004->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:57004->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:42852->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:42852->[::1]:53: read: connection refused" time="2023-07-27T20:07:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:57Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07: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]:54182->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:54182->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:32807->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:32807->[::1]:53: read: connection refused" time="2023-07-27T20:07:57Z" level=debug msg="Handle update error state" time="2023-07-27T20:07:57Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:07:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules913674525/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules913674525/work/payloads/0000/tree" time="2023-07-27T20:07:57Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:07:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:57Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:57Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:07:57Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules913674525/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules913674525/work/payloads/0000/tree" time="2023-07-27T20:07:57Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:07:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:57Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:57Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:07:57Z" level=debug msg="Reporting complete" time="2023-07-27T20:07:57Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules913674525/artifact_info file." time="2023-07-27T20:07:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules913674525/artifact_info" time="2023-07-27T20:07:57Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:57Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.22s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure state_test.go:4717: Error in ArtifactFailure state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:07:57Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:07:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:57Z" level=debug msg="Handle update check state" time="2023-07-27T20:07:57Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:07:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:57Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07: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]:42484->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:42484->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:52791->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:52791->[::1]:53: read: connection refused" time="2023-07-27T20:07:57Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:57Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:57Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:07:57Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules427981514/device_type" time="2023-07-27T20:07:57Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:57Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:57Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:57Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:57Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:57Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:57Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules427981514/artifact_info file." time="2023-07-27T20:07:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules427981514/artifact_info" time="2023-07-27T20:07:57Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:57Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules427981514/artifact_info" time="2023-07-27T20:07:57Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules427981514/device_type" time="2023-07-27T20:07:57Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:57Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:57Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:57Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules427981514/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules427981514/work/payloads/0000/tree" time="2023-07-27T20:07:57Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:07:57Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules427981514/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules427981514/work/payloads/0000/tree" time="2023-07-27T20:07:57Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:57Z" level=debug msg="Module supports rollback" time="2023-07-27T20:07:57Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:07:57Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:07:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:57Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07: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]:40453->[::1]:53: read: connection refused" time="2023-07-27T20:07: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]:40453->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56092->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56092->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:58Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56868->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56868->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43749->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43749->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules427981514/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules427981514/work/payloads/0000/tree" time="2023-07-27T20:07:58Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:58Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:58Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" time="2023-07-27T20:07:58Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:58Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48132->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48132->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51520->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51520->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:58Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34626->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34626->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60885->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60885->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=info msg="Performing rollback" time="2023-07-27T20:07:58Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:07:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules427981514/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules427981514/work/payloads/0000/tree" time="2023-07-27T20:07:58Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:58Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48125->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48125->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53617->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53617->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:58Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47428->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47428->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37002->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37002->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=debug msg="Handle update error state" time="2023-07-27T20:07:58Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:07:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules427981514/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules427981514/work/payloads/0000/tree" time="2023-07-27T20:07:58Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:58Z" level=error msg="ArtifactFailure failed: Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:58Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:58Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:58Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:07:58Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules427981514/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules427981514/work/payloads/0000/tree" time="2023-07-27T20:07:58Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:58Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:58Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:07:58Z" level=debug msg="Reporting complete" time="2023-07-27T20:07:58Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules427981514/artifact_info file." time="2023-07-27T20:07:58Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules427981514/artifact_info" time="2023-07-27T20:07:58Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:58Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.46s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure state_test.go:4717: Killed in ArtifactFailure state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:07:58Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:58Z" level=debug msg="Handle update check state" time="2023-07-27T20:07:58Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:58Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59282->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59282->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36609->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36609->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:58Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:58Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:07:58Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:58Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules874505339/device_type" time="2023-07-27T20:07:58Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:58Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:58Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:58Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:58Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:58Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:58Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules874505339/artifact_info file." time="2023-07-27T20:07:58Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules874505339/artifact_info" time="2023-07-27T20:07:58Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:58Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:58Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules874505339/artifact_info" time="2023-07-27T20:07:58Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:58Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules874505339/device_type" time="2023-07-27T20:07:58Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:58Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:58Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:58Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules874505339/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules874505339/work/payloads/0000/tree" time="2023-07-27T20:07:58Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:07:58Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules874505339/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules874505339/work/payloads/0000/tree" time="2023-07-27T20:07:58Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:58Z" level=debug msg="Module supports rollback" time="2023-07-27T20:07:58Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:07:58Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:58Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41213->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41213->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33404->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33404->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:58Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48081->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48081->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38663->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38663->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules874505339/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules874505339/work/payloads/0000/tree" time="2023-07-27T20:07:58Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:58Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:58Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" time="2023-07-27T20:07:58Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:58Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55354->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55354->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60256->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60256->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:58Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55352->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55352->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58011->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58011->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=info msg="Performing rollback" time="2023-07-27T20:07:58Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:07:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules874505339/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules874505339/work/payloads/0000/tree" time="2023-07-27T20:07:58Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:58Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54575->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54575->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40974->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40974->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:58Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44610->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44610->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55640->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55640->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=debug msg="Handle update error state" time="2023-07-27T20:07:58Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:07:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules874505339/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules874505339/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="2023-07-27T20:07:58Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:07:58Z" level=info msg="Handling loaded state: update-error" time="2023-07-27T20:07:58Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:58Z" level=error msg="Mender shut down in state: update-error" time="2023-07-27T20:07:58Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2023-07-27T20:07:58Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:58Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52526->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52526->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56410->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56410->[::1]:53: read: connection refused" time="2023-07-27T20:07:58Z" level=debug msg="Handle update error state" time="2023-07-27T20:07:58Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:07:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules874505339/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules874505339/work/payloads/0000/tree" time="2023-07-27T20:07:58Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:58Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:58Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:07:58Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules874505339/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules874505339/work/payloads/0000/tree" time="2023-07-27T20:07:59Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:59Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:59Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:07:59Z" level=debug msg="Reporting complete" time="2023-07-27T20:07:59Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules874505339/artifact_info file." time="2023-07-27T20:07:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules874505339/artifact_info" time="2023-07-27T20:07:59Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:59Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.08s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_Cleanup state_test.go:4717: Error in Cleanup state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:07:59Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:59Z" level=debug msg="Handle update check state" time="2023-07-27T20:07:59Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:59Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39966->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39966->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33854->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33854->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:59Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:59Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:07:59Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules740764800/device_type" time="2023-07-27T20:07:59Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:59Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:59Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:59Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:59Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:59Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules740764800/artifact_info file." time="2023-07-27T20:07:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules740764800/artifact_info" time="2023-07-27T20:07:59Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:59Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules740764800/artifact_info" time="2023-07-27T20:07:59Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules740764800/device_type" time="2023-07-27T20:07:59Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:59Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:07:59Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:07:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules740764800/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules740764800/work/payloads/0000/tree" time="2023-07-27T20:07:59Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:07:59Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:07:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules740764800/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules740764800/work/payloads/0000/tree" time="2023-07-27T20:07:59Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:59Z" level=debug msg="Module supports rollback" time="2023-07-27T20:07:59Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:07:59Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:59Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36627->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36627->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58093->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58093->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:59Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34531->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34531->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40014->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40014->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:07:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules740764800/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules740764800/work/payloads/0000/tree" time="2023-07-27T20:07:59Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:07:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules740764800/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules740764800/work/payloads/0000/tree" time="2023-07-27T20:07:59Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:07:59Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:07:59Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:59Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33900->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33900->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53279->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53279->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:59Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49900->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49900->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43287->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43287->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=debug msg="Handling reboot state" time="2023-07-27T20:07:59Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:07:59Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2023-07-27T20:07:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules740764800/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules740764800/work/payloads/0000/tree" time="2023-07-27T20:07:59Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:07:59Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2023-07-27T20:07:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules740764800/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules740764800/work/payloads/0000/tree" time="2023-07-27T20:07:59Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:59Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:59Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2023-07-27T20:07:59Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:59Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41391->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41391->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38276->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38276->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:59Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60431->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60431->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48326->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48326->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=info msg="Performing rollback" time="2023-07-27T20:07:59Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:07:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules740764800/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules740764800/work/payloads/0000/tree" time="2023-07-27T20:07:59Z" level=debug msg="Will try to rollback reboot the device" time="2023-07-27T20:07:59Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:59Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50652->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50652->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48781->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48781->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:59Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47720->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47720->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41238->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41238->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:07:59Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:07:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules740764800/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules740764800/work/payloads/0000/tree" time="2023-07-27T20:07:59Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:07:59Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:07:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules740764800/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules740764800/work/payloads/0000/tree" time="2023-07-27T20:07:59Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:07:59Z" level=debug msg="Handling state after rollback reboot" time="2023-07-27T20:07:59Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:59Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44971->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44971->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54155->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54155->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:59Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41496->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41496->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54911->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54911->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=debug msg="Handle update error state" time="2023-07-27T20:07:59Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:07:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules740764800/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules740764800/work/payloads/0000/tree" time="2023-07-27T20:07:59Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:59Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:59Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:07:59Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:07:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules740764800/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules740764800/work/payloads/0000/tree" time="2023-07-27T20:07:59Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:59Z" level=error msg="Cleanup failed: Update module terminated abnormally: exit status 1" time="2023-07-27T20:07:59Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:59Z" level=debug msg="Handling update status report state" time="2023-07-27T20:07:59Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:07:59Z" level=debug msg="Reporting complete" time="2023-07-27T20:07:59Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules740764800/artifact_info file." time="2023-07-27T20:07:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules740764800/artifact_info" time="2023-07-27T20:07:59Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:59Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.65s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_Cleanup state_test.go:4717: Killed in Cleanup state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:07:59Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:59Z" level=debug msg="Handle update check state" time="2023-07-27T20:07:59Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:07:59Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40930->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40930->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40272->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40272->[::1]:53: read: connection refused" time="2023-07-27T20:07:59Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:07:59Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:07:59Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:07:59Z" level=debug msg="Handling update install state" time="2023-07-27T20:07:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules939369321/device_type" time="2023-07-27T20:07:59Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:59Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:07:59Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:07:59Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:07:59Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:07:59Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:07:59Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules939369321/artifact_info file." time="2023-07-27T20:07:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules939369321/artifact_info" time="2023-07-27T20:07:59Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:59Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:07:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules939369321/artifact_info" time="2023-07-27T20:07:59Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:07:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules939369321/device_type" time="2023-07-27T20:07:59Z" level=debug msg="device_type=test-device" time="2023-07-27T20:07:59Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:00Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:00Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules939369321/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules939369321/work/payloads/0000/tree" time="2023-07-27T20:08:00Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:00Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules939369321/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules939369321/work/payloads/0000/tree" time="2023-07-27T20:08:00Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:00Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:00Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:00Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:00Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32778->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32778->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45553->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45553->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:00Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50047->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50047->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46824->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46824->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules939369321/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules939369321/work/payloads/0000/tree" time="2023-07-27T20:08:00Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:08:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules939369321/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules939369321/work/payloads/0000/tree" time="2023-07-27T20:08:00Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:00Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:08:00Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:08:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:00Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54399->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54399->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47731->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47731->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:00Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43419->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43419->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34930->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34930->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=debug msg="Handling reboot state" time="2023-07-27T20:08:00Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:08:00Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2023-07-27T20:08:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules939369321/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules939369321/work/payloads/0000/tree" time="2023-07-27T20:08:00Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:08:00Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2023-07-27T20:08:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules939369321/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules939369321/work/payloads/0000/tree" time="2023-07-27T20:08:00Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:00Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:00Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2023-07-27T20:08:00Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:00Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55728->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55728->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37226->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37226->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:00Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56240->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56240->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34323->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34323->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=info msg="Performing rollback" time="2023-07-27T20:08:00Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:08:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules939369321/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules939369321/work/payloads/0000/tree" time="2023-07-27T20:08:00Z" level=debug msg="Will try to rollback reboot the device" time="2023-07-27T20:08:00Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:00Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33003->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33003->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33721->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33721->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:00Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34916->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34916->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34750->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34750->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:00Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules939369321/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules939369321/work/payloads/0000/tree" time="2023-07-27T20:08:00Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:00Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules939369321/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules939369321/work/payloads/0000/tree" time="2023-07-27T20:08:00Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:00Z" level=debug msg="Handling state after rollback reboot" time="2023-07-27T20:08:00Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:00Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39082->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39082->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33524->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33524->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:00Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56909->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56909->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42585->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42585->[::1]:53: read: connection refused" time="2023-07-27T20:08:00Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:00Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules939369321/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules939369321/work/payloads/0000/tree" time="2023-07-27T20:08:00Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:08:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:00Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:00Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:00Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules939369321/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules939369321/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="2023-07-27T20:08:01Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:01Z" level=info msg="Handling loaded state: cleanup" time="2023-07-27T20:08:01Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:01Z" level=error msg="Mender shut down in state: cleanup" time="2023-07-27T20:08:01Z" level=info msg="State transition: init [none] -> cleanup [Error]" time="2023-07-27T20:08:01Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:01Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules939369321/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules939369321/work/payloads/0000/tree" time="2023-07-27T20:08:01Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:01Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:01Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:01Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:01Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules939369321/artifact_info file." time="2023-07-27T20:08:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules939369321/artifact_info" time="2023-07-27T20:08:01Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:01Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.04s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit state_test.go:4717: Error in ArtifactCommit state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:08:01Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:01Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:01Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:01Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44186->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44186->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46643->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46643->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:01Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:01Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:01Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules048399622/device_type" time="2023-07-27T20:08:01Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:01Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:01Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:01Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:01Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules048399622/artifact_info file." time="2023-07-27T20:08:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules048399622/artifact_info" time="2023-07-27T20:08:01Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:01Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules048399622/artifact_info" time="2023-07-27T20:08:01Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules048399622/device_type" time="2023-07-27T20:08:01Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:01Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules048399622/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules048399622/work/payloads/0000/tree" time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules048399622/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules048399622/work/payloads/0000/tree" time="2023-07-27T20:08:01Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:01Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:01Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:01Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:01Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32910->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32910->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33736->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33736->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:01Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34193->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34193->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59571->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59571->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules048399622/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules048399622/work/payloads/0000/tree" time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules048399622/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules048399622/work/payloads/0000/tree" time="2023-07-27T20:08:01Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:01Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:08:01Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:01Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47497->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47497->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46292->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46292->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:01Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33854->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33854->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36553->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36553->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=debug msg="Handling reboot state" time="2023-07-27T20:08:01Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules048399622/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules048399622/work/payloads/0000/tree" time="2023-07-27T20:08:01Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules048399622/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules048399622/work/payloads/0000/tree" time="2023-07-27T20:08:01Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:08:01Z" level=debug msg="Handling state after reboot" time="2023-07-27T20:08:01Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:01Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43921->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43921->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49720->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49720->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:01Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52837->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52837->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41658->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41658->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=debug msg="Handle update commit state" time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules048399622/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules048399622/work/payloads/0000/tree" time="2023-07-27T20:08:01Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:01Z" level=error msg="transient error: update commit failed: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:01Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" time="2023-07-27T20:08:01Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:01Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58860->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58860->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53077->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53077->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:01Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45242->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45242->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52817->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52817->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=info msg="Performing rollback" time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules048399622/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules048399622/work/payloads/0000/tree" time="2023-07-27T20:08:01Z" level=debug msg="Will try to rollback reboot the device" time="2023-07-27T20:08:01Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:01Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46156->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46156->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48316->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48316->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:01Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53373->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53373->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59017->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59017->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules048399622/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules048399622/work/payloads/0000/tree" time="2023-07-27T20:08:01Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules048399622/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules048399622/work/payloads/0000/tree" time="2023-07-27T20:08:01Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:01Z" level=debug msg="Handling state after rollback reboot" time="2023-07-27T20:08:01Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:01Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50870->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50870->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57329->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57329->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:01Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59213->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59213->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43686->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43686->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules048399622/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules048399622/work/payloads/0000/tree" time="2023-07-27T20:08:01Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:01Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:01Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules048399622/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules048399622/work/payloads/0000/tree" time="2023-07-27T20:08:01Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:01Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:01Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:01Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:01Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules048399622/artifact_info file." time="2023-07-27T20:08:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules048399622/artifact_info" time="2023-07-27T20:08:01Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:01Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.51s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit state_test.go:4717: Killed in ArtifactCommit state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:08:01Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:01Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:01Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:01Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40475->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40475->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35939->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35939->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:01Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:01Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:01Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules719620967/device_type" time="2023-07-27T20:08:01Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:01Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:01Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:01Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:01Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules719620967/artifact_info file." time="2023-07-27T20:08:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules719620967/artifact_info" time="2023-07-27T20:08:01Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:01Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules719620967/artifact_info" time="2023-07-27T20:08:01Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules719620967/device_type" time="2023-07-27T20:08:01Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:01Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:01Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules719620967/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules719620967/work/payloads/0000/tree" time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules719620967/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules719620967/work/payloads/0000/tree" time="2023-07-27T20:08:01Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:01Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:01Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:01Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:01Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57682->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57682->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33589->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33589->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:01Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37072->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37072->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60635->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60635->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules719620967/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules719620967/work/payloads/0000/tree" time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules719620967/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules719620967/work/payloads/0000/tree" time="2023-07-27T20:08:01Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:01Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:08:01Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:01Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53760->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53760->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51778->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51778->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:01Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52385->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52385->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57860->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57860->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=debug msg="Handling reboot state" time="2023-07-27T20:08:01Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules719620967/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules719620967/work/payloads/0000/tree" time="2023-07-27T20:08:01Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:08:01Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2023-07-27T20:08:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules719620967/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules719620967/work/payloads/0000/tree" time="2023-07-27T20:08:01Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:08:01Z" level=debug msg="Handling state after reboot" time="2023-07-27T20:08:01Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2023-07-27T20:08:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:01Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48290->[::1]:53: read: connection refused" time="2023-07-27T20:08:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48290->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:38922->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:38922->[::1]:53: read: connection refused" time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:02Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08: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]:48725->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:48725->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:50086->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:50086->[::1]:53: read: connection refused" time="2023-07-27T20:08:02Z" level=debug msg="Handle update commit state" time="2023-07-27T20:08:02Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2023-07-27T20:08:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules719620967/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules719620967/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="2023-07-27T20:08:02Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:02Z" level=info msg="Handling loaded state: update-commit" time="2023-07-27T20:08:02Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:02Z" level=error msg="Mender shut down in state: update-commit" time="2023-07-27T20:08:02Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2023-07-27T20:08:02Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:02Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08: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]:40306->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:40306->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:60204->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:60204->[::1]:53: read: connection refused" time="2023-07-27T20:08:02Z" level=info msg="Performing rollback" time="2023-07-27T20:08:02Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:08:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules719620967/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules719620967/work/payloads/0000/tree" time="2023-07-27T20:08:02Z" level=debug msg="Will try to rollback reboot the device" time="2023-07-27T20:08:02Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:02Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08: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]:57744->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:57744->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:57633->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:57633->[::1]:53: read: connection refused" time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:02Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08: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]:39751->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:39751->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:40221->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:40221->[::1]:53: read: connection refused" time="2023-07-27T20:08:02Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:02Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules719620967/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules719620967/work/payloads/0000/tree" time="2023-07-27T20:08:02Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:02Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules719620967/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules719620967/work/payloads/0000/tree" time="2023-07-27T20:08:02Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:02Z" level=debug msg="Handling state after rollback reboot" time="2023-07-27T20:08:02Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:02Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08: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]:39817->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:39817->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:47122->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:47122->[::1]:53: read: connection refused" time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:02Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:38891->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:38891->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:49252->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:49252->[::1]:53: read: connection refused" time="2023-07-27T20:08:02Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:02Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules719620967/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules719620967/work/payloads/0000/tree" time="2023-07-27T20:08:02Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:02Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:02Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:02Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules719620967/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules719620967/work/payloads/0000/tree" time="2023-07-27T20:08:02Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:02Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:02Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:02Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:02Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules719620967/artifact_info file." time="2023-07-27T20:08:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules719620967/artifact_info" time="2023-07-27T20:08:02Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:02Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.24s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit,_no_reboot state_test.go:4717: Error in ArtifactCommit, no reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:08:02Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:02Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:02Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:02Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08: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]:37172->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:37172->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:41874->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:41874->[::1]:53: read: connection refused" time="2023-07-27T20:08:02Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:02Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:02Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:02Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules916369884/device_type" time="2023-07-27T20:08:02Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:02Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:02Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:02Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:02Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:02Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:02Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules916369884/artifact_info file." time="2023-07-27T20:08:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules916369884/artifact_info" time="2023-07-27T20:08:02Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:02Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules916369884/artifact_info" time="2023-07-27T20:08:02Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules916369884/device_type" time="2023-07-27T20:08:02Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:02Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:02Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:02Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules916369884/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules916369884/work/payloads/0000/tree" time="2023-07-27T20:08:02Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:02Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules916369884/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules916369884/work/payloads/0000/tree" time="2023-07-27T20:08:02Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:02Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:02Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:02Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:02Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08: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]:56646->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:56646->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:50282->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:50282->[::1]:53: read: connection refused" time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:02Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08: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]:45764->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:45764->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:41242->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:41242->[::1]:53: read: connection refused" time="2023-07-27T20:08:02Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules916369884/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules916369884/work/payloads/0000/tree" time="2023-07-27T20:08:02Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:08:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules916369884/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules916369884/work/payloads/0000/tree" time="2023-07-27T20:08:02Z" level=debug msg="Update module output: No" time="2023-07-27T20:08:02Z" level=debug msg="Module does not need reboot" time="2023-07-27T20:08:02Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:02Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08: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]:44462->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:44462->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:39251->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:39251->[::1]:53: read: connection refused" time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:02Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08: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]:51940->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:51940->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:39657->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:39657->[::1]:53: read: connection refused" time="2023-07-27T20:08:02Z" level=debug msg="Handle update commit state" time="2023-07-27T20:08:02Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2023-07-27T20:08:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules916369884/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules916369884/work/payloads/0000/tree" time="2023-07-27T20:08:02Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:02Z" level=error msg="transient error: update commit failed: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:02Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" time="2023-07-27T20:08:02Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:02Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2023-07-27T20:08: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]:48559->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:48559->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:53834->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:53834->[::1]:53: read: connection refused" time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:02Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08: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]:34357->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:34357->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:48967->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:48967->[::1]:53: read: connection refused" time="2023-07-27T20:08:02Z" level=info msg="Performing rollback" time="2023-07-27T20:08:02Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:08:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules916369884/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules916369884/work/payloads/0000/tree" time="2023-07-27T20:08:02Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:02Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08: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]:41692->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:41692->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:38964->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:38964->[::1]:53: read: connection refused" time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:02Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:32793->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:32793->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:42939->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:42939->[::1]:53: read: connection refused" time="2023-07-27T20:08:02Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:02Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules916369884/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules916369884/work/payloads/0000/tree" time="2023-07-27T20:08:02Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:02Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:02Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:02Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules916369884/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules916369884/work/payloads/0000/tree" time="2023-07-27T20:08:02Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:02Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:02Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:02Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:02Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules916369884/artifact_info file." time="2023-07-27T20:08:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules916369884/artifact_info" time="2023-07-27T20:08:02Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:02Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.46s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit,_no_reboot state_test.go:4717: Killed in ArtifactCommit, no reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:08:02Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:02Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:02Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:03Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34464->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34464->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55633->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55633->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:03Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:03Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:03Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:03Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules940094965/device_type" time="2023-07-27T20:08:03Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:03Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:03Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:03Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:03Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:03Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:03Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules940094965/artifact_info file." time="2023-07-27T20:08:03Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules940094965/artifact_info" time="2023-07-27T20:08:03Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:03Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:03Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules940094965/artifact_info" time="2023-07-27T20:08:03Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:03Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules940094965/device_type" time="2023-07-27T20:08:03Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:03Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:03Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:03Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules940094965/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules940094965/work/payloads/0000/tree" time="2023-07-27T20:08:03Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:03Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules940094965/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules940094965/work/payloads/0000/tree" time="2023-07-27T20:08:03Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:03Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:03Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:03Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:03Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37840->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37840->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53916->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53916->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:03Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45615->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45615->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55370->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55370->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules940094965/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules940094965/work/payloads/0000/tree" time="2023-07-27T20:08:03Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:08:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules940094965/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules940094965/work/payloads/0000/tree" time="2023-07-27T20:08:03Z" level=debug msg="Update module output: No" time="2023-07-27T20:08:03Z" level=debug msg="Module does not need reboot" time="2023-07-27T20:08:03Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:03Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37435->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37435->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45078->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45078->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:03Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49154->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49154->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40377->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40377->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=debug msg="Handle update commit state" time="2023-07-27T20:08:03Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2023-07-27T20:08:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules940094965/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules940094965/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="2023-07-27T20:08:03Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:03Z" level=info msg="Handling loaded state: update-commit" time="2023-07-27T20:08:03Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:03Z" level=error msg="Mender shut down in state: update-commit" time="2023-07-27T20:08:03Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2023-07-27T20:08:03Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:03Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47868->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47868->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38147->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38147->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=info msg="Performing rollback" time="2023-07-27T20:08:03Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:08:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules940094965/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules940094965/work/payloads/0000/tree" time="2023-07-27T20:08:03Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:03Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41062->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41062->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51549->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51549->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:03Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35194->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35194->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40836->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40836->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:03Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules940094965/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules940094965/work/payloads/0000/tree" time="2023-07-27T20:08:03Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:03Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:03Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:03Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules940094965/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules940094965/work/payloads/0000/tree" time="2023-07-27T20:08:03Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:03Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:03Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:03Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:03Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules940094965/artifact_info file." time="2023-07-27T20:08:03Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules940094965/artifact_info" time="2023-07-27T20:08:03Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:03Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.12s) 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="2023-07-27T20:08:03Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:03Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:03Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:03Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43745->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43745->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44148->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44148->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" 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="2023-07-27T20:08:03Z" level=info msg="State transition: update-fetch [Download_Enter] -> error [Error]" time="2023-07-27T20:08:03Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:03Z" level=debug msg="Executing script: Download_Error_00" time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:03Z" 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="2023-07-27T20:08:03Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules684336770/artifact_info file." time="2023-07-27T20:08:03Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules684336770/artifact_info" time="2023-07-27T20:08:03Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:03Z" 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="2023-07-27T20:08:03Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:03Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:03Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:03Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47787->[::1]:53: read: connection refused" time="2023-07-27T20:08:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47787->[::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="2023-07-27T20:08:04Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:04Z" level=info msg="Handling loaded state: update-fetch" time="2023-07-27T20:08:04Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:04Z" level=error msg="Mender shut down in state: update-fetch" time="2023-07-27T20:08:04Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules309176979/artifact_info file." time="2023-07-27T20:08:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules309176979/artifact_info" time="2023-07-27T20:08:04Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:04Z" 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="2023-07-27T20:08:04Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:04Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:04Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:04Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34767->[::1]:53: read: connection refused" time="2023-07-27T20:08:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34767->[::1]:53: read: connection refused" time="2023-07-27T20:08:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56584->[::1]:53: read: connection refused" time="2023-07-27T20:08:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56584->[::1]:53: read: connection refused" time="2023-07-27T20:08:04Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:04Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:04Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:04Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules278316152/device_type" time="2023-07-27T20:08:04Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:04Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:04Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:04Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:04Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:04Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules278316152/artifact_info file." time="2023-07-27T20:08:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules278316152/artifact_info" time="2023-07-27T20:08:04Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:04Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules278316152/artifact_info" time="2023-07-27T20:08:04Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules278316152/device_type" time="2023-07-27T20:08:04Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:04Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:04Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278316152/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules278316152/work/payloads/0000/tree" time="2023-07-27T20:08:04Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:04Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278316152/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules278316152/work/payloads/0000/tree" time="2023-07-27T20:08:04Z" level=debug msg="Update module output: No" time="2023-07-27T20:08:04Z" level=debug msg="Module does not support rollback" time="2023-07-27T20:08:04Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:04Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:04Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52038->[::1]:53: read: connection refused" time="2023-07-27T20:08:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52038->[::1]:53: read: connection refused" time="2023-07-27T20:08:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55371->[::1]:53: read: connection refused" time="2023-07-27T20:08:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55371->[::1]:53: read: connection refused" time="2023-07-27T20:08:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:04Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59554->[::1]:53: read: connection refused" time="2023-07-27T20:08:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59554->[::1]:53: read: connection refused" time="2023-07-27T20:08:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35139->[::1]:53: read: connection refused" time="2023-07-27T20:08:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35139->[::1]:53: read: connection refused" time="2023-07-27T20:08:04Z" 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="2023-07-27T20:08:04Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" time="2023-07-27T20:08:04Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:04Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:04Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50351->[::1]:53: read: connection refused" time="2023-07-27T20:08:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50351->[::1]:53: read: connection refused" time="2023-07-27T20:08:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32920->[::1]:53: read: connection refused" time="2023-07-27T20:08:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32920->[::1]:53: read: connection refused" time="2023-07-27T20:08:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:04Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60221->[::1]:53: read: connection refused" time="2023-07-27T20:08:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60221->[::1]:53: read: connection refused" time="2023-07-27T20:08:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52585->[::1]:53: read: connection refused" time="2023-07-27T20:08:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52585->[::1]:53: read: connection refused" time="2023-07-27T20:08:04Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:04Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278316152/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules278316152/work/payloads/0000/tree" time="2023-07-27T20:08:04Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:08:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:04Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:04Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:04Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules278316152/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules278316152/work/payloads/0000/tree" time="2023-07-27T20:08:04Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:04Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:04Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:04Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:04Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." --- PASS: TestStateTransitionsWithUpdateModules (0.36s) 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="2023-07-27T20:08:04Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:04Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:04Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:04Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51087->[::1]:53: read: connection refused" time="2023-07-27T20:08:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51087->[::1]:53: read: connection refused" time="2023-07-27T20:08:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53503->[::1]:53: read: connection refused" time="2023-07-27T20:08:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53503->[::1]:53: read: connection refused" time="2023-07-27T20:08:04Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:04Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:04Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:04Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules261960897/device_type" time="2023-07-27T20:08:04Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:04Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:04Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:04Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:04Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:04Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules261960897/artifact_info file." time="2023-07-27T20:08:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules261960897/artifact_info" time="2023-07-27T20:08:04Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:04Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules261960897/artifact_info" time="2023-07-27T20:08:04Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules261960897/device_type" time="2023-07-27T20:08:04Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:04Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:04Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:04Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules261960897/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules261960897/work/payloads/0000/tree" time="2023-07-27T20:08:04Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:04Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules261960897/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules261960897/work/payloads/0000/tree" time="2023-07-27T20:08:04Z" level=debug msg="Update module output: No" time="2023-07-27T20:08:04Z" level=debug msg="Module does not support rollback" time="2023-07-27T20:08:04Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:04Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:04Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57723->[::1]:53: read: connection refused" time="2023-07-27T20:08:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57723->[::1]:53: read: connection refused" time="2023-07-27T20:08:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53233->[::1]:53: read: connection refused" time="2023-07-27T20:08:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53233->[::1]:53: read: connection refused" time="2023-07-27T20:08:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:04Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44628->[::1]:53: read: connection refused" time="2023-07-27T20:08:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44628->[::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="2023-07-27T20:08:04Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:04Z" level=info msg="Handling loaded state: update-install" time="2023-07-27T20:08:04Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:04Z" level=error msg="Mender shut down in state: update-install" time="2023-07-27T20:08:04Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" time="2023-07-27T20:08:04Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:04Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:04Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40299->[::1]:53: read: connection refused" time="2023-07-27T20:08:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40299->[::1]:53: read: connection refused" time="2023-07-27T20:08:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42709->[::1]:53: read: connection refused" time="2023-07-27T20:08:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42709->[::1]:53: read: connection refused" time="2023-07-27T20:08:04Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:04Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules261960897/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules261960897/work/payloads/0000/tree" time="2023-07-27T20:08:05Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:05Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:05Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:05Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules261960897/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules261960897/work/payloads/0000/tree" time="2023-07-27T20:08:05Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:05Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:05Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:05Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:05Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." --- PASS: TestStateTransitionsWithUpdateModules (0.07s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00 state_test.go:4717: Error in ArtifactInstall_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:08:05Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:05Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:05Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:05Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49636->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49636->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48452->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48452->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:05Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:05Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:05Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules190311230/device_type" time="2023-07-27T20:08:05Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:05Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:05Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:05Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:05Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:05Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules190311230/artifact_info file." time="2023-07-27T20:08:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules190311230/artifact_info" time="2023-07-27T20:08:05Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:05Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules190311230/artifact_info" time="2023-07-27T20:08:05Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules190311230/device_type" time="2023-07-27T20:08:05Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:05Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:05Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules190311230/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules190311230/work/payloads/0000/tree" time="2023-07-27T20:08:05Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules190311230/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules190311230/work/payloads/0000/tree" time="2023-07-27T20:08:05Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:05Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:05Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:05Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:05Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45693->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45693->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50490->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50490->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:05Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55620->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55620->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59293->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59293->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" 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="2023-07-27T20:08:05Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" time="2023-07-27T20:08:05Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:05Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55144->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55144->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51267->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51267->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:05Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32913->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32913->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50353->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50353->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=info msg="Performing rollback" time="2023-07-27T20:08:05Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:08:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules190311230/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules190311230/work/payloads/0000/tree" time="2023-07-27T20:08:05Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:05Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44957->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44957->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39084->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39084->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:05Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46475->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46475->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39977->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39977->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:05Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules190311230/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules190311230/work/payloads/0000/tree" time="2023-07-27T20:08:05Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:05Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:05Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:05Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules190311230/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules190311230/work/payloads/0000/tree" time="2023-07-27T20:08:05Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:05Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:05Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:05Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:05Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules190311230/artifact_info file." time="2023-07-27T20:08:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules190311230/artifact_info" time="2023-07-27T20:08:05Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:05Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.44s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00 state_test.go:4717: Killed in ArtifactInstall_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:08:05Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:05Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:05Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:05Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49490->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49490->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44725->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44725->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:05Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:05Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:05Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules373064703/device_type" time="2023-07-27T20:08:05Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:05Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:05Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:05Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:05Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:05Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules373064703/artifact_info file." time="2023-07-27T20:08:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules373064703/artifact_info" time="2023-07-27T20:08:05Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:05Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules373064703/artifact_info" time="2023-07-27T20:08:05Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules373064703/device_type" time="2023-07-27T20:08:05Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:05Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:05Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:05Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules373064703/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules373064703/work/payloads/0000/tree" time="2023-07-27T20:08:05Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules373064703/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules373064703/work/payloads/0000/tree" time="2023-07-27T20:08:05Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:05Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:05Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:05Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:05Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49830->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49830->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56163->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56163->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:05Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53649->[::1]:53: read: connection refused" time="2023-07-27T20:08:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53649->[::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="2023-07-27T20:08:06Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:06Z" level=info msg="Handling loaded state: update-install" time="2023-07-27T20:08:06Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:06Z" level=error msg="Mender shut down in state: update-install" time="2023-07-27T20:08:06Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2023-07-27T20:08:06Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:06Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42993->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42993->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59590->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59590->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=info msg="Performing rollback" time="2023-07-27T20:08:06Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:08:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules373064703/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules373064703/work/payloads/0000/tree" time="2023-07-27T20:08:06Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:06Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57956->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57956->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51678->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51678->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:06Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34826->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34826->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54155->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54155->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:06Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules373064703/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules373064703/work/payloads/0000/tree" time="2023-07-27T20:08:06Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:06Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:06Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:06Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules373064703/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules373064703/work/payloads/0000/tree" time="2023-07-27T20:08:06Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:06Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:06Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:06Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:06Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules373064703/artifact_info file." time="2023-07-27T20:08:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules373064703/artifact_info" time="2023-07-27T20:08:06Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:06Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.16s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Enter_00 state_test.go:4717: Error in ArtifactReboot_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:08:06Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:06Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:06Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:06Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37063->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37063->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36370->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36370->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:06Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:06Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:06Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules809863252/device_type" time="2023-07-27T20:08:06Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:06Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:06Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:06Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:06Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:06Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules809863252/artifact_info file." time="2023-07-27T20:08:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules809863252/artifact_info" time="2023-07-27T20:08:06Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:06Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules809863252/artifact_info" time="2023-07-27T20:08:06Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules809863252/device_type" time="2023-07-27T20:08:06Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:06Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:06Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules809863252/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules809863252/work/payloads/0000/tree" time="2023-07-27T20:08:06Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:06Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules809863252/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules809863252/work/payloads/0000/tree" time="2023-07-27T20:08:06Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:06Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:06Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:06Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:06Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40450->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40450->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59595->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59595->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:06Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53364->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53364->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42575->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42575->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules809863252/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules809863252/work/payloads/0000/tree" time="2023-07-27T20:08:06Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:08:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules809863252/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules809863252/work/payloads/0000/tree" time="2023-07-27T20:08:06Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:06Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:08:06Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:06Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47766->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47766->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46485->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46485->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:06Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57968->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57968->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43245->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43245->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" 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="2023-07-27T20:08:06Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> rollback [ArtifactRollback]" time="2023-07-27T20:08:06Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:06Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44703->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44703->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48849->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48849->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:06Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51830->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51830->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42070->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42070->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=info msg="Performing rollback" time="2023-07-27T20:08:06Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:08:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules809863252/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules809863252/work/payloads/0000/tree" time="2023-07-27T20:08:06Z" level=debug msg="Will try to rollback reboot the device" time="2023-07-27T20:08:06Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:06Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36339->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36339->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59376->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59376->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:06Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56507->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56507->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60770->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60770->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:06Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules809863252/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules809863252/work/payloads/0000/tree" time="2023-07-27T20:08:06Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:06Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules809863252/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules809863252/work/payloads/0000/tree" time="2023-07-27T20:08:06Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:06Z" level=debug msg="Handling state after rollback reboot" time="2023-07-27T20:08:06Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:06Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50072->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50072->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35870->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35870->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:06Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53041->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53041->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36539->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36539->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:06Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules809863252/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules809863252/work/payloads/0000/tree" time="2023-07-27T20:08:06Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:06Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:06Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:06Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules809863252/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules809863252/work/payloads/0000/tree" time="2023-07-27T20:08:06Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:06Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:06Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:06Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:06Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules809863252/artifact_info file." time="2023-07-27T20:08:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules809863252/artifact_info" time="2023-07-27T20:08:06Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:06Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.49s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Enter_00 state_test.go:4717: Killed in ArtifactReboot_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:08:06Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:06Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:06Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:06Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49191->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49191->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33375->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33375->[::1]:53: read: connection refused" time="2023-07-27T20:08:06Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:06Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:06Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:06Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules149774285/device_type" time="2023-07-27T20:08:06Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:06Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:06Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:06Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:06Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:06Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules149774285/artifact_info file." time="2023-07-27T20:08:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules149774285/artifact_info" time="2023-07-27T20:08:06Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:06Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules149774285/artifact_info" time="2023-07-27T20:08:06Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules149774285/device_type" time="2023-07-27T20:08:06Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:06Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:06Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:06Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules149774285/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules149774285/work/payloads/0000/tree" time="2023-07-27T20:08:06Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules149774285/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules149774285/work/payloads/0000/tree" time="2023-07-27T20:08:07Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:07Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:07Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:07Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:07Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08: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]:41343->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:41343->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:42773->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:42773->[::1]:53: read: connection refused" time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:07Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08: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]:55658->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:55658->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:41523->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:41523->[::1]:53: read: connection refused" time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules149774285/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules149774285/work/payloads/0000/tree" time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:08:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules149774285/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules149774285/work/payloads/0000/tree" time="2023-07-27T20:08:07Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:07Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:08:07Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:07Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08: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]:35589->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:35589->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:49388->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:49388->[::1]:53: read: connection refused" time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:07Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08: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]:37825->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:37825->[::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="2023-07-27T20:08:07Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:07Z" level=info msg="Handling loaded state: reboot" time="2023-07-27T20:08:07Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:07Z" level=info msg="State transition: init [none] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2023-07-27T20:08:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules149774285/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules149774285/work/payloads/0000/tree" time="2023-07-27T20:08:07Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:08:07Z" level=debug msg="Handling state after reboot" time="2023-07-27T20:08:07Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:07Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08: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]:46467->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:46467->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:60649->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:60649->[::1]:53: read: connection refused" time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:07Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08: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]:41330->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:41330->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:56591->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:56591->[::1]:53: read: connection refused" time="2023-07-27T20:08:07Z" level=debug msg="Handle update commit state" time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2023-07-27T20:08:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules149774285/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules149774285/work/payloads/0000/tree" time="2023-07-27T20:08:07Z" level=debug msg="Committing new artifact name: artifact-name" time="2023-07-27T20:08:07Z" level=debug msg="Committing new artifact group name: " time="2023-07-27T20:08:07Z" level=debug msg="Committing new artifact type-info provides" time="2023-07-27T20:08:07Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" time="2023-07-27T20:08:07Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" time="2023-07-27T20:08:07Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:07Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:07Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules149774285/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules149774285/work/payloads/0000/tree" time="2023-07-27T20:08:07Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" time="2023-07-27T20:08:07Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:07Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:07Z" level=debug msg="Returning artifact name artifact-name from database." --- PASS: TestStateTransitionsWithUpdateModules (0.15s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Enter_00 state_test.go:4717: Error in ArtifactRollback_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:08:07Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:07Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:07Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:07Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08: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]:53049->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:53049->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:35681->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:35681->[::1]:53: read: connection refused" time="2023-07-27T20:08:07Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:07Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:07Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:07Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules354700602/device_type" time="2023-07-27T20:08:07Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:07Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:07Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:07Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:07Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules354700602/artifact_info file." time="2023-07-27T20:08:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules354700602/artifact_info" time="2023-07-27T20:08:07Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:07Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules354700602/artifact_info" time="2023-07-27T20:08:07Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules354700602/device_type" time="2023-07-27T20:08:07Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:07Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:07Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules354700602/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules354700602/work/payloads/0000/tree" time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules354700602/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules354700602/work/payloads/0000/tree" time="2023-07-27T20:08:07Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:07Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:07Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:07Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:07Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08: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]:50680->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:50680->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:46555->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:46555->[::1]:53: read: connection refused" time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:07Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08: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]:43804->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:43804->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:58605->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:58605->[::1]:53: read: connection refused" time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules354700602/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules354700602/work/payloads/0000/tree" time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:08:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules354700602/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules354700602/work/payloads/0000/tree" time="2023-07-27T20:08:07Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:07Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:08:07Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:07Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08: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]:39572->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:39572->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:41192->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:41192->[::1]:53: read: connection refused" time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:07Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08: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]:41102->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:41102->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:36175->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:36175->[::1]:53: read: connection refused" time="2023-07-27T20:08:07Z" level=debug msg="Handling reboot state" time="2023-07-27T20:08:07Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2023-07-27T20:08:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules354700602/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules354700602/work/payloads/0000/tree" time="2023-07-27T20:08:07Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2023-07-27T20:08:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules354700602/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules354700602/work/payloads/0000/tree" time="2023-07-27T20:08:07Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:07Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:07Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2023-07-27T20:08:07Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:07Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2023-07-27T20:08: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]:47737->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:47737->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:43491->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:43491->[::1]:53: read: connection refused" time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:07Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08: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]:34849->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:34849->[::1]:53: read: connection refused" time="2023-07-27T20:08:07Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollback_Enter_00': 1: exit status 1" time="2023-07-27T20:08: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]:59167->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:59167->[::1]:53: read: connection refused" time="2023-07-27T20:08:07Z" level=info msg="Performing rollback" time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:08:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules354700602/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules354700602/work/payloads/0000/tree" time="2023-07-27T20:08:07Z" level=debug msg="Will try to rollback reboot the device" time="2023-07-27T20:08:07Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:07Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08: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]:42778->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:42778->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:44650->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:44650->[::1]:53: read: connection refused" time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:07Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08: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]:54660->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:54660->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:49605->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:49605->[::1]:53: read: connection refused" time="2023-07-27T20:08:07Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules354700602/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules354700602/work/payloads/0000/tree" time="2023-07-27T20:08:07Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules354700602/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules354700602/work/payloads/0000/tree" time="2023-07-27T20:08:07Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:07Z" level=debug msg="Handling state after rollback reboot" time="2023-07-27T20:08:07Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:07Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08: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]:32873->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:32873->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:55752->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:55752->[::1]:53: read: connection refused" time="2023-07-27T20:08:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:07Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:49794->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:49794->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:50751->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:50751->[::1]:53: read: connection refused" time="2023-07-27T20:08:07Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:07Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules354700602/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules354700602/work/payloads/0000/tree" time="2023-07-27T20:08:08Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:08Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:08Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules354700602/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules354700602/work/payloads/0000/tree" time="2023-07-27T20:08:08Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:08Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:08Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:08Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:08Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules354700602/artifact_info file." time="2023-07-27T20:08:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules354700602/artifact_info" time="2023-07-27T20:08:08Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:08Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.51s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Enter_00 state_test.go:4717: Killed in ArtifactRollback_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:08:08Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:08Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:08Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:08Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08: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]:44020->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:44020->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:42854->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:42854->[::1]:53: read: connection refused" time="2023-07-27T20:08:08Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:08Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:08Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:08Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules914107819/device_type" time="2023-07-27T20:08:08Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:08Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:08Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:08Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:08Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules914107819/artifact_info file." time="2023-07-27T20:08:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules914107819/artifact_info" time="2023-07-27T20:08:08Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:08Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules914107819/artifact_info" time="2023-07-27T20:08:08Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules914107819/device_type" time="2023-07-27T20:08:08Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:08Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules914107819/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules914107819/work/payloads/0000/tree" time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules914107819/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules914107819/work/payloads/0000/tree" time="2023-07-27T20:08:08Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:08Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:08Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:08Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:08Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08: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]:52562->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:52562->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:39786->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:39786->[::1]:53: read: connection refused" time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:08Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08: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]:53276->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:53276->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:35046->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:35046->[::1]:53: read: connection refused" time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules914107819/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules914107819/work/payloads/0000/tree" time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:08:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules914107819/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules914107819/work/payloads/0000/tree" time="2023-07-27T20:08:08Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:08Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:08:08Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:08Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08: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]:57318->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:57318->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:58613->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:58613->[::1]:53: read: connection refused" time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:08Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08: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]:49775->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:49775->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:40699->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:40699->[::1]:53: read: connection refused" time="2023-07-27T20:08:08Z" level=debug msg="Handling reboot state" time="2023-07-27T20:08:08Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2023-07-27T20:08:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules914107819/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules914107819/work/payloads/0000/tree" time="2023-07-27T20:08:08Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2023-07-27T20:08:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules914107819/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules914107819/work/payloads/0000/tree" time="2023-07-27T20:08:08Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:08Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:08Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2023-07-27T20:08:08Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:08Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2023-07-27T20:08: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]:51400->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:51400->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:48600->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:48600->[::1]:53: read: connection refused" time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:08Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08: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]:59201->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:59201->[::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="2023-07-27T20:08:08Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:08Z" level=info msg="Handling loaded state: rollback" time="2023-07-27T20:08:08Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:08Z" level=error msg="Mender shut down in state: rollback" time="2023-07-27T20:08:08Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2023-07-27T20:08:08Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:08Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08: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]:45752->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:45752->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:59043->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:59043->[::1]:53: read: connection refused" time="2023-07-27T20:08:08Z" level=info msg="Performing rollback" time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:08:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules914107819/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules914107819/work/payloads/0000/tree" time="2023-07-27T20:08:08Z" level=debug msg="Will try to rollback reboot the device" time="2023-07-27T20:08:08Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:08Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08: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]:58732->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:58732->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:41186->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:41186->[::1]:53: read: connection refused" time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:08Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08: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]:44758->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:44758->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:51672->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:51672->[::1]:53: read: connection refused" time="2023-07-27T20:08:08Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules914107819/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules914107819/work/payloads/0000/tree" time="2023-07-27T20:08:08Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules914107819/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules914107819/work/payloads/0000/tree" time="2023-07-27T20:08:08Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:08Z" level=debug msg="Handling state after rollback reboot" time="2023-07-27T20:08:08Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:08Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08: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]:34452->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:34452->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:48800->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:48800->[::1]:53: read: connection refused" time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:08Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:49737->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:49737->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:42966->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:42966->[::1]:53: read: connection refused" time="2023-07-27T20:08:08Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules914107819/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules914107819/work/payloads/0000/tree" time="2023-07-27T20:08:08Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:08Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:08Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules914107819/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules914107819/work/payloads/0000/tree" time="2023-07-27T20:08:08Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:08Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:08Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:08Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:08Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules914107819/artifact_info file." time="2023-07-27T20:08:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules914107819/artifact_info" time="2023-07-27T20:08:08Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:08Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.16s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Enter_00 state_test.go:4717: Error in ArtifactRollbackReboot_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:08:08Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:08Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:08Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:08Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08: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]:42286->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:42286->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:45886->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:45886->[::1]:53: read: connection refused" time="2023-07-27T20:08:08Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:08Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:08Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:08Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules285503344/device_type" time="2023-07-27T20:08:08Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:08Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:08Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:08Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:08Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules285503344/artifact_info file." time="2023-07-27T20:08:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules285503344/artifact_info" time="2023-07-27T20:08:08Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:08Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules285503344/artifact_info" time="2023-07-27T20:08:08Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules285503344/device_type" time="2023-07-27T20:08:08Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:08Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:08Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules285503344/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules285503344/work/payloads/0000/tree" time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules285503344/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules285503344/work/payloads/0000/tree" time="2023-07-27T20:08:08Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:08Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:08Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:08Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:08Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08: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]:54869->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:54869->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:57613->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:57613->[::1]:53: read: connection refused" time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:08Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08: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]:35736->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:35736->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:38184->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:38184->[::1]:53: read: connection refused" time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules285503344/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules285503344/work/payloads/0000/tree" time="2023-07-27T20:08:08Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:08:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules285503344/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules285503344/work/payloads/0000/tree" time="2023-07-27T20:08:08Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:08Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:08:08Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:08:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:08Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08: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]:60299->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:60299->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51379->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51379->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:09Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56258->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56258->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58409->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58409->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=debug msg="Handling reboot state" time="2023-07-27T20:08:09Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:08:09Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2023-07-27T20:08:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules285503344/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules285503344/work/payloads/0000/tree" time="2023-07-27T20:08:09Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:08:09Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2023-07-27T20:08:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules285503344/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules285503344/work/payloads/0000/tree" time="2023-07-27T20:08:09Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:09Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:09Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2023-07-27T20:08:09Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:09Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53103->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53103->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43505->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43505->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:09Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52264->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52264->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41227->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41227->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=info msg="Performing rollback" time="2023-07-27T20:08:09Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:08:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules285503344/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules285503344/work/payloads/0000/tree" time="2023-07-27T20:08:09Z" level=debug msg="Will try to rollback reboot the device" time="2023-07-27T20:08:09Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:09Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57749->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57749->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36950->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36950->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:09Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57754->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57754->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollbackReboot_Enter_00': 1: exit status 1" time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47909->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47909->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:09Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules285503344/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules285503344/work/payloads/0000/tree" time="2023-07-27T20:08:09Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:09Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules285503344/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules285503344/work/payloads/0000/tree" time="2023-07-27T20:08:09Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:09Z" level=debug msg="Handling state after rollback reboot" time="2023-07-27T20:08:09Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:09Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39259->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39259->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57419->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57419->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:09Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45550->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45550->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57450->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57450->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:09Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules285503344/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules285503344/work/payloads/0000/tree" time="2023-07-27T20:08:09Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:09Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:09Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:09Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules285503344/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules285503344/work/payloads/0000/tree" time="2023-07-27T20:08:09Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:09Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:09Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:09Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:09Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules285503344/artifact_info file." time="2023-07-27T20:08:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules285503344/artifact_info" time="2023-07-27T20:08:09Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:09Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.70s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Enter_00 state_test.go:4717: Killed in ArtifactRollbackReboot_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:08:09Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:09Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:09Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:09Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56739->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56739->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41355->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41355->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:09Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:09Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:09Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules477245721/device_type" time="2023-07-27T20:08:09Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:09Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:09Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:09Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:09Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:09Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules477245721/artifact_info file." time="2023-07-27T20:08:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules477245721/artifact_info" time="2023-07-27T20:08:09Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:09Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules477245721/artifact_info" time="2023-07-27T20:08:09Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules477245721/device_type" time="2023-07-27T20:08:09Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:09Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:09Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:09Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules477245721/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules477245721/work/payloads/0000/tree" time="2023-07-27T20:08:09Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:09Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules477245721/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules477245721/work/payloads/0000/tree" time="2023-07-27T20:08:09Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:09Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:09Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:09Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:09Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46896->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46896->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59484->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59484->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:09Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58271->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58271->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42514->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42514->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules477245721/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules477245721/work/payloads/0000/tree" time="2023-07-27T20:08:09Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:08:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules477245721/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules477245721/work/payloads/0000/tree" time="2023-07-27T20:08:09Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:09Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:08:09Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:09Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55769->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55769->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35737->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35737->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:09Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51101->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51101->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36498->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36498->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=debug msg="Handling reboot state" time="2023-07-27T20:08:09Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:08:09Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2023-07-27T20:08:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules477245721/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules477245721/work/payloads/0000/tree" time="2023-07-27T20:08:09Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:08:09Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2023-07-27T20:08:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules477245721/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules477245721/work/payloads/0000/tree" time="2023-07-27T20:08:09Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:09Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:09Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2023-07-27T20:08:09Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:09Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57112->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57112->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59905->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59905->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:09Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47268->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47268->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53206->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53206->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=info msg="Performing rollback" time="2023-07-27T20:08:09Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:08:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules477245721/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules477245721/work/payloads/0000/tree" time="2023-07-27T20:08:09Z" level=debug msg="Will try to rollback reboot the device" time="2023-07-27T20:08:09Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:09Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39406->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39406->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41410->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41410->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:09Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44333->[::1]:53: read: connection refused" time="2023-07-27T20:08:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44333->[::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="2023-07-27T20:08:10Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:10Z" level=info msg="Handling loaded state: rollback-reboot" time="2023-07-27T20:08:10Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:10Z" level=info msg="Mender shut down in state: rollback-reboot" time="2023-07-27T20:08:10Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:10Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:10Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules477245721/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules477245721/work/payloads/0000/tree" time="2023-07-27T20:08:10Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:10Z" level=debug msg="Handling state after rollback reboot" time="2023-07-27T20:08:10Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36950->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36950->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44920->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44920->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:10Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40364->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40364->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39693->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39693->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:10Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules477245721/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules477245721/work/payloads/0000/tree" time="2023-07-27T20:08:10Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:10Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:10Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:10Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules477245721/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules477245721/work/payloads/0000/tree" time="2023-07-27T20:08:10Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:10Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:10Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:10Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:10Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules477245721/artifact_info file." time="2023-07-27T20:08:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules477245721/artifact_info" time="2023-07-27T20:08:10Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:10Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.10s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Enter_00 state_test.go:4717: Error in ArtifactFailure_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:08:10Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:10Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:10Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:10Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54418->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54418->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37063->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37063->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:10Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:10Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:10Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules605099126/device_type" time="2023-07-27T20:08:10Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:10Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:10Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:10Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:10Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:10Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules605099126/artifact_info file." time="2023-07-27T20:08:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules605099126/artifact_info" time="2023-07-27T20:08:10Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:10Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules605099126/artifact_info" time="2023-07-27T20:08:10Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules605099126/device_type" time="2023-07-27T20:08:10Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:10Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:10Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules605099126/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules605099126/work/payloads/0000/tree" time="2023-07-27T20:08:10Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:10Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules605099126/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules605099126/work/payloads/0000/tree" time="2023-07-27T20:08:10Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:10Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:10Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:10Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:10Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38154->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38154->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49258->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49258->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:10Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55585->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55585->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35983->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35983->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules605099126/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules605099126/work/payloads/0000/tree" time="2023-07-27T20:08:10Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:10Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:10Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" time="2023-07-27T20:08:10Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:10Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43632->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43632->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47395->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47395->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:10Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58244->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58244->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45633->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45633->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=info msg="Performing rollback" time="2023-07-27T20:08:10Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:08:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules605099126/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules605099126/work/payloads/0000/tree" time="2023-07-27T20:08:10Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:10Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51533->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51533->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60927->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60927->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:10Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52876->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52876->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="statescript: Ignoring error executing 'ArtifactFailure_Enter_00': 1: exit status 1" time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59232->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59232->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:10Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules605099126/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules605099126/work/payloads/0000/tree" time="2023-07-27T20:08:10Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:10Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:10Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:10Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules605099126/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules605099126/work/payloads/0000/tree" time="2023-07-27T20:08:10Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:10Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:10Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:10Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:10Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules605099126/artifact_info file." time="2023-07-27T20:08:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules605099126/artifact_info" time="2023-07-27T20:08:10Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:10Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.47s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Enter_00 state_test.go:4717: Killed in ArtifactFailure_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:08:10Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:10Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:10Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:10Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36115->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36115->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57512->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57512->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:10Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:10Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:10Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules821169047/device_type" time="2023-07-27T20:08:10Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:10Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:10Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:10Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:10Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:10Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules821169047/artifact_info file." time="2023-07-27T20:08:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules821169047/artifact_info" time="2023-07-27T20:08:10Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:10Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules821169047/artifact_info" time="2023-07-27T20:08:10Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules821169047/device_type" time="2023-07-27T20:08:10Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:10Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:10Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:10Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules821169047/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules821169047/work/payloads/0000/tree" time="2023-07-27T20:08:10Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:10Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules821169047/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules821169047/work/payloads/0000/tree" time="2023-07-27T20:08:10Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:10Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:10Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:10Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:10Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39095->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39095->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47267->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47267->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:10Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43172->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43172->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39576->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39576->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules821169047/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules821169047/work/payloads/0000/tree" time="2023-07-27T20:08:10Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:10Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:10Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" time="2023-07-27T20:08:10Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:10Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52505->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52505->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36191->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36191->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:10Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36325->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36325->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38858->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38858->[::1]:53: read: connection refused" time="2023-07-27T20:08:10Z" level=info msg="Performing rollback" time="2023-07-27T20:08:10Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:08:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules821169047/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules821169047/work/payloads/0000/tree" time="2023-07-27T20:08:10Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:10Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39276->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39276->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35647->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35647->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:11Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47065->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47065->[::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="2023-07-27T20:08:11Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:11Z" level=info msg="Handling loaded state: update-error" time="2023-07-27T20:08:11Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:11Z" level=error msg="Mender shut down in state: update-error" time="2023-07-27T20:08:11Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:11Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:11Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55855->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55855->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40688->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40688->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules821169047/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules821169047/work/payloads/0000/tree" time="2023-07-27T20:08:11Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:11Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:11Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules821169047/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules821169047/work/payloads/0000/tree" time="2023-07-27T20:08:11Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:11Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:11Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:11Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:11Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules821169047/artifact_info file." time="2023-07-27T20:08:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules821169047/artifact_info" time="2023-07-27T20:08:11Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:11Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.08s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00 state_test.go:4717: Error in ArtifactCommit_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:08:11Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:11Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:11Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:11Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37287->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37287->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46803->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46803->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:11Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:11Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:11Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules163354572/device_type" time="2023-07-27T20:08:11Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:11Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:11Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:11Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:11Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules163354572/artifact_info file." time="2023-07-27T20:08:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules163354572/artifact_info" time="2023-07-27T20:08:11Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:11Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules163354572/artifact_info" time="2023-07-27T20:08:11Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules163354572/device_type" time="2023-07-27T20:08:11Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:11Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules163354572/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules163354572/work/payloads/0000/tree" time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules163354572/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules163354572/work/payloads/0000/tree" time="2023-07-27T20:08:11Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:11Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:11Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:11Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:11Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47336->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47336->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33319->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33319->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:11Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34295->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34295->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47398->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47398->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules163354572/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules163354572/work/payloads/0000/tree" time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:08:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules163354572/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules163354572/work/payloads/0000/tree" time="2023-07-27T20:08:11Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:11Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:08:11Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:11Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54086->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54086->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57200->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57200->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:11Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55780->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55780->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37922->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37922->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=debug msg="Handling reboot state" time="2023-07-27T20:08:11Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2023-07-27T20:08:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules163354572/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules163354572/work/payloads/0000/tree" time="2023-07-27T20:08:11Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2023-07-27T20:08:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules163354572/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules163354572/work/payloads/0000/tree" time="2023-07-27T20:08:11Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:08:11Z" level=debug msg="Handling state after reboot" time="2023-07-27T20:08:11Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:11Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59249->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59249->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49005->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49005->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:11Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32930->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32930->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39486->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39486->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" 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="2023-07-27T20:08:11Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" time="2023-07-27T20:08:11Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:11Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41331->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41331->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36436->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36436->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:11Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45485->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45485->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34668->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34668->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=info msg="Performing rollback" time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:08:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules163354572/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules163354572/work/payloads/0000/tree" time="2023-07-27T20:08:11Z" level=debug msg="Will try to rollback reboot the device" time="2023-07-27T20:08:11Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:11Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45881->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45881->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34613->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34613->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:11Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42048->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42048->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51109->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51109->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules163354572/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules163354572/work/payloads/0000/tree" time="2023-07-27T20:08:11Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules163354572/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules163354572/work/payloads/0000/tree" time="2023-07-27T20:08:11Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:11Z" level=debug msg="Handling state after rollback reboot" time="2023-07-27T20:08:11Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:11Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49716->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49716->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57720->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57720->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:11Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50140->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50140->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47963->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47963->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules163354572/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules163354572/work/payloads/0000/tree" time="2023-07-27T20:08:11Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:11Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:11Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules163354572/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules163354572/work/payloads/0000/tree" time="2023-07-27T20:08:11Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:11Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:11Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:11Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:11Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules163354572/artifact_info file." time="2023-07-27T20:08:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules163354572/artifact_info" time="2023-07-27T20:08:11Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:11Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.50s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00 state_test.go:4717: Killed in ArtifactCommit_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:08:11Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:11Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:11Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:11Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40896->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40896->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48664->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48664->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:11Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:11Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:11Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules086927525/device_type" time="2023-07-27T20:08:11Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:11Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:11Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:11Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:11Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules086927525/artifact_info file." time="2023-07-27T20:08:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules086927525/artifact_info" time="2023-07-27T20:08:11Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:11Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules086927525/artifact_info" time="2023-07-27T20:08:11Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules086927525/device_type" time="2023-07-27T20:08:11Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:11Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:11Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules086927525/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules086927525/work/payloads/0000/tree" time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules086927525/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules086927525/work/payloads/0000/tree" time="2023-07-27T20:08:11Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:11Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:11Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:11Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:11Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35781->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35781->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41710->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41710->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:11Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40979->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40979->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48068->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48068->[::1]:53: read: connection refused" time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules086927525/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules086927525/work/payloads/0000/tree" time="2023-07-27T20:08:11Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:08:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules086927525/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules086927525/work/payloads/0000/tree" time="2023-07-27T20:08:12Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:12Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:08:12Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51964->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51964->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57633->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57633->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57379->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57379->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37674->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37674->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=debug msg="Handling reboot state" time="2023-07-27T20:08:12Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2023-07-27T20:08:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules086927525/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules086927525/work/payloads/0000/tree" time="2023-07-27T20:08:12Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2023-07-27T20:08:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules086927525/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules086927525/work/payloads/0000/tree" time="2023-07-27T20:08:12Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:08:12Z" level=debug msg="Handling state after reboot" time="2023-07-27T20:08:12Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60079->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60079->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45265->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45265->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50449->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50449->[::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="2023-07-27T20:08:12Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:12Z" level=info msg="Handling loaded state: update-commit" time="2023-07-27T20:08:12Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:12Z" level=error msg="Mender shut down in state: update-commit" time="2023-07-27T20:08:12Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2023-07-27T20:08:12Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58395->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58395->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49631->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49631->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=info msg="Performing rollback" time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:08:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules086927525/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules086927525/work/payloads/0000/tree" time="2023-07-27T20:08:12Z" level=debug msg="Will try to rollback reboot the device" time="2023-07-27T20:08:12Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40165->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40165->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36920->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36920->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34430->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34430->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46850->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46850->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules086927525/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules086927525/work/payloads/0000/tree" time="2023-07-27T20:08:12Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules086927525/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules086927525/work/payloads/0000/tree" time="2023-07-27T20:08:12Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:12Z" level=debug msg="Handling state after rollback reboot" time="2023-07-27T20:08:12Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44244->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44244->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56566->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56566->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52620->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52620->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57348->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57348->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules086927525/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules086927525/work/payloads/0000/tree" time="2023-07-27T20:08:12Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:12Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules086927525/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules086927525/work/payloads/0000/tree" time="2023-07-27T20:08:12Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:12Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:12Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:12Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:12Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules086927525/artifact_info file." time="2023-07-27T20:08:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules086927525/artifact_info" time="2023-07-27T20:08:12Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:12Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.15s) 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="2023-07-27T20:08:12Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:12Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:12Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:12Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37234->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37234->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46704->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46704->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:12Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:12Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:12Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules749470962/device_type" time="2023-07-27T20:08:12Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:12Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:12Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:12Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:12Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules749470962/artifact_info file." time="2023-07-27T20:08:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules749470962/artifact_info" time="2023-07-27T20:08:12Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:12Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules749470962/artifact_info" time="2023-07-27T20:08:12Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules749470962/device_type" time="2023-07-27T20:08:12Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:12Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules749470962/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules749470962/work/payloads/0000/tree" time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules749470962/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules749470962/work/payloads/0000/tree" time="2023-07-27T20:08:12Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:12Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:12Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:12Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:12Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44138->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44138->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42276->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42276->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51749->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51749->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60083->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60083->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules749470962/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules749470962/work/payloads/0000/tree" time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:08:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules749470962/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules749470962/work/payloads/0000/tree" time="2023-07-27T20:08:12Z" level=debug msg="Update module output: No" time="2023-07-27T20:08:12Z" level=debug msg="Module does not need reboot" time="2023-07-27T20:08:12Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34874->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34874->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37159->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37159->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52120->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52120->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50475->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50475->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" 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="2023-07-27T20:08:12Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" time="2023-07-27T20:08:12Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47953->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47953->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56485->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56485->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57019->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57019->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41038->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41038->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=info msg="Performing rollback" time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:08:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules749470962/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules749470962/work/payloads/0000/tree" time="2023-07-27T20:08:12Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41376->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41376->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38792->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38792->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53778->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53778->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48583->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48583->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules749470962/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules749470962/work/payloads/0000/tree" time="2023-07-27T20:08:12Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:12Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:12Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules749470962/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules749470962/work/payloads/0000/tree" time="2023-07-27T20:08:12Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:12Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:12Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:12Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:12Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules749470962/artifact_info file." time="2023-07-27T20:08:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules749470962/artifact_info" time="2023-07-27T20:08:12Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:12Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.29s) 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="2023-07-27T20:08:12Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:12Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:12Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:12Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42200->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42200->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41658->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41658->[::1]:53: read: connection refused" time="2023-07-27T20:08:12Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:12Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:12Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:12Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules253128643/device_type" time="2023-07-27T20:08:12Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:12Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:12Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:12Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:12Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules253128643/artifact_info file." time="2023-07-27T20:08:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules253128643/artifact_info" time="2023-07-27T20:08:12Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:12Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules253128643/artifact_info" time="2023-07-27T20:08:12Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules253128643/device_type" time="2023-07-27T20:08:12Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:12Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:12Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules253128643/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules253128643/work/payloads/0000/tree" time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:12Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules253128643/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules253128643/work/payloads/0000/tree" time="2023-07-27T20:08:13Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:13Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:13Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:13Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:13Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34801->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34801->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59813->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59813->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:13Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39813->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39813->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42273->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42273->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules253128643/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules253128643/work/payloads/0000/tree" time="2023-07-27T20:08:13Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:08:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules253128643/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules253128643/work/payloads/0000/tree" time="2023-07-27T20:08:13Z" level=debug msg="Update module output: No" time="2023-07-27T20:08:13Z" level=debug msg="Module does not need reboot" time="2023-07-27T20:08:13Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:13Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55690->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55690->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52596->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52596->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:13Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49384->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49384->[::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="2023-07-27T20:08:13Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:13Z" level=info msg="Handling loaded state: update-commit" time="2023-07-27T20:08:13Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:13Z" level=error msg="Mender shut down in state: update-commit" time="2023-07-27T20:08:13Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2023-07-27T20:08:13Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:13Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38433->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38433->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60089->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60089->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=info msg="Performing rollback" time="2023-07-27T20:08:13Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:08:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules253128643/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules253128643/work/payloads/0000/tree" time="2023-07-27T20:08:13Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:13Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54428->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54428->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42843->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42843->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:13Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55345->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55345->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47334->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47334->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:13Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules253128643/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules253128643/work/payloads/0000/tree" time="2023-07-27T20:08:13Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:13Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:13Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:13Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules253128643/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules253128643/work/payloads/0000/tree" time="2023-07-27T20:08:13Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:13Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:13Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:13Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:13Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules253128643/artifact_info file." time="2023-07-27T20:08:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules253128643/artifact_info" time="2023-07-27T20:08:13Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:13Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.16s) 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="2023-07-27T20:08:13Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:13Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:13Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:13Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56196->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56196->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36812->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36812->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:13Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:13Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:13Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules782175592/device_type" time="2023-07-27T20:08:13Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:13Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:13Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:13Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:13Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:13Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules782175592/artifact_info file." time="2023-07-27T20:08:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules782175592/artifact_info" time="2023-07-27T20:08:13Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:13Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules782175592/artifact_info" time="2023-07-27T20:08:13Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules782175592/device_type" time="2023-07-27T20:08:13Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:13Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:13Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules782175592/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules782175592/work/payloads/0000/tree" time="2023-07-27T20:08:13Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:13Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules782175592/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules782175592/work/payloads/0000/tree" time="2023-07-27T20:08:13Z" level=debug msg="Update module output: No" time="2023-07-27T20:08:13Z" level=debug msg="Module does not support rollback" time="2023-07-27T20:08:13Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:13Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:13Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41747->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41747->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56748->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56748->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" 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="2023-07-27T20:08:13Z" level=info msg="State transition: update-after-store [Download_Leave] -> cleanup [Error]" time="2023-07-27T20:08:13Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:13Z" level=debug msg="Executing script: Download_Error_00" time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:13Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:13Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules782175592/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules782175592/work/payloads/0000/tree" time="2023-07-27T20:08:13Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:13Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:13Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:13Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:13Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules782175592/artifact_info file." time="2023-07-27T20:08:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules782175592/artifact_info" time="2023-07-27T20:08:13Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:13Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.24s) 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="2023-07-27T20:08:13Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:13Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:13Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:13Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37149->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37149->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51219->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51219->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:13Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:13Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:13Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules280271473/device_type" time="2023-07-27T20:08:13Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:13Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:13Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:13Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:13Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:13Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules280271473/artifact_info file." time="2023-07-27T20:08:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules280271473/artifact_info" time="2023-07-27T20:08:13Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:13Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules280271473/artifact_info" time="2023-07-27T20:08:13Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules280271473/device_type" time="2023-07-27T20:08:13Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:13Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:13Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:13Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules280271473/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules280271473/work/payloads/0000/tree" time="2023-07-27T20:08:13Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:13Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules280271473/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules280271473/work/payloads/0000/tree" time="2023-07-27T20:08:13Z" level=debug msg="Update module output: No" time="2023-07-27T20:08:13Z" level=debug msg="Module does not support rollback" time="2023-07-27T20:08:13Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:13Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:13Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60915->[::1]:53: read: connection refused" time="2023-07-27T20:08:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60915->[::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="2023-07-27T20:08:14Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:14Z" level=info msg="Handling loaded state: update-after-store" time="2023-07-27T20:08:14Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:14Z" level=error msg="Mender shut down in state: update-after-store" time="2023-07-27T20:08:14Z" level=info msg="State transition: init [none] -> cleanup [Error]" time="2023-07-27T20:08:14Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:14Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:14Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules280271473/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules280271473/work/payloads/0000/tree" time="2023-07-27T20:08:14Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:14Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:14Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:14Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:14Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules280271473/artifact_info file." time="2023-07-27T20:08:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules280271473/artifact_info" time="2023-07-27T20:08:14Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:14Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.03s) 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="2023-07-27T20:08:14Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:14Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:14Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:14Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51405->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51405->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34135->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34135->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:14Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:14Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:14Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules877567150/device_type" time="2023-07-27T20:08:14Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:14Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:14Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:14Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:14Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:14Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules877567150/artifact_info file." time="2023-07-27T20:08:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules877567150/artifact_info" time="2023-07-27T20:08:14Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:14Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules877567150/artifact_info" time="2023-07-27T20:08:14Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules877567150/device_type" time="2023-07-27T20:08:14Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:14Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:14Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules877567150/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules877567150/work/payloads/0000/tree" time="2023-07-27T20:08:14Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:14Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules877567150/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules877567150/work/payloads/0000/tree" time="2023-07-27T20:08:14Z" level=debug msg="Update module output: No" time="2023-07-27T20:08:14Z" level=debug msg="Module does not support rollback" time="2023-07-27T20:08:14Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:14Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:14Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44003->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44003->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40350->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40350->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:14Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53881->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53881->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33794->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33794->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules877567150/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules877567150/work/payloads/0000/tree" time="2023-07-27T20:08:14Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:08:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules877567150/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules877567150/work/payloads/0000/tree" time="2023-07-27T20:08:14Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:14Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:08:14Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:14Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52764->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52764->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50700->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50700->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=error msg="transient error: error executing leave script for update-install state: error running leave state script(s) for ArtifactInstall state: statescript: error executing 'ArtifactInstall_Leave_00': 1 : exit status 1" time="2023-07-27T20:08:14Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" time="2023-07-27T20:08:14Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:14Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:14Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51336->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51336->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58565->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58565->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:14Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38145->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38145->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41800->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41800->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:14Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules877567150/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules877567150/work/payloads/0000/tree" time="2023-07-27T20:08:14Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:14Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:14Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:14Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules877567150/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules877567150/work/payloads/0000/tree" time="2023-07-27T20:08:14Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:14Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:14Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:14Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:14Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." --- PASS: TestStateTransitionsWithUpdateModules (0.40s) 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="2023-07-27T20:08:14Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:14Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:14Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:14Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50631->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50631->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34054->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34054->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:14Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:14Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:14Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules198345263/device_type" time="2023-07-27T20:08:14Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:14Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:14Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:14Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:14Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:14Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules198345263/artifact_info file." time="2023-07-27T20:08:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules198345263/artifact_info" time="2023-07-27T20:08:14Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:14Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules198345263/artifact_info" time="2023-07-27T20:08:14Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules198345263/device_type" time="2023-07-27T20:08:14Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:14Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:14Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:14Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules198345263/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules198345263/work/payloads/0000/tree" time="2023-07-27T20:08:14Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:14Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules198345263/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules198345263/work/payloads/0000/tree" time="2023-07-27T20:08:14Z" level=debug msg="Update module output: No" time="2023-07-27T20:08:14Z" level=debug msg="Module does not support rollback" time="2023-07-27T20:08:14Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:14Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:14Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52791->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52791->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40617->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40617->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:14Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32843->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32843->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50669->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50669->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules198345263/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules198345263/work/payloads/0000/tree" time="2023-07-27T20:08:14Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:08:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules198345263/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules198345263/work/payloads/0000/tree" time="2023-07-27T20:08:14Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:14Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:08:14Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:08:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:14Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41064->[::1]:53: read: connection refused" time="2023-07-27T20:08:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41064->[::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="2023-07-27T20:08:15Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:15Z" level=info msg="Handling loaded state: update-install" time="2023-07-27T20:08:15Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:15Z" level=error msg="Mender shut down in state: update-install" time="2023-07-27T20:08:15Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" time="2023-07-27T20:08:15Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:15Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:15Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60667->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60667->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49431->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49431->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:15Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules198345263/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules198345263/work/payloads/0000/tree" time="2023-07-27T20:08:15Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:15Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:15Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:15Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules198345263/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules198345263/work/payloads/0000/tree" time="2023-07-27T20:08:15Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:15Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:15Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:15Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:15Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." --- PASS: TestStateTransitionsWithUpdateModules (0.08s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00 state_test.go:4717: Error in ArtifactInstall_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:08:15Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:15Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:15Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:15Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51699->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51699->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38370->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38370->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:15Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:15Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:15Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules294143556/device_type" time="2023-07-27T20:08:15Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:15Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:15Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:15Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:15Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:15Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules294143556/artifact_info file." time="2023-07-27T20:08:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules294143556/artifact_info" time="2023-07-27T20:08:15Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:15Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules294143556/artifact_info" time="2023-07-27T20:08:15Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules294143556/device_type" time="2023-07-27T20:08:15Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:15Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:15Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules294143556/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules294143556/work/payloads/0000/tree" time="2023-07-27T20:08:15Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:15Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules294143556/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules294143556/work/payloads/0000/tree" time="2023-07-27T20:08:15Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:15Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:15Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:15Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:15Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57662->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57662->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42411->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42411->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:15Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49776->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49776->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32793->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32793->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules294143556/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules294143556/work/payloads/0000/tree" time="2023-07-27T20:08:15Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:08:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules294143556/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules294143556/work/payloads/0000/tree" time="2023-07-27T20:08:15Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:15Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:08:15Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:15Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59017->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59017->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37969->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37969->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="transient error: error executing leave script for update-install state: error running leave state script(s) for ArtifactInstall state: statescript: error executing 'ArtifactInstall_Leave_00': 1 : exit status 1" time="2023-07-27T20:08:15Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" time="2023-07-27T20:08:15Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:15Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49244->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49244->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50926->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50926->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:15Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55763->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55763->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36102->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36102->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=info msg="Performing rollback" time="2023-07-27T20:08:15Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:08:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules294143556/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules294143556/work/payloads/0000/tree" time="2023-07-27T20:08:15Z" level=debug msg="Will try to rollback reboot the device" time="2023-07-27T20:08:15Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:15Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56977->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56977->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58678->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58678->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:15Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47013->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47013->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34666->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34666->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:15Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules294143556/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules294143556/work/payloads/0000/tree" time="2023-07-27T20:08:15Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:15Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules294143556/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules294143556/work/payloads/0000/tree" time="2023-07-27T20:08:15Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:15Z" level=debug msg="Handling state after rollback reboot" time="2023-07-27T20:08:15Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:15Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44691->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44691->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44602->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44602->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:15Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47272->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47272->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34448->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34448->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:15Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules294143556/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules294143556/work/payloads/0000/tree" time="2023-07-27T20:08:15Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:15Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:15Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:15Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules294143556/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules294143556/work/payloads/0000/tree" time="2023-07-27T20:08:15Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:15Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:15Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:15Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:15Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules294143556/artifact_info file." time="2023-07-27T20:08:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules294143556/artifact_info" time="2023-07-27T20:08:15Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:15Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.50s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00 state_test.go:4717: Killed in ArtifactInstall_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:08:15Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:15Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:15Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:15Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33405->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33405->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45675->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45675->[::1]:53: read: connection refused" time="2023-07-27T20:08:15Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:15Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:15Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:15Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules352457853/device_type" time="2023-07-27T20:08:15Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:15Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:15Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:15Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:15Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:15Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules352457853/artifact_info file." time="2023-07-27T20:08:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules352457853/artifact_info" time="2023-07-27T20:08:15Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:15Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules352457853/artifact_info" time="2023-07-27T20:08:15Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules352457853/device_type" time="2023-07-27T20:08:15Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:15Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:15Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:15Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules352457853/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules352457853/work/payloads/0000/tree" time="2023-07-27T20:08:15Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules352457853/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules352457853/work/payloads/0000/tree" time="2023-07-27T20:08:16Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:16Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:16Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:16Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:16Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59899->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59899->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40538->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40538->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43793->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43793->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47851->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47851->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules352457853/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules352457853/work/payloads/0000/tree" time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules352457853/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules352457853/work/payloads/0000/tree" time="2023-07-27T20:08:16Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:16Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:08:16Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55214->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55214->[::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="2023-07-27T20:08:16Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:16Z" level=info msg="Handling loaded state: update-install" time="2023-07-27T20:08:16Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:16Z" level=error msg="Mender shut down in state: update-install" time="2023-07-27T20:08:16Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2023-07-27T20:08:16Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60117->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60117->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39858->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39858->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=info msg="Performing rollback" time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules352457853/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules352457853/work/payloads/0000/tree" time="2023-07-27T20:08:16Z" level=debug msg="Will try to rollback reboot the device" time="2023-07-27T20:08:16Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36235->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36235->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57478->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57478->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47753->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47753->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34312->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34312->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules352457853/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules352457853/work/payloads/0000/tree" time="2023-07-27T20:08:16Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules352457853/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules352457853/work/payloads/0000/tree" time="2023-07-27T20:08:16Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:16Z" level=debug msg="Handling state after rollback reboot" time="2023-07-27T20:08:16Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54482->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54482->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49995->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49995->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57827->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57827->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49907->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49907->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules352457853/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules352457853/work/payloads/0000/tree" time="2023-07-27T20:08:16Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:16Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules352457853/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules352457853/work/payloads/0000/tree" time="2023-07-27T20:08:16Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:16Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:16Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:16Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules352457853/artifact_info file." time="2023-07-27T20:08:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules352457853/artifact_info" time="2023-07-27T20:08:16Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:16Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.23s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Leave_00 state_test.go:4717: Error in ArtifactReboot_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:08:16Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:16Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:16Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:16Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43033->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43033->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50036->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50036->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:16Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:16Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:16Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules426502570/device_type" time="2023-07-27T20:08:16Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:16Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:16Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:16Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules426502570/artifact_info file." time="2023-07-27T20:08:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules426502570/artifact_info" time="2023-07-27T20:08:16Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:16Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules426502570/artifact_info" time="2023-07-27T20:08:16Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules426502570/device_type" time="2023-07-27T20:08:16Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:16Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:16Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules426502570/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules426502570/work/payloads/0000/tree" time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules426502570/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules426502570/work/payloads/0000/tree" time="2023-07-27T20:08:16Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:16Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:16Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:16Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:16Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36666->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36666->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53843->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53843->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54156->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54156->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54768->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54768->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules426502570/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules426502570/work/payloads/0000/tree" time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules426502570/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules426502570/work/payloads/0000/tree" time="2023-07-27T20:08:16Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:16Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:08:16Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55557->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55557->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58992->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58992->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46030->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46030->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39449->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39449->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=debug msg="Handling reboot state" time="2023-07-27T20:08:16Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules426502570/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules426502570/work/payloads/0000/tree" time="2023-07-27T20:08:16Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules426502570/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules426502570/work/payloads/0000/tree" time="2023-07-27T20:08:16Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:08:16Z" level=debug msg="Handling state after reboot" time="2023-07-27T20:08:16Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50904->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50904->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57501->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57501->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" 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="2023-07-27T20:08:16Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2023-07-27T20:08:16Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40686->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40686->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56861->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56861->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36948->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36948->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37061->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37061->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=info msg="Performing rollback" time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules426502570/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules426502570/work/payloads/0000/tree" time="2023-07-27T20:08:16Z" level=debug msg="Will try to rollback reboot the device" time="2023-07-27T20:08:16Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59866->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59866->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45666->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45666->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50211->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50211->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37899->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37899->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules426502570/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules426502570/work/payloads/0000/tree" time="2023-07-27T20:08:16Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules426502570/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules426502570/work/payloads/0000/tree" time="2023-07-27T20:08:16Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:16Z" level=debug msg="Handling state after rollback reboot" time="2023-07-27T20:08:16Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46255->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46255->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57874->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57874->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:16Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41800->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41800->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37525->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37525->[::1]:53: read: connection refused" time="2023-07-27T20:08:16Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:16Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules426502570/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules426502570/work/payloads/0000/tree" time="2023-07-27T20:08:17Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:17Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:17Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules426502570/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules426502570/work/payloads/0000/tree" time="2023-07-27T20:08:17Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:17Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:17Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:17Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules426502570/artifact_info file." time="2023-07-27T20:08:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules426502570/artifact_info" time="2023-07-27T20:08:17Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:17Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.52s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Leave_00 state_test.go:4717: Killed in ArtifactReboot_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:08:17Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:17Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:17Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:17Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33935->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33935->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33670->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33670->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:17Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:17Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:17Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules889259739/device_type" time="2023-07-27T20:08:17Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:17Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:17Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:17Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules889259739/artifact_info file." time="2023-07-27T20:08:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules889259739/artifact_info" time="2023-07-27T20:08:17Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:17Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules889259739/artifact_info" time="2023-07-27T20:08:17Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules889259739/device_type" time="2023-07-27T20:08:17Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:17Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:17Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules889259739/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules889259739/work/payloads/0000/tree" time="2023-07-27T20:08:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules889259739/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules889259739/work/payloads/0000/tree" time="2023-07-27T20:08:17Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:17Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:17Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:17Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:17Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36236->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36236->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55660->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55660->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:17Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39274->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39274->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34389->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34389->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules889259739/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules889259739/work/payloads/0000/tree" time="2023-07-27T20:08:17Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:08:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules889259739/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules889259739/work/payloads/0000/tree" time="2023-07-27T20:08:17Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:17Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:08:17Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:17Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54850->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54850->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39621->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39621->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:17Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43158->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43158->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47900->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47900->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=debug msg="Handling reboot state" time="2023-07-27T20:08:17Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:08:17Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2023-07-27T20:08:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules889259739/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules889259739/work/payloads/0000/tree" time="2023-07-27T20:08:17Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:08:17Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2023-07-27T20:08:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules889259739/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules889259739/work/payloads/0000/tree" time="2023-07-27T20:08:17Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:08:17Z" level=debug msg="Handling state after reboot" time="2023-07-27T20:08:17Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:17Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57665->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57665->[::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="2023-07-27T20:08:17Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:17Z" level=info msg="Handling loaded state: after-reboot" time="2023-07-27T20:08:17Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:17Z" level=error msg="Mender shut down in state: after-reboot" time="2023-07-27T20:08:17Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2023-07-27T20:08:17Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:17Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47648->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47648->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41196->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41196->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=info msg="Performing rollback" time="2023-07-27T20:08:17Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:08:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules889259739/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules889259739/work/payloads/0000/tree" time="2023-07-27T20:08:17Z" level=debug msg="Will try to rollback reboot the device" time="2023-07-27T20:08:17Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:17Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46940->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46940->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45418->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45418->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:17Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35866->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35866->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50956->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50956->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:17Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules889259739/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules889259739/work/payloads/0000/tree" time="2023-07-27T20:08:17Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:17Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules889259739/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules889259739/work/payloads/0000/tree" time="2023-07-27T20:08:17Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:17Z" level=debug msg="Handling state after rollback reboot" time="2023-07-27T20:08:17Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:17Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59147->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59147->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58012->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58012->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:17Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40828->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40828->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47956->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47956->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:17Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules889259739/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules889259739/work/payloads/0000/tree" time="2023-07-27T20:08:17Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:17Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:17Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules889259739/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules889259739/work/payloads/0000/tree" time="2023-07-27T20:08:17Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:17Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:17Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:17Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules889259739/artifact_info file." time="2023-07-27T20:08:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules889259739/artifact_info" time="2023-07-27T20:08:17Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:17Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.19s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Leave_00 state_test.go:4717: Error in ArtifactRollback_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:08:17Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:17Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:17Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:17Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59519->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59519->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56223->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56223->[::1]:53: read: connection refused" time="2023-07-27T20:08:17Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:17Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:17Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:17Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules219457120/device_type" time="2023-07-27T20:08:17Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:17Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:17Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:17Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules219457120/artifact_info file." time="2023-07-27T20:08:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules219457120/artifact_info" time="2023-07-27T20:08:17Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:17Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules219457120/artifact_info" time="2023-07-27T20:08:17Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules219457120/device_type" time="2023-07-27T20:08:17Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:17Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:18Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:18Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules219457120/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules219457120/work/payloads/0000/tree" time="2023-07-27T20:08:18Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules219457120/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules219457120/work/payloads/0000/tree" time="2023-07-27T20:08:18Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:18Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:18Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:18Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:18Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56718->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56718->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34118->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34118->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:18Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60106->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60106->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48933->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48933->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules219457120/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules219457120/work/payloads/0000/tree" time="2023-07-27T20:08:18Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:08:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules219457120/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules219457120/work/payloads/0000/tree" time="2023-07-27T20:08:18Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:18Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:08:18Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:08:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:18Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44662->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44662->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55322->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55322->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:18Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34924->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34924->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40517->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40517->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=debug msg="Handling reboot state" time="2023-07-27T20:08:18Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:08:18Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2023-07-27T20:08:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules219457120/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules219457120/work/payloads/0000/tree" time="2023-07-27T20:08:18Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:08:18Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2023-07-27T20:08:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules219457120/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules219457120/work/payloads/0000/tree" time="2023-07-27T20:08:18Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:18Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:18Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2023-07-27T20:08:18Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:18Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46449->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46449->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33536->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33536->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:18Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56013->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56013->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35418->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35418->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=info msg="Performing rollback" time="2023-07-27T20:08:18Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:08:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules219457120/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules219457120/work/payloads/0000/tree" time="2023-07-27T20:08:18Z" level=debug msg="Will try to rollback reboot the device" time="2023-07-27T20:08:18Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:18Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43225->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43225->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollback_Leave_00': 1: exit status 1" time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52495->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52495->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53770->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53770->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50877->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50877->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules219457120/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules219457120/work/payloads/0000/tree" time="2023-07-27T20:08:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules219457120/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules219457120/work/payloads/0000/tree" time="2023-07-27T20:08:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:18Z" level=debug msg="Handling state after rollback reboot" time="2023-07-27T20:08:18Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48056->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48056->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47906->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47906->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:18Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49657->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49657->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=error msg="Failed to report 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="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34873->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:18Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules219457120/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules219457120/work/payloads/0000/tree" time="2023-07-27T20:08:18Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:08:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:18Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:18Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:18Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules219457120/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules219457120/work/payloads/0000/tree" time="2023-07-27T20:08:18Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:18Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:18Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:18Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules219457120/artifact_info file." time="2023-07-27T20:08:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules219457120/artifact_info" time="2023-07-27T20:08:18Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:18Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.65s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Leave_00 state_test.go:4717: Killed in ArtifactRollback_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:08:18Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:18Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:18Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:18Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:18Z" level=error msg="Failed to report 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="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53299->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49122->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49122->[::1]:53: read: connection refused" time="2023-07-27T20:08:18Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:18Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:18Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:18Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules320258761/device_type" time="2023-07-27T20:08:18Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:18Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:18Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:18Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:18Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules320258761/artifact_info file." time="2023-07-27T20:08:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules320258761/artifact_info" time="2023-07-27T20:08:18Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:18Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules320258761/artifact_info" time="2023-07-27T20:08:18Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules320258761/device_type" time="2023-07-27T20:08:18Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:18Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:19Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:19Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320258761/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules320258761/work/payloads/0000/tree" time="2023-07-27T20:08:19Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320258761/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules320258761/work/payloads/0000/tree" time="2023-07-27T20:08:19Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:19Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:19Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:19Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:19Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43988->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43988->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41516->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41516->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:19Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59832->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59832->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48132->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48132->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320258761/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules320258761/work/payloads/0000/tree" time="2023-07-27T20:08:19Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:08:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320258761/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules320258761/work/payloads/0000/tree" time="2023-07-27T20:08:19Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:19Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:08:19Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:19Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46858->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46858->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34577->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34577->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:19Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33832->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33832->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40050->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40050->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=debug msg="Handling reboot state" time="2023-07-27T20:08:19Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:08:19Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2023-07-27T20:08:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320258761/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules320258761/work/payloads/0000/tree" time="2023-07-27T20:08:19Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:08:19Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2023-07-27T20:08:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320258761/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules320258761/work/payloads/0000/tree" time="2023-07-27T20:08:19Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:19Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:19Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2023-07-27T20:08:19Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:19Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55511->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55511->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55361->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55361->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:19Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55442->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55442->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57024->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57024->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=info msg="Performing rollback" time="2023-07-27T20:08:19Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:08:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320258761/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules320258761/work/payloads/0000/tree" time="2023-07-27T20:08:19Z" level=debug msg="Will try to rollback reboot the device" time="2023-07-27T20:08:19Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:19Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35349->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35349->[::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="2023-07-27T20:08:19Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:19Z" level=info msg="Handling loaded state: rollback" time="2023-07-27T20:08:19Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:19Z" level=error msg="Mender shut down in state: rollback" time="2023-07-27T20:08:19Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2023-07-27T20:08:19Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:19Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49013->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49013->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60254->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60254->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=info msg="Performing rollback" time="2023-07-27T20:08:19Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:08:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320258761/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules320258761/work/payloads/0000/tree" time="2023-07-27T20:08:19Z" level=debug msg="Will try to rollback reboot the device" time="2023-07-27T20:08:19Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:19Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47678->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47678->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55463->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55463->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:19Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34019->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34019->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60730->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60730->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:19Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320258761/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules320258761/work/payloads/0000/tree" time="2023-07-27T20:08:19Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:19Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320258761/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules320258761/work/payloads/0000/tree" time="2023-07-27T20:08:19Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:19Z" level=debug msg="Handling state after rollback reboot" time="2023-07-27T20:08:19Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:19Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60134->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60134->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38652->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38652->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33360->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33360->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47006->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47006->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:19Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320258761/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules320258761/work/payloads/0000/tree" time="2023-07-27T20:08:19Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:19Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:19Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:19Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320258761/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules320258761/work/payloads/0000/tree" time="2023-07-27T20:08:19Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:19Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:19Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:19Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules320258761/artifact_info file." time="2023-07-27T20:08:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules320258761/artifact_info" time="2023-07-27T20:08:19Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:19Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.30s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Leave_00 state_test.go:4717: Error in ArtifactRollbackReboot_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:08:19Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:19Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:19Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:19Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45487->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45487->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48615->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48615->[::1]:53: read: connection refused" time="2023-07-27T20:08:19Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:19Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:19Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:19Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules452248038/device_type" time="2023-07-27T20:08:19Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:19Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:19Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:20Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:20Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules452248038/artifact_info file." time="2023-07-27T20:08:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules452248038/artifact_info" time="2023-07-27T20:08:20Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:20Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules452248038/artifact_info" time="2023-07-27T20:08:20Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules452248038/device_type" time="2023-07-27T20:08:20Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:20Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:20Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:20Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules452248038/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules452248038/work/payloads/0000/tree" time="2023-07-27T20:08:20Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:20Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules452248038/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules452248038/work/payloads/0000/tree" time="2023-07-27T20:08:20Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:20Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:20Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:20Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:20Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58354->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58354->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37695->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37695->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:20Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52243->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52243->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43827->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43827->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules452248038/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules452248038/work/payloads/0000/tree" time="2023-07-27T20:08:20Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:08:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules452248038/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules452248038/work/payloads/0000/tree" time="2023-07-27T20:08:20Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:20Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:08:20Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:08:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:20Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38557->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38557->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41308->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41308->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:20Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39468->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39468->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60397->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60397->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=debug msg="Handling reboot state" time="2023-07-27T20:08:20Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:08:20Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2023-07-27T20:08:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules452248038/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules452248038/work/payloads/0000/tree" time="2023-07-27T20:08:20Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:08:20Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2023-07-27T20:08:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules452248038/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules452248038/work/payloads/0000/tree" time="2023-07-27T20:08:20Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:20Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:20Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2023-07-27T20:08:20Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:20Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32844->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32844->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59039->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59039->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:20Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54430->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54430->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49512->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49512->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=info msg="Performing rollback" time="2023-07-27T20:08:20Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:08:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules452248038/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules452248038/work/payloads/0000/tree" time="2023-07-27T20:08:20Z" level=debug msg="Will try to rollback reboot the device" time="2023-07-27T20:08:20Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:20Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50733->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50733->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48174->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48174->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:20Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44592->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44592->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37705->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37705->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:20Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules452248038/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules452248038/work/payloads/0000/tree" time="2023-07-27T20:08:20Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:20Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules452248038/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules452248038/work/payloads/0000/tree" time="2023-07-27T20:08:20Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:20Z" level=debug msg="Handling state after rollback reboot" time="2023-07-27T20:08:20Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:20Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46208->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46208->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollbackReboot_Leave_00': 1: exit status 1" time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56811->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56811->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:20Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51564->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51564->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58735->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58735->[::1]:53: read: connection refused" time="2023-07-27T20:08:20Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:20Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules452248038/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules452248038/work/payloads/0000/tree" time="2023-07-27T20:08:20Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:08:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:20Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:20Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:20Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules452248038/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules452248038/work/payloads/0000/tree" time="2023-07-27T20:08:20Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:20Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:20Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:20Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules452248038/artifact_info file." time="2023-07-27T20:08:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules452248038/artifact_info" time="2023-07-27T20:08:20Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:20Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.93s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Leave_00 state_test.go:4717: Killed in ArtifactRollbackReboot_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:08:21Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:21Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:21Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:21Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34937->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34937->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35652->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35652->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:21Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:21Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:21Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules523581895/device_type" time="2023-07-27T20:08:21Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:21Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:21Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:21Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:21Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:21Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules523581895/artifact_info file." time="2023-07-27T20:08:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules523581895/artifact_info" time="2023-07-27T20:08:21Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:21Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules523581895/artifact_info" time="2023-07-27T20:08:21Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules523581895/device_type" time="2023-07-27T20:08:21Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:21Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:21Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:21Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules523581895/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules523581895/work/payloads/0000/tree" time="2023-07-27T20:08:21Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:21Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules523581895/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules523581895/work/payloads/0000/tree" time="2023-07-27T20:08:21Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:21Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:21Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:21Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:21Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60331->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60331->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59155->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59155->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:21Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40446->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40446->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36757->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36757->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules523581895/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules523581895/work/payloads/0000/tree" time="2023-07-27T20:08:21Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:08:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules523581895/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules523581895/work/payloads/0000/tree" time="2023-07-27T20:08:21Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:21Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:08:21Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:08:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:21Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40788->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40788->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34078->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34078->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:21Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57671->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57671->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36909->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36909->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=debug msg="Handling reboot state" time="2023-07-27T20:08:21Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:08:21Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2023-07-27T20:08:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules523581895/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules523581895/work/payloads/0000/tree" time="2023-07-27T20:08:21Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:08:21Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2023-07-27T20:08:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules523581895/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules523581895/work/payloads/0000/tree" time="2023-07-27T20:08:21Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:21Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:21Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2023-07-27T20:08:21Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:21Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58588->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58588->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36024->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36024->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:21Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45182->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45182->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60409->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60409->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=info msg="Performing rollback" time="2023-07-27T20:08:21Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:08:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules523581895/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules523581895/work/payloads/0000/tree" time="2023-07-27T20:08:21Z" level=debug msg="Will try to rollback reboot the device" time="2023-07-27T20:08:21Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:21Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53947->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53947->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43445->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43445->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:21Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45120->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45120->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32790->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32790->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:21Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules523581895/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules523581895/work/payloads/0000/tree" time="2023-07-27T20:08:21Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:21Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules523581895/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules523581895/work/payloads/0000/tree" time="2023-07-27T20:08:21Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:21Z" level=debug msg="Handling state after rollback reboot" time="2023-07-27T20:08:21Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:21Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56868->[::1]:53: read: connection refused" time="2023-07-27T20:08:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56868->[::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="2023-07-27T20:08:22Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:22Z" level=info msg="Handling loaded state: after-rollback-reboot" time="2023-07-27T20:08:22Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:22Z" level=error msg="Mender shut down in state: after-rollback-reboot" time="2023-07-27T20:08:22Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:22Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:22Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules523581895/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules523581895/work/payloads/0000/tree" time="2023-07-27T20:08:22Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:22Z" level=debug msg="Handling state after rollback reboot" time="2023-07-27T20:08:22Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45760->[::1]:53: read: connection refused" time="2023-07-27T20:08:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45760->[::1]:53: read: connection refused" time="2023-07-27T20:08:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39899->[::1]:53: read: connection refused" time="2023-07-27T20:08:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39899->[::1]:53: read: connection refused" time="2023-07-27T20:08:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44872->[::1]:53: read: connection refused" time="2023-07-27T20:08:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44872->[::1]:53: read: connection refused" time="2023-07-27T20:08:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47425->[::1]:53: read: connection refused" time="2023-07-27T20:08:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47425->[::1]:53: read: connection refused" time="2023-07-27T20:08:22Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:22Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules523581895/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules523581895/work/payloads/0000/tree" time="2023-07-27T20:08:22Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:08:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:22Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:22Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:22Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules523581895/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules523581895/work/payloads/0000/tree" time="2023-07-27T20:08:22Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:22Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:22Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:22Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:22Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules523581895/artifact_info file." time="2023-07-27T20:08:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules523581895/artifact_info" time="2023-07-27T20:08:22Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:22Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.19s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Leave_00 state_test.go:4717: Error in ArtifactFailure_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:08:22Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:22Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:22Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:22Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59342->[::1]:53: read: connection refused" time="2023-07-27T20:08:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59342->[::1]:53: read: connection refused" time="2023-07-27T20:08:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37891->[::1]:53: read: connection refused" time="2023-07-27T20:08:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37891->[::1]:53: read: connection refused" time="2023-07-27T20:08:22Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:22Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:22Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:22Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules086292412/device_type" time="2023-07-27T20:08:22Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:22Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:22Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:22Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:22Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:22Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:22Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules086292412/artifact_info file." time="2023-07-27T20:08:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules086292412/artifact_info" time="2023-07-27T20:08:22Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:22Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules086292412/artifact_info" time="2023-07-27T20:08:22Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules086292412/device_type" time="2023-07-27T20:08:22Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:22Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:22Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:22Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules086292412/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules086292412/work/payloads/0000/tree" time="2023-07-27T20:08:22Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:22Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules086292412/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules086292412/work/payloads/0000/tree" time="2023-07-27T20:08:22Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:22Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:22Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:22Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:22Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33639->[::1]:53: read: connection refused" time="2023-07-27T20:08:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33639->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:43654->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:43654->[::1]:53: read: connection refused" time="2023-07-27T20:08:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:23Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08: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]:52487->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:52487->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:59552->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:59552->[::1]:53: read: connection refused" time="2023-07-27T20:08:23Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules086292412/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules086292412/work/payloads/0000/tree" time="2023-07-27T20:08:23Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:23Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:23Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" time="2023-07-27T20:08:23Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:23Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2023-07-27T20:08: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]:42571->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:42571->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:36136->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:36136->[::1]:53: read: connection refused" time="2023-07-27T20:08:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:23Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08: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]:54738->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:54738->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:49700->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:49700->[::1]:53: read: connection refused" time="2023-07-27T20:08:23Z" level=info msg="Performing rollback" time="2023-07-27T20:08:23Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:08:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules086292412/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules086292412/work/payloads/0000/tree" time="2023-07-27T20:08:23Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:23Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08: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]:45447->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:45447->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:56964->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:56964->[::1]:53: read: connection refused" time="2023-07-27T20:08:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:23Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:41701->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:41701->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:44361->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:44361->[::1]:53: read: connection refused" time="2023-07-27T20:08:23Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:23Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules086292412/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules086292412/work/payloads/0000/tree" time="2023-07-27T20:08:23Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:08:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:23Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:23Z" level=error msg="statescript: Ignoring error executing 'ArtifactFailure_Leave_00': 1: exit status 1" time="2023-07-27T20:08:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:23Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:23Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules086292412/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules086292412/work/payloads/0000/tree" time="2023-07-27T20:08:23Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:23Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:23Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:23Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:23Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules086292412/artifact_info file." time="2023-07-27T20:08:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules086292412/artifact_info" time="2023-07-27T20:08:23Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:23Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.98s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Leave_00 state_test.go:4717: Killed in ArtifactFailure_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:08:23Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:23Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:23Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:23Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08: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]:46613->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:46613->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:56708->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:56708->[::1]:53: read: connection refused" time="2023-07-27T20:08:23Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:23Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:23Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:23Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules129711445/device_type" time="2023-07-27T20:08:23Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:23Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:23Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:23Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:23Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:23Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:23Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules129711445/artifact_info file." time="2023-07-27T20:08:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules129711445/artifact_info" time="2023-07-27T20:08:23Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:23Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules129711445/artifact_info" time="2023-07-27T20:08:23Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules129711445/device_type" time="2023-07-27T20:08:23Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:23Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:23Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:23Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules129711445/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules129711445/work/payloads/0000/tree" time="2023-07-27T20:08:24Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:24Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules129711445/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules129711445/work/payloads/0000/tree" time="2023-07-27T20:08:24Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:24Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:24Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:24Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:24Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42092->[::1]:53: read: connection refused" time="2023-07-27T20:08:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42092->[::1]:53: read: connection refused" time="2023-07-27T20:08:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45236->[::1]:53: read: connection refused" time="2023-07-27T20:08:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45236->[::1]:53: read: connection refused" time="2023-07-27T20:08:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:24Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54898->[::1]:53: read: connection refused" time="2023-07-27T20:08:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54898->[::1]:53: read: connection refused" time="2023-07-27T20:08:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44985->[::1]:53: read: connection refused" time="2023-07-27T20:08:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44985->[::1]:53: read: connection refused" time="2023-07-27T20:08:24Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules129711445/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules129711445/work/payloads/0000/tree" time="2023-07-27T20:08:24Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:24Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:24Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" time="2023-07-27T20:08:24Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:24Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44378->[::1]:53: read: connection refused" time="2023-07-27T20:08:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44378->[::1]:53: read: connection refused" time="2023-07-27T20:08:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50501->[::1]:53: read: connection refused" time="2023-07-27T20:08:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50501->[::1]:53: read: connection refused" time="2023-07-27T20:08:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:24Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36744->[::1]:53: read: connection refused" time="2023-07-27T20:08:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36744->[::1]:53: read: connection refused" time="2023-07-27T20:08:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54380->[::1]:53: read: connection refused" time="2023-07-27T20:08:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54380->[::1]:53: read: connection refused" time="2023-07-27T20:08:24Z" level=info msg="Performing rollback" time="2023-07-27T20:08:24Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:08:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules129711445/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules129711445/work/payloads/0000/tree" time="2023-07-27T20:08:24Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:24Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50992->[::1]:53: read: connection refused" time="2023-07-27T20:08:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50992->[::1]:53: read: connection refused" time="2023-07-27T20:08:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46360->[::1]:53: read: connection refused" time="2023-07-27T20:08:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46360->[::1]:53: read: connection refused" time="2023-07-27T20:08:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:24Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43387->[::1]:53: read: connection refused" time="2023-07-27T20:08:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43387->[::1]:53: read: connection refused" time="2023-07-27T20:08:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58551->[::1]:53: read: connection refused" time="2023-07-27T20:08:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58551->[::1]:53: read: connection refused" time="2023-07-27T20:08:24Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:24Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules129711445/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules129711445/work/payloads/0000/tree" time="2023-07-27T20:08:24Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:08:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:24Z" 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="2023-07-27T20:08:24Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:24Z" level=info msg="Handling loaded state: update-error" time="2023-07-27T20:08:24Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:24Z" level=error msg="Mender shut down in state: update-error" time="2023-07-27T20:08:24Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:24Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:24Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40849->[::1]:53: read: connection refused" time="2023-07-27T20:08:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40849->[::1]:53: read: connection refused" time="2023-07-27T20:08:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59189->[::1]:53: read: connection refused" time="2023-07-27T20:08:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59189->[::1]:53: read: connection refused" time="2023-07-27T20:08:24Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:24Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules129711445/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules129711445/work/payloads/0000/tree" time="2023-07-27T20:08:24Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:08:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:24Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:24Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:24Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules129711445/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules129711445/work/payloads/0000/tree" time="2023-07-27T20:08:24Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:24Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:24Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:24Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:24Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules129711445/artifact_info file." time="2023-07-27T20:08:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules129711445/artifact_info" time="2023-07-27T20:08:24Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:24Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.07s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00 state_test.go:4717: Error in ArtifactCommit_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:08:24Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:24Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:24Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:24Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60023->[::1]:53: read: connection refused" time="2023-07-27T20:08:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60023->[::1]:53: read: connection refused" time="2023-07-27T20:08:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37180->[::1]:53: read: connection refused" time="2023-07-27T20:08:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37180->[::1]:53: read: connection refused" time="2023-07-27T20:08:24Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:24Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:24Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:24Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules898679138/device_type" time="2023-07-27T20:08:24Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:24Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:24Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:24Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:24Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:24Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules898679138/artifact_info file." time="2023-07-27T20:08:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules898679138/artifact_info" time="2023-07-27T20:08:24Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:24Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules898679138/artifact_info" time="2023-07-27T20:08:24Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules898679138/device_type" time="2023-07-27T20:08:24Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:24Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:24Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:24Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules898679138/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules898679138/work/payloads/0000/tree" time="2023-07-27T20:08:24Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:24Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules898679138/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules898679138/work/payloads/0000/tree" time="2023-07-27T20:08:24Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:24Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:24Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:24Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:24Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42880->[::1]:53: read: connection refused" time="2023-07-27T20:08:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42880->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39864->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39864->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:25Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56488->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56488->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53277->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53277->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules898679138/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules898679138/work/payloads/0000/tree" time="2023-07-27T20:08:25Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:08:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules898679138/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules898679138/work/payloads/0000/tree" time="2023-07-27T20:08:25Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:25Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:08:25Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:25Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34240->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34240->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35886->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35886->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:25Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43123->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43123->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43267->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43267->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=debug msg="Handling reboot state" time="2023-07-27T20:08:25Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:08:25Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2023-07-27T20:08:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules898679138/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules898679138/work/payloads/0000/tree" time="2023-07-27T20:08:25Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:08:25Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2023-07-27T20:08:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules898679138/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules898679138/work/payloads/0000/tree" time="2023-07-27T20:08:25Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:08:25Z" level=debug msg="Handling state after reboot" time="2023-07-27T20:08:25Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:25Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41851->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41851->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33918->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33918->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:25Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39007->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39007->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38391->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38391->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=debug msg="Handle update commit state" time="2023-07-27T20:08:25Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2023-07-27T20:08:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules898679138/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules898679138/work/payloads/0000/tree" time="2023-07-27T20:08:25Z" level=debug msg="Committing new artifact name: artifact-name" time="2023-07-27T20:08:25Z" level=debug msg="Committing new artifact group name: " time="2023-07-27T20:08:25Z" level=debug msg="Committing new artifact type-info provides" time="2023-07-27T20:08:25Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" time="2023-07-27T20:08:25Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" time="2023-07-27T20:08:25Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:25Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:25Z" 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="2023-07-27T20:08:25Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" time="2023-07-27T20:08:25Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [Error]" time="2023-07-27T20:08:25Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:25Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:25Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:25Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules898679138/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules898679138/work/payloads/0000/tree" time="2023-07-27T20:08:25Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:25Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:25Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:25Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:25Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." --- PASS: TestStateTransitionsWithUpdateModules (0.73s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00 state_test.go:4717: Killed in ArtifactCommit_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:08:25Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:25Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:25Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:25Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55871->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55871->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33977->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33977->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:25Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:25Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:25Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules464498931/device_type" time="2023-07-27T20:08:25Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:25Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:25Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:25Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:25Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:25Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules464498931/artifact_info file." time="2023-07-27T20:08:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules464498931/artifact_info" time="2023-07-27T20:08:25Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:25Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules464498931/artifact_info" time="2023-07-27T20:08:25Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules464498931/device_type" time="2023-07-27T20:08:25Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:25Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:25Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:25Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules464498931/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules464498931/work/payloads/0000/tree" time="2023-07-27T20:08:25Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:25Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules464498931/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules464498931/work/payloads/0000/tree" time="2023-07-27T20:08:25Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:25Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:25Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:25Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:25Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55454->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55454->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34341->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34341->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:25Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48664->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48664->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38217->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38217->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules464498931/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules464498931/work/payloads/0000/tree" time="2023-07-27T20:08:25Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:08:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules464498931/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules464498931/work/payloads/0000/tree" time="2023-07-27T20:08:25Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:25Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:08:25Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:25Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57274->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57274->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40923->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40923->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:25Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51614->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51614->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34337->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34337->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=debug msg="Handling reboot state" time="2023-07-27T20:08:25Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:08:25Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2023-07-27T20:08:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules464498931/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules464498931/work/payloads/0000/tree" time="2023-07-27T20:08:25Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:08:25Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2023-07-27T20:08:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules464498931/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules464498931/work/payloads/0000/tree" time="2023-07-27T20:08:25Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:08:25Z" level=debug msg="Handling state after reboot" time="2023-07-27T20:08:25Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:25Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37168->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37168->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55522->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55522->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:25Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41102->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41102->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39241->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39241->[::1]:53: read: connection refused" time="2023-07-27T20:08:25Z" level=debug msg="Handle update commit state" time="2023-07-27T20:08:25Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2023-07-27T20:08:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules464498931/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules464498931/work/payloads/0000/tree" time="2023-07-27T20:08:25Z" level=debug msg="Committing new artifact name: artifact-name" time="2023-07-27T20:08:25Z" level=debug msg="Committing new artifact group name: " time="2023-07-27T20:08:25Z" level=debug msg="Committing new artifact type-info provides" time="2023-07-27T20:08:25Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" time="2023-07-27T20:08:25Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" time="2023-07-27T20:08:25Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:25Z" 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="2023-07-27T20:08:25Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:25Z" level=info msg="Handling loaded state: update-after-commit" time="2023-07-27T20:08:25Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:25Z" level=error msg="Mender shut down in state: update-after-commit" time="2023-07-27T20:08:25Z" level=info msg="State transition: init [none] -> update-after-commit [ArtifactCommit_Leave]" time="2023-07-27T20:08:25Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2023-07-27T20:08:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:25Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:26Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:26Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules464498931/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules464498931/work/payloads/0000/tree" time="2023-07-27T20:08:26Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" time="2023-07-27T20:08:26Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:26Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:26Z" level=debug msg="Returning artifact name artifact-name from database." --- PASS: TestStateTransitionsWithUpdateModules (0.06s) 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="2023-07-27T20:08:26Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:26Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:26Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:26Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50736->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50736->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54140->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54140->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:26Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:26Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:26Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules664493656/device_type" time="2023-07-27T20:08:26Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:26Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:26Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:26Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:26Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:26Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules664493656/artifact_info file." time="2023-07-27T20:08:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules664493656/artifact_info" time="2023-07-27T20:08:26Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:26Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules664493656/artifact_info" time="2023-07-27T20:08:26Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules664493656/device_type" time="2023-07-27T20:08:26Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:26Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:26Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules664493656/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules664493656/work/payloads/0000/tree" time="2023-07-27T20:08:26Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:26Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules664493656/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules664493656/work/payloads/0000/tree" time="2023-07-27T20:08:26Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:26Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:26Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:26Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:26Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59776->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59776->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56742->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56742->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:26Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48027->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48027->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39387->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39387->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules664493656/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules664493656/work/payloads/0000/tree" time="2023-07-27T20:08:26Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:08:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules664493656/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules664493656/work/payloads/0000/tree" time="2023-07-27T20:08:26Z" level=debug msg="Update module output: No" time="2023-07-27T20:08:26Z" level=debug msg="Module does not need reboot" time="2023-07-27T20:08:26Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:26Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48342->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48342->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48407->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48407->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:26Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49506->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49506->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60021->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60021->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=debug msg="Handle update commit state" time="2023-07-27T20:08:26Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2023-07-27T20:08:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules664493656/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules664493656/work/payloads/0000/tree" time="2023-07-27T20:08:26Z" level=debug msg="Committing new artifact name: artifact-name" time="2023-07-27T20:08:26Z" level=debug msg="Committing new artifact group name: " time="2023-07-27T20:08:26Z" level=debug msg="Committing new artifact type-info provides" time="2023-07-27T20:08:26Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" time="2023-07-27T20:08:26Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" time="2023-07-27T20:08:26Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:26Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:26Z" 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="2023-07-27T20:08:26Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" time="2023-07-27T20:08:26Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [Error]" time="2023-07-27T20:08:26Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:26Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:26Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:26Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules664493656/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules664493656/work/payloads/0000/tree" time="2023-07-27T20:08:26Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:26Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:26Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:26Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:26Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." --- PASS: TestStateTransitionsWithUpdateModules (0.42s) 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="2023-07-27T20:08:26Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:26Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:26Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:26Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53613->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53613->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36772->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36772->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:26Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:26Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:26Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules459479073/device_type" time="2023-07-27T20:08:26Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:26Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:26Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:26Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:26Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:26Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules459479073/artifact_info file." time="2023-07-27T20:08:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules459479073/artifact_info" time="2023-07-27T20:08:26Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:26Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules459479073/artifact_info" time="2023-07-27T20:08:26Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules459479073/device_type" time="2023-07-27T20:08:26Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:26Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:26Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:26Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules459479073/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules459479073/work/payloads/0000/tree" time="2023-07-27T20:08:26Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:26Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules459479073/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules459479073/work/payloads/0000/tree" time="2023-07-27T20:08:26Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:26Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:26Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:26Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:26Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56220->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56220->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37225->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37225->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:26Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52423->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52423->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38561->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38561->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules459479073/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules459479073/work/payloads/0000/tree" time="2023-07-27T20:08:26Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:08:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules459479073/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules459479073/work/payloads/0000/tree" time="2023-07-27T20:08:26Z" level=debug msg="Update module output: No" time="2023-07-27T20:08:26Z" level=debug msg="Module does not need reboot" time="2023-07-27T20:08:26Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:26Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35831->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35831->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35100->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35100->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:26Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46305->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46305->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34266->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34266->[::1]:53: read: connection refused" time="2023-07-27T20:08:26Z" level=debug msg="Handle update commit state" time="2023-07-27T20:08:26Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2023-07-27T20:08:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules459479073/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules459479073/work/payloads/0000/tree" time="2023-07-27T20:08:26Z" level=debug msg="Committing new artifact name: artifact-name" time="2023-07-27T20:08:26Z" level=debug msg="Committing new artifact group name: " time="2023-07-27T20:08:26Z" level=debug msg="Committing new artifact type-info provides" time="2023-07-27T20:08:26Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" time="2023-07-27T20:08:26Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" time="2023-07-27T20:08:26Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2023-07-27T20:08:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:26Z" 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="2023-07-27T20:08:27Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:27Z" level=info msg="Handling loaded state: update-after-commit" time="2023-07-27T20:08:27Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:27Z" level=error msg="Mender shut down in state: update-after-commit" time="2023-07-27T20:08:27Z" level=info msg="State transition: init [none] -> update-after-commit [ArtifactCommit_Leave]" time="2023-07-27T20:08:27Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2023-07-27T20:08:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:27Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:27Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:27Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules459479073/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules459479073/work/payloads/0000/tree" time="2023-07-27T20:08:27Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" time="2023-07-27T20:08:27Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:27Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:27Z" 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="2023-07-27T20:08:27Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:27Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:27Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:27Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54948->[::1]:53: read: connection refused" time="2023-07-27T20:08:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54948->[::1]:53: read: connection refused" time="2023-07-27T20:08:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43026->[::1]:53: read: connection refused" time="2023-07-27T20:08:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43026->[::1]:53: read: connection refused" time="2023-07-27T20:08:27Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:27Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:27Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:27Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules758453278/device_type" time="2023-07-27T20:08:27Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:27Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:27Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:27Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:27Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:27Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules758453278/artifact_info file." time="2023-07-27T20:08:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules758453278/artifact_info" time="2023-07-27T20:08:27Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:27Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules758453278/artifact_info" time="2023-07-27T20:08:27Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules758453278/device_type" time="2023-07-27T20:08:27Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:27Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:27Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:27Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:27Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:27Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:27Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:27Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:27Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:27Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:27Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42984->[::1]:53: read: connection refused" time="2023-07-27T20:08:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42984->[::1]:53: read: connection refused" time="2023-07-27T20:08:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45561->[::1]:53: read: connection refused" time="2023-07-27T20:08:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45561->[::1]:53: read: connection refused" time="2023-07-27T20:08:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:27Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59129->[::1]:53: read: connection refused" time="2023-07-27T20:08:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59129->[::1]:53: read: connection refused" time="2023-07-27T20:08:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45073->[::1]:53: read: connection refused" time="2023-07-27T20:08:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45073->[::1]:53: read: connection refused" time="2023-07-27T20:08:27Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:27Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:08:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:27Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:27Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:08:27Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:08:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:27Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56673->[::1]:53: read: connection refused" time="2023-07-27T20:08:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56673->[::1]:53: read: connection refused" time="2023-07-27T20:08:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47262->[::1]:53: read: connection refused" time="2023-07-27T20:08:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47262->[::1]:53: read: connection refused" time="2023-07-27T20:08:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:27Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57428->[::1]:53: read: connection refused" time="2023-07-27T20:08:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57428->[::1]:53: read: connection refused" time="2023-07-27T20:08:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48419->[::1]:53: read: connection refused" time="2023-07-27T20:08:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48419->[::1]:53: read: connection refused" time="2023-07-27T20:08:27Z" level=debug msg="Handling reboot state" time="2023-07-27T20:08:27Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:08:27Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2023-07-27T20:08:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:27Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:08:27Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2023-07-27T20:08:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:27Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:27Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:27Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2023-07-27T20:08:27Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:27Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35234->[::1]:53: read: connection refused" time="2023-07-27T20:08:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35234->[::1]:53: read: connection refused" time="2023-07-27T20:08:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34159->[::1]:53: read: connection refused" time="2023-07-27T20:08:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34159->[::1]:53: read: connection refused" time="2023-07-27T20:08:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:27Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57040->[::1]:53: read: connection refused" time="2023-07-27T20:08:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57040->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34864->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34864->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=info msg="Performing rollback" time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:28Z" level=debug msg="Will try to rollback reboot the device" time="2023-07-27T20:08:28Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47059->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47059->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53517->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53517->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57698->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57698->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45764->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45764->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:28Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:28Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41108->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41108->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46752->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46752->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45526->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45526->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45240->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45240->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:28Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:28Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53923->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53923->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59611->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59611->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49595->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49595->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60140->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60140->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:28Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:28Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40398->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40398->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34585->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34585->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42799->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42799->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39312->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39312->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:28Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:28Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34484->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34484->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37041->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37041->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40461->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40461->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54316->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54316->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:28Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:28Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50368->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50368->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34545->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34545->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58788->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58788->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57656->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57656->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:28Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:28Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39934->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39934->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37335->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37335->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46811->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46811->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47302->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47302->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:28Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:28Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45882->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45882->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59776->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59776->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53400->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53400->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53761->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53761->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:28Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:28Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48705->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48705->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49026->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49026->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42987->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42987->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54456->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54456->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:28Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:28Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38733->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38733->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54735->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54735->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42566->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42566->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44740->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44740->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:28Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:28Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52203->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52203->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53097->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53097->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37404->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37404->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37799->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37799->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:28Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:28Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59860->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59860->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52390->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52390->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59336->[::1]:53: read: connection refused" time="2023-07-27T20:08:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59336->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37055->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37055->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37306->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37306->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56346->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56346->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53481->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53481->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46437->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46437->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33650->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33650->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60627->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60627->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50280->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50280->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50252->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50252->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57084->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57084->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37069->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37069->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50473->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50473->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41381->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41381->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37644->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37644->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35904->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35904->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37570->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37570->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51536->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51536->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48199->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48199->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42726->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42726->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56805->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56805->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35694->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35694->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45136->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45136->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42779->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42779->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38734->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38734->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38310->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38310->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38523->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38523->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34843->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34843->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33076->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33076->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52288->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52288->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60569->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60569->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53134->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53134->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39154->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39154->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43077->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43077->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51004->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51004->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36998->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36998->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44802->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44802->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32996->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32996->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50177->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50177->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42274->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42274->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45734->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45734->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44517->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44517->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45106->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45106->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55276->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55276->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49698->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49698->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53654->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53654->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44269->[::1]:53: read: connection refused" time="2023-07-27T20:08:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44269->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45331->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45331->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:30Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33166->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33166->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43219->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43219->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:30Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:30Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:30Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:30Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:30Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35889->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35889->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59562->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59562->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:30Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53415->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53415->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60722->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60722->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:30Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:30Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:30Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:30Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:30Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60390->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60390->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35271->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35271->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:30Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58257->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58257->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42923->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42923->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:30Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:30Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:30Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:30Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:30Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58461->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58461->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57706->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57706->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:30Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41871->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41871->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45822->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45822->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:30Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:30Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:30Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:30Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:30Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40301->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40301->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49043->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49043->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:30Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42627->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42627->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43030->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43030->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:30Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:30Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:30Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:30Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:30Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48621->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48621->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57989->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57989->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:30Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49261->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49261->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39372->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39372->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:30Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:30Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:30Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:30Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:30Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35887->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35887->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38041->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38041->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:30Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39919->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39919->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47928->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47928->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:30Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules758453278/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules758453278/work/payloads/0000/tree" time="2023-07-27T20:08:30Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:30Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:30Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:30Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50461->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50461->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38874->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38874->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="Could not write state data to persistent storage: State data stored and retrieved maximum number of times" time="2023-07-27T20:08:30Z" 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="2023-07-27T20:08:30Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" time="2023-07-27T20:08:30Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> update-status-report [none]" time="2023-07-27T20:08:30Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:30Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:30Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:30Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." --- PASS: TestStateTransitionsWithUpdateModules (3.25s) 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="2023-07-27T20:08:30Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:30Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:30Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:30Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48594->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48594->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52342->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52342->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:30Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:30Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:30Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules389287007/device_type" time="2023-07-27T20:08:30Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:30Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:30Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:30Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:30Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules389287007/artifact_info file." time="2023-07-27T20:08:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules389287007/artifact_info" time="2023-07-27T20:08:30Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:30Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules389287007/artifact_info" time="2023-07-27T20:08:30Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules389287007/device_type" time="2023-07-27T20:08:30Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:30Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:30Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" time="2023-07-27T20:08:30Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:30Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:30Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:30Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:30Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54192->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54192->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48228->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48228->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:30Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49331->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49331->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47531->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47531->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" time="2023-07-27T20:08:30Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:08:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" time="2023-07-27T20:08:30Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:30Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:08:30Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:30Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43231->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43231->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41489->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41489->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:30Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53688->[::1]:53: read: connection refused" time="2023-07-27T20:08:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53688->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:53135->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:53135->[::1]:53: read: connection refused" time="2023-07-27T20:08:31Z" level=debug msg="Handling reboot state" time="2023-07-27T20:08:31Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:08:31Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2023-07-27T20:08:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" time="2023-07-27T20:08:31Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:08:31Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2023-07-27T20:08:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" time="2023-07-27T20:08:31Z" level=error msg="Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:31Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2023-07-27T20:08:31Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2023-07-27T20:08:31Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:31Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2023-07-27T20:08: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]:57763->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:57763->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:60145->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:60145->[::1]:53: read: connection refused" time="2023-07-27T20:08:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:31Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08: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]:52890->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:52890->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:52711->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:52711->[::1]:53: read: connection refused" time="2023-07-27T20:08:31Z" level=info msg="Performing rollback" time="2023-07-27T20:08:31Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:08:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" time="2023-07-27T20:08:31Z" level=debug msg="Will try to rollback reboot the device" time="2023-07-27T20:08:31Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:08:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:31Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08: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]:59618->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:59618->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:33175->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:33175->[::1]:53: read: connection refused" time="2023-07-27T20:08:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:31Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08: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]:53163->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:53163->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:43478->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:43478->[::1]:53: read: connection refused" time="2023-07-27T20:08:31Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:08:31Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:08:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" time="2023-07-27T20:08:31Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:31Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:08:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules389287007/work/payloads/0000/tree" time="2023-07-27T20:08:31Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:08:31Z" level=debug msg="Handling state after rollback reboot" time="2023-07-27T20:08:31Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:31Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08: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]:46596->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:46596->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:46759->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:46759->[::1]:53: read: connection refused" time="2023-07-27T20:08:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:58629->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:58629->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:48101->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:48101->[::1]:53: read: connection refused" time="2023-07-27T20:08:31Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:31Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/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="2023-07-27T20:08:31Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:31Z" level=info msg="Handling loaded state: update-error" time="2023-07-27T20:08:31Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:31Z" level=error msg="Mender shut down in state: update-error" time="2023-07-27T20:08:31Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:31Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:51543->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:51543->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:41523->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:41523->[::1]:53: read: connection refused" time="2023-07-27T20:08:31Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:31Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/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="2023-07-27T20:08:31Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:31Z" level=info msg="Handling loaded state: update-error" time="2023-07-27T20:08:31Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:31Z" level=error msg="Mender shut down in state: update-error" time="2023-07-27T20:08:31Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:31Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:43590->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:43590->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:36109->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:36109->[::1]:53: read: connection refused" time="2023-07-27T20:08:31Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:31Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/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="2023-07-27T20:08:31Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:31Z" level=info msg="Handling loaded state: update-error" time="2023-07-27T20:08:31Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:31Z" level=error msg="Mender shut down in state: update-error" time="2023-07-27T20:08:31Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:31Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:46709->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:46709->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:57110->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:57110->[::1]:53: read: connection refused" time="2023-07-27T20:08:31Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:31Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/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="2023-07-27T20:08:31Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:31Z" level=info msg="Handling loaded state: update-error" time="2023-07-27T20:08:31Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:31Z" level=error msg="Mender shut down in state: update-error" time="2023-07-27T20:08:31Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:31Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:51516->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:51516->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:33592->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:33592->[::1]:53: read: connection refused" time="2023-07-27T20:08:31Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:31Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/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="2023-07-27T20:08:31Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:31Z" level=info msg="Handling loaded state: update-error" time="2023-07-27T20:08:31Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:31Z" level=error msg="Mender shut down in state: update-error" time="2023-07-27T20:08:31Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:31Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:36153->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:36153->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:38362->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:38362->[::1]:53: read: connection refused" time="2023-07-27T20:08:31Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:31Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/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="2023-07-27T20:08:31Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:31Z" level=info msg="Handling loaded state: update-error" time="2023-07-27T20:08:31Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:31Z" level=error msg="Mender shut down in state: update-error" time="2023-07-27T20:08:31Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:31Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:43358->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:43358->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:42374->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:42374->[::1]:53: read: connection refused" time="2023-07-27T20:08:31Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:31Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/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="2023-07-27T20:08:31Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:31Z" level=info msg="Handling loaded state: update-error" time="2023-07-27T20:08:31Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:31Z" level=error msg="Mender shut down in state: update-error" time="2023-07-27T20:08:31Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:31Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:46880->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:46880->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:53290->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:53290->[::1]:53: read: connection refused" time="2023-07-27T20:08:31Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:31Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/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="2023-07-27T20:08:32Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:32Z" level=info msg="Handling loaded state: update-error" time="2023-07-27T20:08:32Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:32Z" level=error msg="Mender shut down in state: update-error" time="2023-07-27T20:08:32Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:32Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:44919->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:44919->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:52899->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:52899->[::1]:53: read: connection refused" time="2023-07-27T20:08:32Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:32Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/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="2023-07-27T20:08:32Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:32Z" level=info msg="Handling loaded state: update-error" time="2023-07-27T20:08:32Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:32Z" level=error msg="Mender shut down in state: update-error" time="2023-07-27T20:08:32Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:32Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:49006->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:49006->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:47144->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:47144->[::1]:53: read: connection refused" time="2023-07-27T20:08:32Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:32Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/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="2023-07-27T20:08:32Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:32Z" level=info msg="Handling loaded state: update-error" time="2023-07-27T20:08:32Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:32Z" level=error msg="Mender shut down in state: update-error" time="2023-07-27T20:08:32Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:32Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:56301->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:56301->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:50843->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:50843->[::1]:53: read: connection refused" time="2023-07-27T20:08:32Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:32Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/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="2023-07-27T20:08:32Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:32Z" level=info msg="Handling loaded state: update-error" time="2023-07-27T20:08:32Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:32Z" level=error msg="Mender shut down in state: update-error" time="2023-07-27T20:08:32Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:32Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:34783->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:34783->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:56139->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:56139->[::1]:53: read: connection refused" time="2023-07-27T20:08:32Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:32Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/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="2023-07-27T20:08:32Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:32Z" level=info msg="Handling loaded state: update-error" time="2023-07-27T20:08:32Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:32Z" level=error msg="Mender shut down in state: update-error" time="2023-07-27T20:08:32Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:32Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:49923->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:49923->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:57385->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:57385->[::1]:53: read: connection refused" time="2023-07-27T20:08:32Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:32Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/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="2023-07-27T20:08:32Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:32Z" level=info msg="Handling loaded state: update-error" time="2023-07-27T20:08:32Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:32Z" level=error msg="Mender shut down in state: update-error" time="2023-07-27T20:08:32Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:32Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:36913->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:36913->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:51644->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:51644->[::1]:53: read: connection refused" time="2023-07-27T20:08:32Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:32Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/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="2023-07-27T20:08:32Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:32Z" level=info msg="Handling loaded state: update-error" time="2023-07-27T20:08:32Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:32Z" level=error msg="Mender shut down in state: update-error" time="2023-07-27T20:08:32Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:32Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:51215->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:51215->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:42988->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:42988->[::1]:53: read: connection refused" time="2023-07-27T20:08:32Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:32Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/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="2023-07-27T20:08:32Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:32Z" level=info msg="Handling loaded state: update-error" time="2023-07-27T20:08:32Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:32Z" level=error msg="Mender shut down in state: update-error" time="2023-07-27T20:08:32Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:32Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:46144->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:46144->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:32954->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:32954->[::1]:53: read: connection refused" time="2023-07-27T20:08:32Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:32Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/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="2023-07-27T20:08:33Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:33Z" level=info msg="Handling loaded state: update-error" time="2023-07-27T20:08:33Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:33Z" level=error msg="Mender shut down in state: update-error" time="2023-07-27T20:08:33Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:33Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:33Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:44990->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:44990->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:48420->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:48420->[::1]:53: read: connection refused" time="2023-07-27T20:08:33Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:33Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/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="2023-07-27T20:08:33Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:33Z" level=info msg="Handling loaded state: update-error" time="2023-07-27T20:08:33Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:33Z" level=error msg="Mender shut down in state: update-error" time="2023-07-27T20:08:33Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:33Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:33Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:45135->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:45135->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:59925->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:59925->[::1]:53: read: connection refused" time="2023-07-27T20:08:33Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:33Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/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="2023-07-27T20:08:33Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:33Z" level=info msg="Handling loaded state: update-error" time="2023-07-27T20:08:33Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:33Z" level=error msg="Mender shut down in state: update-error" time="2023-07-27T20:08:33Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:33Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:33Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:34154->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:34154->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:49610->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:49610->[::1]:53: read: connection refused" time="2023-07-27T20:08:33Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:33Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/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="2023-07-27T20:08:33Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:33Z" level=info msg="Handling loaded state: update-error" time="2023-07-27T20:08:33Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:33Z" level=error msg="Mender shut down in state: update-error" time="2023-07-27T20:08:33Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:33Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:33Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:54865->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:54865->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:34249->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:34249->[::1]:53: read: connection refused" time="2023-07-27T20:08:33Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:33Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/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="2023-07-27T20:08:33Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:33Z" level=info msg="Handling loaded state: update-error" time="2023-07-27T20:08:33Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:33Z" level=error msg="Mender shut down in state: update-error" time="2023-07-27T20:08:33Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:33Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:33Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:44736->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:44736->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:41980->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:41980->[::1]:53: read: connection refused" time="2023-07-27T20:08:33Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:33Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/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="2023-07-27T20:08:33Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:33Z" level=info msg="Handling loaded state: update-error" time="2023-07-27T20:08:33Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:33Z" level=error msg="Mender shut down in state: update-error" time="2023-07-27T20:08:33Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:33Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:33Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:49429->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:49429->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:56390->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:56390->[::1]:53: read: connection refused" time="2023-07-27T20:08:33Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:33Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/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="2023-07-27T20:08:33Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:33Z" level=info msg="Handling loaded state: update-error" time="2023-07-27T20:08:33Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:33Z" level=error msg="Mender shut down in state: update-error" time="2023-07-27T20:08:33Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:33Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:33Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:44932->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:44932->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:33842->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:33842->[::1]:53: read: connection refused" time="2023-07-27T20:08:33Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:33Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/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="2023-07-27T20:08:33Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:33Z" level=info msg="Handling loaded state: update-error" time="2023-07-27T20:08:33Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:33Z" level=error msg="Mender shut down in state: update-error" time="2023-07-27T20:08:33Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:33Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:33Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:39286->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:39286->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:37806->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:37806->[::1]:53: read: connection refused" time="2023-07-27T20:08:34Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:34Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/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="2023-07-27T20:08:34Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:34Z" level=info msg="Handling loaded state: update-error" time="2023-07-27T20:08:34Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:34Z" level=error msg="Mender shut down in state: update-error" time="2023-07-27T20:08:34Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:34Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:34Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:48285->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:48285->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:57073->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:57073->[::1]:53: read: connection refused" time="2023-07-27T20:08:34Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:34Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/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="2023-07-27T20:08:34Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:34Z" level=info msg="Handling loaded state: update-error" time="2023-07-27T20:08:34Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:34Z" level=error msg="Mender shut down in state: update-error" time="2023-07-27T20:08:34Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:34Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:34Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:40739->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:40739->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:48537->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:48537->[::1]:53: read: connection refused" time="2023-07-27T20:08:34Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:34Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/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="2023-07-27T20:08:34Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:34Z" level=info msg="Handling loaded state: update-error" time="2023-07-27T20:08:34Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:34Z" level=error msg="Mender shut down in state: update-error" time="2023-07-27T20:08:34Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:34Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:34Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:56225->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:56225->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:51101->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:51101->[::1]:53: read: connection refused" time="2023-07-27T20:08:34Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:34Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/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="2023-07-27T20:08:34Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:34Z" level=info msg="Handling loaded state: update-error" time="2023-07-27T20:08:34Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:34Z" level=error msg="Mender shut down in state: update-error" time="2023-07-27T20:08:34Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:34Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:34Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:48819->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:48819->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:55657->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:55657->[::1]:53: read: connection refused" time="2023-07-27T20:08:34Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:34Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/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="2023-07-27T20:08:34Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:34Z" level=info msg="Handling loaded state: update-error" time="2023-07-27T20:08:34Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:34Z" level=error msg="Mender shut down in state: update-error" time="2023-07-27T20:08:34Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:34Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:34Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:47742->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:47742->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:35325->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:35325->[::1]:53: read: connection refused" time="2023-07-27T20:08:34Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:34Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389287007/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389287007/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="2023-07-27T20:08:34Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:08:34Z" level=info msg="Handling loaded state: update-error" time="2023-07-27T20:08:34Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:34Z" 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="2023-07-27T20:08:34Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" time="2023-07-27T20:08:34Z" level=info msg="State transition: init [none] -> update-status-report [none]" time="2023-07-27T20:08:34Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:34Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:34Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:34Z" 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="2023-07-27T20:08:34Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:34Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:34Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:34Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08: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]:41085->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:41085->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:37279->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:37279->[::1]:53: read: connection refused" time="2023-07-27T20:08:34Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:34Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:34Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:34Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules634206260/device_type" time="2023-07-27T20:08:34Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:34Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:34Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:34Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:34Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:34Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules634206260/artifact_info file." time="2023-07-27T20:08:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules634206260/artifact_info" time="2023-07-27T20:08:34Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:34Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules634206260/artifact_info" time="2023-07-27T20:08:34Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules634206260/device_type" time="2023-07-27T20:08:34Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:34Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:35Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:35Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules634206260/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules634206260/work/payloads/0000/tree" time="2023-07-27T20:08:35Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:40Z" level=error msg="Process 1878792 timed out. Sending SIGTERM" time="2023-07-27T20:08:40Z" level=error msg="Artifact install failed: Update module terminated abnormally: signal: terminated" time="2023-07-27T20:08:40Z" level=info msg="State transition: update-store [Download_Enter] -> cleanup [Error]" time="2023-07-27T20:08:40Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:40Z" level=debug msg="Executing script: Download_Error_00" time="2023-07-27T20:08:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:40Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:40Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules634206260/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules634206260/work/payloads/0000/tree" time="2023-07-27T20:08:40Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:40Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:40Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:40Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:40Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules634206260/artifact_info file." time="2023-07-27T20:08:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules634206260/artifact_info" time="2023-07-27T20:08:40Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:40Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (5.87s) PASS === RUN TestStateTransitionsWithUpdateModules/Hang_in_ArtifactInstall state_test.go:4717: Hang in ArtifactInstall state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2023-07-27T20:08:40Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:40Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:40Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:40Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08: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]:57964->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:57964->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:45415->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:45415->[::1]:53: read: connection refused" time="2023-07-27T20:08:40Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:40Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:40Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:40Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules849125677/device_type" time="2023-07-27T20:08:40Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:40Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:40Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:40Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:40Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:40Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules849125677/artifact_info file." time="2023-07-27T20:08:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules849125677/artifact_info" time="2023-07-27T20:08:40Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:40Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules849125677/artifact_info" time="2023-07-27T20:08:40Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules849125677/device_type" time="2023-07-27T20:08:40Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:40Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:40Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:40Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules849125677/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules849125677/work/payloads/0000/tree" time="2023-07-27T20:08:40Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:40Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules849125677/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules849125677/work/payloads/0000/tree" time="2023-07-27T20:08:40Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:40Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:40Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:40Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:40Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08: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]:50412->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:50412->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:37705->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:37705->[::1]:53: read: connection refused" time="2023-07-27T20:08:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:40Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08: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]:60760->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:60760->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:42353->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:42353->[::1]:53: read: connection refused" time="2023-07-27T20:08:40Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules849125677/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules849125677/work/payloads/0000/tree" time="2023-07-27T20:08:45Z" level=error msg="Process 1879435 timed out. Sending SIGTERM" time="2023-07-27T20:08:45Z" level=error msg="Update module terminated abnormally: signal: terminated" time="2023-07-27T20:08:45Z" level=error msg="transient error: Update module terminated abnormally: signal: terminated" time="2023-07-27T20:08:45Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" time="2023-07-27T20:08:45Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:08:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:45Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2023-07-27T20:08: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]:58413->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:58413->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:42678->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:42678->[::1]:53: read: connection refused" time="2023-07-27T20:08:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:45Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08: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]:44810->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:44810->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:49999->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:49999->[::1]:53: read: connection refused" time="2023-07-27T20:08:45Z" level=info msg="Performing rollback" time="2023-07-27T20:08:45Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:08:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules849125677/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules849125677/work/payloads/0000/tree" time="2023-07-27T20:08:45Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2023-07-27T20:08:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:45Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08: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]:50700->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:50700->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:34282->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:34282->[::1]:53: read: connection refused" time="2023-07-27T20:08:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:45Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08: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]:58066->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:58066->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:56742->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:56742->[::1]:53: read: connection refused" time="2023-07-27T20:08:45Z" level=debug msg="Handle update error state" time="2023-07-27T20:08:45Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:08:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules849125677/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules849125677/work/payloads/0000/tree" time="2023-07-27T20:08:45Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:08:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:45Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:45Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:45Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules849125677/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules849125677/work/payloads/0000/tree" time="2023-07-27T20:08:45Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:08:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:45Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:45Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:08:45Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:45Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules849125677/artifact_info file." time="2023-07-27T20:08:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules849125677/artifact_info" time="2023-07-27T20:08:45Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:45Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (5.39s) 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="2023-07-27T20:08:46Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:46Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:46Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:46Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08: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]:33357->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:33357->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:58071->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:58071->[::1]:53: read: connection refused" time="2023-07-27T20:08:46Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:46Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:46Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:46Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules964186138/device_type" time="2023-07-27T20:08:46Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:46Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:46Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:48Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:48Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules964186138/artifact_info file." time="2023-07-27T20:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules964186138/artifact_info" time="2023-07-27T20:08:48Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:48Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules964186138/artifact_info" time="2023-07-27T20:08:48Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules964186138/device_type" time="2023-07-27T20:08:48Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:48Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:49Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:49Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964186138/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules964186138/work/payloads/0000/tree" time="2023-07-27T20:08:49Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:49Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964186138/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules964186138/work/payloads/0000/tree" time="2023-07-27T20:08:49Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:49Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:49Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:49Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:49Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08: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]:36645->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:36645->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:59157->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:59157->[::1]:53: read: connection refused" time="2023-07-27T20:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:49Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08: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]:32936->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:32936->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:34413->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:34413->[::1]:53: read: connection refused" time="2023-07-27T20:08:49Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964186138/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules964186138/work/payloads/0000/tree" time="2023-07-27T20:08:49Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964186138/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules964186138/work/payloads/0000/tree" time="2023-07-27T20:08:49Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:49Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:08:49Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:49Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08: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]:46325->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:46325->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:49086->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:49086->[::1]:53: read: connection refused" time="2023-07-27T20:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:49Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08: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]:41245->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:41245->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:37510->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:37510->[::1]:53: read: connection refused" time="2023-07-27T20:08:49Z" level=debug msg="Handling reboot state" time="2023-07-27T20:08:49Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:08:49Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2023-07-27T20:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964186138/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules964186138/work/payloads/0000/tree" time="2023-07-27T20:08:49Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:08:49Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2023-07-27T20:08:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964186138/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules964186138/work/payloads/0000/tree" time="2023-07-27T20:08:49Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:08:49Z" level=debug msg="Handling state after reboot" time="2023-07-27T20:08:49Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2023-07-27T20:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:49Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08: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]:52245->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:52245->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:51430->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:51430->[::1]:53: read: connection refused" time="2023-07-27T20:08:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:49Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08: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]:52472->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:52472->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:40218->[::1]:53: read: connection refused" time="2023-07-27T20:08: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]:40218->[::1]:53: read: connection refused" time="2023-07-27T20:08:49Z" level=debug msg="Handle update commit state" time="2023-07-27T20:08:49Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" time="2023-07-27T20:08:49Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" time="2023-07-27T20:08:54Z" level=debug msg="Wait complete" time="2023-07-27T20:08:54Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" time="2023-07-27T20:08:54Z" level=debug msg="Handle update commit state" time="2023-07-27T20:08:54Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2023-07-27T20:08:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964186138/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules964186138/work/payloads/0000/tree" time="2023-07-27T20:08:54Z" level=debug msg="Committing new artifact name: artifact-name" time="2023-07-27T20:08:54Z" level=debug msg="Committing new artifact group name: " time="2023-07-27T20:08:54Z" level=debug msg="Committing new artifact type-info provides" time="2023-07-27T20:08:54Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" time="2023-07-27T20:08:54Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" time="2023-07-27T20:08:54Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2023-07-27T20:08:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:54Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:54Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:08:54Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:08:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules964186138/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules964186138/work/payloads/0000/tree" time="2023-07-27T20:08:54Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" time="2023-07-27T20:08:54Z" level=debug msg="Handling update status report state" time="2023-07-27T20:08:54Z" level=debug msg="Reporting complete" time="2023-07-27T20:08:54Z" level=debug msg="Returning artifact name artifact-name from database." --- PASS: TestStateTransitionsWithUpdateModules (8.28s) 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="2023-07-27T20:08:54Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2023-07-27T20:08:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:54Z" level=debug msg="Handle update check state" time="2023-07-27T20:08:54Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2023-07-27T20:08:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:54Z" level=debug msg="Executing script: Download_Enter_00" time="2023-07-27T20:08:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49469->[::1]:53: read: connection refused" time="2023-07-27T20:08:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49469->[::1]:53: read: connection refused" time="2023-07-27T20:08:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43208->[::1]:53: read: connection refused" time="2023-07-27T20:08:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43208->[::1]:53: read: connection refused" time="2023-07-27T20:08:54Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:08:54Z" level=debug msg="Handling update fetch state" time="2023-07-27T20:08:54Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2023-07-27T20:08:54Z" level=debug msg="Handling update install state" time="2023-07-27T20:08:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules965332491/device_type" time="2023-07-27T20:08:54Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:54Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:54Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:08:54Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2023-07-27T20:08:54Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2023-07-27T20:08:54Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2023-07-27T20:08:54Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules965332491/artifact_info file." time="2023-07-27T20:08:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules965332491/artifact_info" time="2023-07-27T20:08:54Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:54Z" level=debug msg="Current manifest data: old_name" time="2023-07-27T20:08:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules965332491/artifact_info" time="2023-07-27T20:08:54Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:08:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules965332491/device_type" time="2023-07-27T20:08:54Z" level=debug msg="device_type=test-device" time="2023-07-27T20:08:54Z" level=debug msg="Current manifest data: test-device" time="2023-07-27T20:08:54Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2023-07-27T20:08:55Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2023-07-27T20:08:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules965332491/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules965332491/work/payloads/0000/tree" time="2023-07-27T20:08:55Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2023-07-27T20:08:55Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2023-07-27T20:08:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules965332491/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules965332491/work/payloads/0000/tree" time="2023-07-27T20:08:55Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:55Z" level=debug msg="Module supports rollback" time="2023-07-27T20:08:55Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2023-07-27T20:08:55Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2023-07-27T20:08:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:55Z" level=debug msg="Executing script: Download_Leave_00" time="2023-07-27T20:08:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40751->[::1]:53: read: connection refused" time="2023-07-27T20:08:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40751->[::1]:53: read: connection refused" time="2023-07-27T20:08:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51865->[::1]:53: read: connection refused" time="2023-07-27T20:08:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51865->[::1]:53: read: connection refused" time="2023-07-27T20:08:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:55Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2023-07-27T20:08:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43497->[::1]:53: read: connection refused" time="2023-07-27T20:08:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43497->[::1]:53: read: connection refused" time="2023-07-27T20:08:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42201->[::1]:53: read: connection refused" time="2023-07-27T20:08:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42201->[::1]:53: read: connection refused" time="2023-07-27T20:08:55Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2023-07-27T20:08:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules965332491/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules965332491/work/payloads/0000/tree" time="2023-07-27T20:08:55Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2023-07-27T20:08:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules965332491/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules965332491/work/payloads/0000/tree" time="2023-07-27T20:08:55Z" level=debug msg="Update module output: Yes" time="2023-07-27T20:08:55Z" level=debug msg="Module needs custom reboot" time="2023-07-27T20:08:55Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2023-07-27T20:08:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:55Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2023-07-27T20:08:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46201->[::1]:53: read: connection refused" time="2023-07-27T20:08:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46201->[::1]:53: read: connection refused" time="2023-07-27T20:08:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54174->[::1]:53: read: connection refused" time="2023-07-27T20:08:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54174->[::1]:53: read: connection refused" time="2023-07-27T20:08:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:55Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2023-07-27T20:08:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39968->[::1]:53: read: connection refused" time="2023-07-27T20:08:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39968->[::1]:53: read: connection refused" time="2023-07-27T20:08:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43089->[::1]:53: read: connection refused" time="2023-07-27T20:08:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43089->[::1]:53: read: connection refused" time="2023-07-27T20:08:55Z" level=debug msg="Handling reboot state" time="2023-07-27T20:08:55Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:08:55Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2023-07-27T20:08:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules965332491/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules965332491/work/payloads/0000/tree" time="2023-07-27T20:08:55Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:08:55Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2023-07-27T20:08:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules965332491/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules965332491/work/payloads/0000/tree" time="2023-07-27T20:08:55Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2023-07-27T20:08:55Z" level=debug msg="Handling state after reboot" time="2023-07-27T20:08:55Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2023-07-27T20:08:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:55Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2023-07-27T20:08:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47190->[::1]:53: read: connection refused" time="2023-07-27T20:08:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47190->[::1]:53: read: connection refused" time="2023-07-27T20:08:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47070->[::1]:53: read: connection refused" time="2023-07-27T20:08:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47070->[::1]:53: read: connection refused" time="2023-07-27T20:08:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:08:55Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2023-07-27T20:08:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57544->[::1]:53: read: connection refused" time="2023-07-27T20:08:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57544->[::1]:53: read: connection refused" time="2023-07-27T20:08:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48680->[::1]:53: read: connection refused" time="2023-07-27T20:08:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48680->[::1]:53: read: connection refused" time="2023-07-27T20:08:55Z" level=debug msg="Handle update commit state" time="2023-07-27T20:08:55Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" time="2023-07-27T20:08:55Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" time="2023-07-27T20:09:00Z" level=debug msg="Wait complete" time="2023-07-27T20:09:00Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" time="2023-07-27T20:09:00Z" level=debug msg="Handle update commit state" time="2023-07-27T20:09:00Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" time="2023-07-27T20:09:00Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" time="2023-07-27T20:09:05Z" level=debug msg="Wait complete" time="2023-07-27T20:09:05Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" time="2023-07-27T20:09:05Z" level=debug msg="Handle update commit state" time="2023-07-27T20:09:05Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" time="2023-07-27T20:09:05Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" time="2023-07-27T20:09:10Z" level=debug msg="Wait complete" time="2023-07-27T20:09:10Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" time="2023-07-27T20:09:10Z" level=debug msg="Handle update commit state" time="2023-07-27T20:09:10Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" time="2023-07-27T20:09:10Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" time="2023-07-27T20:09:10Z" level=error msg="transient error: Tried sending status report maximum number of times." time="2023-07-27T20:09:10Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" time="2023-07-27T20:09:10Z" level=debug msg="Transitioning to error state" time="2023-07-27T20:09:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:09:10Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2023-07-27T20:09:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47733->[::1]:53: read: connection refused" time="2023-07-27T20:09:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47733->[::1]:53: read: connection refused" time="2023-07-27T20:09:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47072->[::1]:53: read: connection refused" time="2023-07-27T20:09:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47072->[::1]:53: read: connection refused" time="2023-07-27T20:09:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:09:10Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2023-07-27T20:09:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56266->[::1]:53: read: connection refused" time="2023-07-27T20:09:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56266->[::1]:53: read: connection refused" time="2023-07-27T20:09:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44301->[::1]:53: read: connection refused" time="2023-07-27T20:09:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44301->[::1]:53: read: connection refused" time="2023-07-27T20:09:10Z" level=info msg="Performing rollback" time="2023-07-27T20:09:10Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2023-07-27T20:09:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules965332491/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules965332491/work/payloads/0000/tree" time="2023-07-27T20:09:10Z" level=debug msg="Will try to rollback reboot the device" time="2023-07-27T20:09:10Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2023-07-27T20:09:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:09:10Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2023-07-27T20:09:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34359->[::1]:53: read: connection refused" time="2023-07-27T20:09:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34359->[::1]:53: read: connection refused" time="2023-07-27T20:09:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37265->[::1]:53: read: connection refused" time="2023-07-27T20:09:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37265->[::1]:53: read: connection refused" time="2023-07-27T20:09:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:09:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2023-07-27T20:09:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56826->[::1]:53: read: connection refused" time="2023-07-27T20:09:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56826->[::1]:53: read: connection refused" time="2023-07-27T20:09:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60350->[::1]:53: read: connection refused" time="2023-07-27T20:09:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60350->[::1]:53: read: connection refused" time="2023-07-27T20:09:10Z" level=info msg="Rebooting device(s) after rollback" time="2023-07-27T20:09:10Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2023-07-27T20:09:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules965332491/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules965332491/work/payloads/0000/tree" time="2023-07-27T20:09:10Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:09:10Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2023-07-27T20:09:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules965332491/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules965332491/work/payloads/0000/tree" time="2023-07-27T20:09:10Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2023-07-27T20:09:10Z" level=debug msg="Handling state after rollback reboot" time="2023-07-27T20:09:10Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2023-07-27T20:09:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:09:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2023-07-27T20:09:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54431->[::1]:53: read: connection refused" time="2023-07-27T20:09:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54431->[::1]:53: read: connection refused" time="2023-07-27T20:09:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46003->[::1]:53: read: connection refused" time="2023-07-27T20:09:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46003->[::1]:53: read: connection refused" time="2023-07-27T20:09:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:09:10Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2023-07-27T20:09:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54721->[::1]:53: read: connection refused" time="2023-07-27T20:09:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54721->[::1]:53: read: connection refused" time="2023-07-27T20:09:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36184->[::1]:53: read: connection refused" time="2023-07-27T20:09:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36184->[::1]:53: read: connection refused" time="2023-07-27T20:09:10Z" level=debug msg="Handle update error state" time="2023-07-27T20:09:10Z" level=debug msg="Executing ModuleInstaller.Failure" time="2023-07-27T20:09:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules965332491/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules965332491/work/payloads/0000/tree" time="2023-07-27T20:09:10Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2023-07-27T20:09:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:09:10Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2023-07-27T20:09:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:09:10Z" level=debug msg="Handling Cleanup state" time="2023-07-27T20:09:10Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2023-07-27T20:09:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules965332491/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules965332491/work/payloads/0000/tree" time="2023-07-27T20:09:10Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2023-07-27T20:09:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:09:10Z" level=debug msg="Handling update status report state" time="2023-07-27T20:09:10Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2023-07-27T20:09:10Z" level=debug msg="Reporting complete" time="2023-07-27T20:09:10Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules965332491/artifact_info file." time="2023-07-27T20:09:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules965332491/artifact_info" time="2023-07-27T20:09:10Z" level=debug msg="artifact_name=old_name" time="2023-07-27T20:09:10Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (16.55s) PASS --- PASS: TestStateTransitionsWithUpdateModules (87.45s) --- PASS: TestStateTransitionsWithUpdateModules/Normal_install,_no_reboot,_no_rollback (0.78s) --- PASS: TestStateTransitionsWithUpdateModules/Normal_install,_no_rollback (0.75s) --- PASS: TestStateTransitionsWithUpdateModules/Normal_install (0.55s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_state,_no_rollback (0.48s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_state,_no_rollback (0.40s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_state,_no_rollback (0.52s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_state,_no_rollback (0.59s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall (0.58s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall (0.54s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot (0.94s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot (0.83s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyReboot (0.71s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyReboot (0.75s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback (0.72s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback (0.87s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot (0.89s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot (0.88s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyRollbackReboot (1.28s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyRollbackReboot (1.10s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure (0.56s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure (0.79s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Cleanup (0.78s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Cleanup (1.29s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit (0.57s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit (0.68s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit,_no_reboot (0.56s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit,_no_reboot (0.67s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_Enter_00_state,_no_rollback (0.16s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_Enter_00_state,_no_rollback (0.34s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00_state,_no_rollback (0.44s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00_state,_no_rollback (0.52s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00 (0.53s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00 (0.60s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Enter_00 (0.60s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Enter_00 (0.66s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Enter_00 (0.63s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Enter_00 (0.59s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Enter_00 (0.77s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Enter_00 (0.69s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Enter_00 (0.55s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Enter_00 (0.51s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00 (0.57s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00 (0.68s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00,_no_reboot (0.37s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00,_no_reboot (0.59s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_Leave_00_state,_no_rollback (0.32s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_Leave_00_state,_no_rollback (0.33s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00_state,_no_rollback (0.50s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00_state,_no_rollback (0.59s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00 (0.56s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00 (0.74s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Leave_00 (0.60s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Leave_00 (0.80s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Leave_00 (0.78s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Leave_00 (1.27s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Leave_00 (1.01s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Leave_00 (1.33s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Leave_00 (1.22s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Leave_00 (0.99s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00 (0.89s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00 (0.70s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00,_no_reboot (0.52s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00,_no_reboot (0.65s) --- PASS: TestStateTransitionsWithUpdateModules/Break_out_of_error_loop (3.38s) --- PASS: TestStateTransitionsWithUpdateModules/Break_out_of_spontaneous_reboot_loop (3.90s) --- PASS: TestStateTransitionsWithUpdateModules/Hang_in_Download_state (5.98s) --- PASS: TestStateTransitionsWithUpdateModules/Hang_in_ArtifactInstall (5.52s) --- PASS: TestStateTransitionsWithUpdateModules/Temporary_failure_in_report_sending_after_reboot (8.41s) --- PASS: TestStateTransitionsWithUpdateModules/Permanent_failure_in_report_sending_after_reboot (16.59s) === RUN TestDBSchemaUpdate --- PASS: TestDBSchemaUpdate (0.00s) === RUN TestAutomaticReboot time="2023-07-27T20:09:10Z" level=info msg="Running Mender client version: unknown" time="2023-07-27T20:09:10Z" level=debug msg="Handling reboot state" time="2023-07-27T20:09:10Z" level=info msg="Rebooting device(s)" time="2023-07-27T20:09:11Z" level=error msg="transient error: Could not reboot host: exit status 99" time="2023-07-27T20:09:11Z" level=debug msg="Setting artifact name to _INCONSISTENT" --- PASS: TestAutomaticReboot (0.02s) === RUN TestTransitions time="2023-07-27T20:09:11Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" === RUN TestTransitions/0 time="2023-07-27T20:09:11Z" 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="2023-07-27T20:09:11Z" 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="2023-07-27T20:09:11Z" 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="2023-07-27T20:09:11Z" level=info msg="State transition: init [Sync] -> init [Download_Enter]" transition_test.go:194: has: [{Sync Leave}] expect: [{Sync Leave}] === RUN TestTransitions/4 time="2023-07-27T20:09:11Z" 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="2023-07-27T20:09:11Z" level=info msg="State transition: init [ArtifactReboot_Enter] -> init [Error]" time="2023-07-27T20:09:11Z" 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="2023-07-27T20:09:11Z" level=info msg="State transition: init [none] -> init [Idle]" transition_test.go:194: has: [{Idle Enter}] expect: [{Idle Enter}] === RUN TestTransitions/7 time="2023-07-27T20:09:11Z" level=info msg="State transition: init [none] -> init [Error]" time="2023-07-27T20:09:11Z" level=debug msg="Transitioning to error state" transition_test.go:194: has: [{Error Enter}] expect: [{Error Enter}] === RUN TestTransitions/8 time="2023-07-27T20:09:11Z" level=info msg="State transition: init [Idle] -> init [Error]" time="2023-07-27T20:09:11Z" level=debug msg="Transitioning to error state" transition_test.go:194: has: [{Idle Error} {Error Enter}] expect: [{Idle Error} {Error Enter}] --- PASS: TestTransitions (0.02s) --- 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 285.743s === RUN TestAmbiguousArgumentsArgs time="2023-07-27T20:04:32Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" --- PASS: TestAmbiguousArgumentsArgs (0.01s) === RUN TestCheckUpdate time="2023-07-27T20:04:32Z" 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="2023-07-27T20:04:32Z" 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="2023-07-27T20:04:32Z" level=debug msg="Private key does not exist" time="2023-07-27T20:04:32Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2023-07-27T20:04:32Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:04:32Z" level=debug msg="No state data stored" time="2023-07-27T20:04:32Z" level=info msg="State transition: init [none] -> idle [Idle]" time="2023-07-27T20:04:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:04:32Z" level=info msg="State transition: idle [Idle] -> authorize-wait [Idle]" time="2023-07-27T20:04:32Z" level=debug msg="Handle authorize wait state" time="2023-07-27T20:04:32Z" level=warning msg="RetryPollIntervalSeconds is not defined" time="2023-07-27T20:04:32Z" level=debug msg="Wait 0s before next authorization attempt" time="2023-07-27T20:04:32Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" time="2023-07-27T20:04:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:04:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:04:32Z" level=debug msg="Handle authorize state" time="2023-07-27T20:04:32Z" level=debug msg="Needs keys" time="2023-07-27T20:04:32Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2023-07-27T20:04:33Z" level=debug msg="Tenant token: " time="2023-07-27T20:04:33Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAmMiH7EnDPcBleBQgx0Ds\njUz4bsw2TAD6uPvAMJU+nLOA8mZpIIcfYkzY3mbCfmmgrUGZqJvipKHH6m7G/UI3\nmJG6rfdj1hsM8m99tWxm6QmSpEOFRIB//UULrvHcG26cqPaXxdiaNpdI3zCLo9BQ\nDuXzZhHJAqI7vXupLjm4EYE2jpJrpdrIJPaja/WeRqMED7K9ZcRrBQ9oz+RDY+Kr\nA0NM47FDMCMoQcfpWHCTyX66G0agFcrknsAYfsPxOQaQfpAgTeOyzr688CdFOF/n\nIbQMnSGK4rJ2avURKgECBLMMGOSNhNiqyZZE7KLFlkjFi8G9opygKUD15QZxTVXV\nwZn1NMm58qnLkwF4ENA7BCAQaN7XrARXjpQsQkEMzozfoiBDySATWdqM/8cNnHvc\n3S/4GR75vEhFdJeTbLQ7Zb4DFwO6yDblO6yNNGQmFkuKhx5sswux3R0YkUCvfjBg\nRmweSfUwvCOT3d029FOAaUwMfc+e8J8bigvZR9ouHtwfAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2023-07-27T20:04:33Z" level=debug msg="Making an authorization request () to server " time="2023-07-27T20:04:33Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0xc000238370)}" time="2023-07-27T20:04:33Z" level=error msg="Authorization request error: http: no Host in request URL" time="2023-07-27T20:04:33Z" 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="2023-07-27T20:04:33Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" time="2023-07-27T20:04:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:04:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:04:33Z" level=debug msg="Handle authorize wait state" time="2023-07-27T20:04:33Z" level=warning msg="RetryPollIntervalSeconds is not defined" time="2023-07-27T20:04:33Z" level=debug msg="Wait 4m58.726844653s before next authorization attempt" time="2023-07-27T20:04:33Z" level=debug msg="SIGUSR2 signal received." time="2023-07-27T20:04:33Z" level=debug msg="Sent wake up!" time="2023-07-27T20:04:33Z" level=info msg="Forced wake-up from sleep" time="2023-07-27T20:04:33Z" level=error msg="Cannot check update or update inventory while in authorize state" time="2023-07-27T20:04:33Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" time="2023-07-27T20:04:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:04:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:04:33Z" level=debug msg="Handle authorize state" time="2023-07-27T20:04:33Z" level=debug msg="Tenant token: " time="2023-07-27T20:04:33Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAmMiH7EnDPcBleBQgx0Ds\njUz4bsw2TAD6uPvAMJU+nLOA8mZpIIcfYkzY3mbCfmmgrUGZqJvipKHH6m7G/UI3\nmJG6rfdj1hsM8m99tWxm6QmSpEOFRIB//UULrvHcG26cqPaXxdiaNpdI3zCLo9BQ\nDuXzZhHJAqI7vXupLjm4EYE2jpJrpdrIJPaja/WeRqMED7K9ZcRrBQ9oz+RDY+Kr\nA0NM47FDMCMoQcfpWHCTyX66G0agFcrknsAYfsPxOQaQfpAgTeOyzr688CdFOF/n\nIbQMnSGK4rJ2avURKgECBLMMGOSNhNiqyZZE7KLFlkjFi8G9opygKUD15QZxTVXV\nwZn1NMm58qnLkwF4ENA7BCAQaN7XrARXjpQsQkEMzozfoiBDySATWdqM/8cNnHvc\n3S/4GR75vEhFdJeTbLQ7Zb4DFwO6yDblO6yNNGQmFkuKhx5sswux3R0YkUCvfjBg\nRmweSfUwvCOT3d029FOAaUwMfc+e8J8bigvZR9ouHtwfAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2023-07-27T20:04:33Z" level=debug msg="Making an authorization request () to server " time="2023-07-27T20:04:33Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0xc000238870)}" time="2023-07-27T20:04:33Z" level=error msg="Authorization request error: http: no Host in request URL" time="2023-07-27T20:04:33Z" 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="2023-07-27T20:04:33Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" time="2023-07-27T20:04:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:04:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:04:33Z" level=debug msg="Handle authorize wait state" time="2023-07-27T20:04:33Z" level=warning msg="RetryPollIntervalSeconds is not defined" time="2023-07-27T20:04:33Z" level=debug msg="Wait 9m58.537211035s before next authorization attempt" time="2023-07-27T20:04:34Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2023-07-27T20:04:34Z" level=info msg="State transition: init [none] -> init [none]" time="2023-07-27T20:04:34Z" level=debug msg="No state data stored" time="2023-07-27T20:04:34Z" level=info msg="State transition: init [none] -> idle [Idle]" time="2023-07-27T20:04:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:04:34Z" level=info msg="State transition: idle [Idle] -> authorize-wait [Idle]" time="2023-07-27T20:04:34Z" level=debug msg="Handle authorize wait state" time="2023-07-27T20:04:34Z" level=warning msg="RetryPollIntervalSeconds is not defined" time="2023-07-27T20:04:34Z" level=debug msg="Wait 0s before next authorization attempt" time="2023-07-27T20:04:34Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" time="2023-07-27T20:04:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:04:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:04:34Z" level=debug msg="Handle authorize state" time="2023-07-27T20:04:34Z" level=debug msg="Tenant token: " time="2023-07-27T20:04:34Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAmMiH7EnDPcBleBQgx0Ds\njUz4bsw2TAD6uPvAMJU+nLOA8mZpIIcfYkzY3mbCfmmgrUGZqJvipKHH6m7G/UI3\nmJG6rfdj1hsM8m99tWxm6QmSpEOFRIB//UULrvHcG26cqPaXxdiaNpdI3zCLo9BQ\nDuXzZhHJAqI7vXupLjm4EYE2jpJrpdrIJPaja/WeRqMED7K9ZcRrBQ9oz+RDY+Kr\nA0NM47FDMCMoQcfpWHCTyX66G0agFcrknsAYfsPxOQaQfpAgTeOyzr688CdFOF/n\nIbQMnSGK4rJ2avURKgECBLMMGOSNhNiqyZZE7KLFlkjFi8G9opygKUD15QZxTVXV\nwZn1NMm58qnLkwF4ENA7BCAQaN7XrARXjpQsQkEMzozfoiBDySATWdqM/8cNnHvc\n3S/4GR75vEhFdJeTbLQ7Zb4DFwO6yDblO6yNNGQmFkuKhx5sswux3R0YkUCvfjBg\nRmweSfUwvCOT3d029FOAaUwMfc+e8J8bigvZR9ouHtwfAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2023-07-27T20:04:34Z" level=debug msg="Making an authorization request () to server " time="2023-07-27T20:04: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)(0xc00012a830)}" time="2023-07-27T20:04:34Z" level=error msg="Authorization request error: http: no Host in request URL" time="2023-07-27T20:04: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="2023-07-27T20:04:34Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" time="2023-07-27T20:04:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:04:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:04:34Z" level=debug msg="Handle authorize wait state" time="2023-07-27T20:04:34Z" level=warning msg="RetryPollIntervalSeconds is not defined" time="2023-07-27T20:04:34Z" level=debug msg="Wait 4m59.94311824s before next authorization attempt" time="2023-07-27T20:04:34Z" level=debug msg="SIGUSR1 signal received." time="2023-07-27T20:04:34Z" level=debug msg="SIGUSR1 signal received." time="2023-07-27T20:04:34Z" level=debug msg="Sent wake up!" time="2023-07-27T20:04:34Z" level=info msg="Forced wake-up from sleep" time="2023-07-27T20:04:34Z" level=error msg="Cannot check update or update inventory while in authorize state" time="2023-07-27T20:04:34Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" time="2023-07-27T20:04:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:04:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:04:34Z" level=debug msg="Handle authorize state" time="2023-07-27T20:04:34Z" level=debug msg="Sent wake up!" time="2023-07-27T20:04:34Z" level=info msg="Forced wake-up from sleep" time="2023-07-27T20:04:34Z" level=debug msg="Tenant token: " time="2023-07-27T20:04:34Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAmMiH7EnDPcBleBQgx0Ds\njUz4bsw2TAD6uPvAMJU+nLOA8mZpIIcfYkzY3mbCfmmgrUGZqJvipKHH6m7G/UI3\nmJG6rfdj1hsM8m99tWxm6QmSpEOFRIB//UULrvHcG26cqPaXxdiaNpdI3zCLo9BQ\nDuXzZhHJAqI7vXupLjm4EYE2jpJrpdrIJPaja/WeRqMED7K9ZcRrBQ9oz+RDY+Kr\nA0NM47FDMCMoQcfpWHCTyX66G0agFcrknsAYfsPxOQaQfpAgTeOyzr688CdFOF/n\nIbQMnSGK4rJ2avURKgECBLMMGOSNhNiqyZZE7KLFlkjFi8G9opygKUD15QZxTVXV\nwZn1NMm58qnLkwF4ENA7BCAQaN7XrARXjpQsQkEMzozfoiBDySATWdqM/8cNnHvc\n3S/4GR75vEhFdJeTbLQ7Zb4DFwO6yDblO6yNNGQmFkuKhx5sswux3R0YkUCvfjBg\nRmweSfUwvCOT3d029FOAaUwMfc+e8J8bigvZR9ouHtwfAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2023-07-27T20:04:34Z" level=debug msg="Making an authorization request () to server " time="2023-07-27T20:04: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)(0xc00012b1b0)}" time="2023-07-27T20:04:34Z" level=error msg="Authorization request error: http: no Host in request URL" time="2023-07-27T20:04: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="2023-07-27T20:04:34Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" time="2023-07-27T20:04:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:04:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2023-07-27T20:04:34Z" level=debug msg="Handle authorize wait state" time="2023-07-27T20:04:34Z" level=warning msg="RetryPollIntervalSeconds is not defined" time="2023-07-27T20:04:34Z" level=debug msg="Wait 9m59.7357243s before next authorization attempt" --- PASS: TestRunDaemon (3.63s) === 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="2023-07-27T20:04:35Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" func="github.com/mendersoftware/mender/cli.(*runOptionsType).handleLogFlags" file="/build/mender-client-2.4.1/obj-x86_64-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="2023-07-27T20:04:35Z" level=debug msg="Should show" func=github.com/mendersoftware/mender/cli.TestLoggingOptions file="/build/mender-client-2.4.1/obj-x86_64-linux-gnu/src/github.com/mendersoftware/mender/cli/cli_test.go:172" time="2023-07-27T20:04:35Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" func="github.com/mendersoftware/mender/cli.(*runOptionsType).handleLogFlags" file="/build/mender-client-2.4.1/obj-x86_64-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.02s) === RUN TestVersion --- PASS: TestVersion (0.00s) === RUN TestMainBootstrap --- PASS: TestMainBootstrap (6.45s) === RUN TestPrintArtifactName foobar db-name foobar --- PASS: TestPrintArtifactName (0.01s) === RUN TestGetMenderDaemonPID --- PASS: TestGetMenderDaemonPID (0.03s) === RUN TestInvalidServerCertificateBoot --- PASS: TestInvalidServerCertificateBoot (0.22s) === 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.01s) === 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.01s) === RUN TestSetupInteractiveMode The device type property is used to determine which Mender Artifact are compatible with this device. Enter a name for the device type (e.g. raspberrypi3): [ionos11-amd64] 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): [ionos11-amd64] 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): [ionos11-amd64] 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): [ionos11-amd64] 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 10.449s === RUN TestClientAuthMakeReq client_auth_test.go:75: data: foobar data --- PASS: TestClientAuthMakeReq (0.00s) === RUN TestClientAuth --- PASS: TestClientAuth (4.71s) === RUN TestClientAuthExpiredCert time="2023-07-27T20:04:28Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:34645/api/devices/v1/authentication/auth_requests\", Err:certificate has expired, openssl verify rc: 10 server cert file: testdata/server.expired.crt}" time="2023-07-27T20:04:28Z" level=error msg="Authorization request error: certificate has expired, openssl verify rc: 10 server cert file: testdata/server.expired.crt" 2023/07/27 20:04:28 http: TLS handshake error from 127.0.0.1:41988: read tcp 127.0.0.1:34645->127.0.0.1:41988: use of closed network connection --- PASS: TestClientAuthExpiredCert (4.84s) === RUN TestClientAuthUnknownAuthorityCert time="2023-07-27T20:04:29Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:34139/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="2023-07-27T20:04:29Z" level=error msg="Authorization request error: certificate signed by unknown authority, openssl verify rc: 20 server cert file: testdata/server.unknown-authority.crt" 2023/07/27 20:04:29 http: TLS handshake error from 127.0.0.1:36008: read tcp 127.0.0.1:34139->127.0.0.1:36008: use of closed network connection --- PASS: TestClientAuthUnknownAuthorityCert (0.28s) === RUN TestClientAuthDepthZeroSelfSignedCert time="2023-07-27T20:04:33Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:38871/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="2023-07-27T20:04:33Z" 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" 2023/07/27 20:04:33 http: TLS handshake error from 127.0.0.1:37386: read tcp 127.0.0.1:38871->127.0.0.1:37386: use of closed network connection --- PASS: TestClientAuthDepthZeroSelfSignedCert (4.88s) === RUN TestClientAuthEndEntityKeyTooSmall time="2023-07-27T20:04:34Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:44665/api/devices/v1/authentication/auth_requests\", Err:end entity key too short, openssl verify rc: 66 server cert file: testdata/server.crt}" time="2023-07-27T20:04:34Z" level=error msg="Authorization request error: end entity key too short, openssl verify rc: 66 server cert file: testdata/server.crt" 2023/07/27 20:04:34 http: TLS handshake error from 127.0.0.1:33106: read tcp 127.0.0.1:44665->127.0.0.1:33106: use of closed network connection --- PASS: TestClientAuthEndEntityKeyTooSmall (0.41s) === RUN TestClientAuthNoCert time="2023-07-27T20:04:34Z" 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="2023-07-27T20:04:34Z" 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.48s) === RUN TestClientAuthHostValidationNocheck --- PASS: TestClientAuthHostValidationNocheck (3.87s) === RUN TestClientAuthHostValidationError time="2023-07-27T20:04:39Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:39419/api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0xc000118cb0)}" time="2023-07-27T20:04:39Z" level=error msg="Authorization request error: Host validation error" 2023/07/27 20:04:39 http: TLS handshake error from 127.0.0.1:58866: read tcp 127.0.0.1:39419->127.0.0.1:58866: use of closed network connection --- PASS: TestClientAuthHostValidationError (0.44s) === RUN TestClientAuthNotValidCertificate time="2023-07-27T20:04:39Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:35105/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="2023-07-27T20:04:39Z" level=error msg="Authorization request error: not a valid certificate, openssl verify rc: 67 server cert file: testdata/server.ca.key.too.small.crt" 2023/07/27 20:04:39 http: TLS handshake error from 127.0.0.1:35482: read tcp 127.0.0.1:35105->127.0.0.1:35482: use of closed network connection --- PASS: TestClientAuthNotValidCertificate (0.45s) === RUN TestInventoryClient time="2023-07-27T20:04:39Z" level=error msg="Failed to submit inventory data: foo" time="2023-07-27T20:04:43Z" level=error msg="Got unexpected HTTP status when submitting to inventory: 401" --- PASS: TestInventoryClient (3.82s) === RUN TestLogUploadClient time="2023-07-27T20:04:43Z" level=error msg="failed to upload logs: foo" time="2023-07-27T20:04:47Z" level=error msg="Got unexpected HTTP status when uploading log: 401" --- PASS: TestLogUploadClient (4.55s) === RUN TestStatusClient time="2023-07-27T20:04:48Z" level=error msg="Failed to report status: foo" time="2023-07-27T20:04:52Z" level=error msg="Got unexpected HTTP status when reporting status: 401" time="2023-07-27T20:04:52Z" level=warning msg="Status report rejected, deployment aborted at the backend" --- PASS: TestStatusClient (4.59s) === RUN TestHttpClient time="2023-07-27T20:04:53Z" 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="2023-07-27T20:04:53Z" 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.69s) === RUN TestApiClientRequest time="2023-07-27T20:04:55Z" level=info msg="Device unauthorized; attempting reauthorization" time="2023-07-27T20:04:55Z" level=warning msg="Reauthorization failed with error: " time="2023-07-27T20:04:55Z" level=info msg="Device unauthorized; attempting reauthorization" --- PASS: TestApiClientRequest (2.39s) === RUN TestClientConnectionTimeout 2023/07/27 20:04:58 http: TLS handshake error from 127.0.0.1:43512: write tcp 127.0.0.1:38317->127.0.0.1:43512: use of closed network connection --- PASS: TestClientConnectionTimeout (2.57s) === RUN TestHttpClientUrl --- PASS: TestHttpClientUrl (0.00s) === RUN TestLoadingTrust === RUN TestLoadingTrust/Test_loading_server_trust time="2023-07-27T20:04:58Z" 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.90s) --- PASS: TestLoadingTrust/Test_loading_server_trust (0.80s) --- PASS: TestLoadingTrust/Test_loading_client_trust (0.10s) === RUN TestExponentialBackoffTimeCalculation --- PASS: TestExponentialBackoffTimeCalculation (0.00s) === RUN TestUnMarshalErrorMessage --- PASS: TestUnMarshalErrorMessage (0.00s) === RUN TestFailoverAPICall time="2023-07-27T20:04:59Z" level=warning msg="Server \"fakeURL.404\" failed to serve request \"\". Attempting \"https://127.0.0.1:33945\"" --- PASS: TestFailoverAPICall (2.47s) === RUN TestListSystemCertsFound --- PASS: TestListSystemCertsFound (0.01s) === 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/1 === CONT TestParseUpdateResponse/2 === CONT TestParseUpdateResponse/3 --- 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/1 (0.00s) --- PASS: TestParseUpdateResponse/2 (0.00s) --- PASS: TestParseUpdateResponse/3 (0.00s) === RUN Test_GetScheduledUpdate_errorParsingResponse_UpdateFailing time="2023-07-27T20:05:01Z" 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="2023-07-27T20:05:01Z" 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" 2023/07/27 20:05:04 http: TLS handshake error from 127.0.0.1:57778: read tcp 127.0.0.1:33553->127.0.0.1:57778: use of closed network connection --- PASS: Test_GetScheduledUpdate_errorParsingResponse_UpdateFailing (3.18s) === RUN Test_GetScheduledUpdate_responseMissingParameters_UpdateFailing --- PASS: Test_GetScheduledUpdate_responseMissingParameters_UpdateFailing (5.09s) === RUN Test_GetScheduledUpdate_ParsingResponseOK_updateSuccess time="2023-07-27T20:05:13Z" 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 (4.00s) === RUN Test_FetchUpdate_noContent_UpdateFailing time="2023-07-27T20:05:14Z" 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="2023-07-27T20:05:14Z" 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="2023-07-27T20:05:17Z" level=error msg="Can not fetch update image: Get \"https://127.0.0.1:42829\": depth zero self-signed certificate, openssl verify rc: 18 server cert file: server.crt" 2023/07/27 20:05:17 http: TLS handshake error from 127.0.0.1:54330: read tcp 127.0.0.1:42829->127.0.0.1:54330: use of closed network connection --- PASS: Test_FetchUpdate_noContent_UpdateFailing (3.78s) === RUN Test_FetchUpdate_invalidRequest_UpdateFailing time="2023-07-27T20:05:17Z" level=error msg="Can not fetch update image: Get \"broken-request\": unsupported protocol scheme \"\"" --- PASS: Test_FetchUpdate_invalidRequest_UpdateFailing (0.29s) === RUN Test_FetchUpdate_correctContent_UpdateFetched --- PASS: Test_FetchUpdate_correctContent_UpdateFetched (4.23s) === RUN Test_UpdateApiClientError time="2023-07-27T20:05:22Z" 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.23s) === 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/missingContentLength === CONT TestBrokenReadAndPartialDownload/group/lateRangeStart === CONT TestBrokenReadAndPartialDownload/group/earlyRangeStart === CONT TestBrokenReadAndPartialDownload/group/serverDown === CONT TestBrokenReadAndPartialDownload/group/serverDownAndUp === CONT TestBrokenReadAndPartialDownload/group/brokenContentLength === CONT TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange === CONT TestBrokenReadAndPartialDownload/group/breakAfterShortRange === CONT TestBrokenReadAndPartialDownload/group/tooManyContentRanges === CONT TestBrokenReadAndPartialDownload/group/missingBytesContentRange === CONT TestBrokenReadAndPartialDownload/group/missingContentRange === CONT TestBrokenReadAndPartialDownload/group/garbledContentStart === CONT TestBrokenReadAndPartialDownload/group/emptyContentRange time="2023-07-27T20:05:28Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:28Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:29Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:29Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:29Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:29Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:29Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:29Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:29Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:29Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:29Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:29Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:29Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:29Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:29Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:29Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:29Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:29Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:29Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:29Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:29Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:29Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:29Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:29Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:29Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:29Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:29Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:29Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:29Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:29Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:29Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:29Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:29Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:30Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:30Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:30Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:30Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:30Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:30Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:30Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:30Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:30Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:30Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:30Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:30Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:30Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:30Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:30Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:30Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:30Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:30Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:30Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:30Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:30Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:30Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:30Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:30Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:30Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:30Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:30Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:30Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:30Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:30Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:30Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:30Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:30Z" level=info msg="Attempting to resume artifact download from offset 3406" time="2023-07-27T20:05:30Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:30Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:30Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:30Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:30Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:30Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:30Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:30Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:30Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:30Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:30Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:30Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:31Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:31Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:31Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:31Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:31Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:31Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:31Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:31Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:31Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:31Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:31Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:31Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:31Z" level=info msg="Attempting to resume artifact download from offset 3406" time="2023-07-27T20:05:31Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:31Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:31Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2023-07-27T20:05:31Z" level=info msg="Attempting to resume artifact download from offset 3406" time="2023-07-27T20:05:31Z" level=info msg="Attempting to resume artifact download from offset 3406" time="2023-07-27T20:05:31Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:31Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:31Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:31Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:31Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:31Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:31Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:31Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:31Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:31Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:31Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:31Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:31Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:31Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:31Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:31Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:31Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:31Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:31Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:31Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:31Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:31Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:31Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:31Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:31Z" level=info msg="Attempting to resume artifact download from offset 3401" time="2023-07-27T20:05:31Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:31Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:32Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:32Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:32Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:32Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:32Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:32Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:32Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:32Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:32Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:32Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:32Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:32Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:32Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2023-07-27T20:05:32Z" 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="2023-07-27T20:05:32Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:32Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:32Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:32Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:32Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:32Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:32Z" level=info msg="Attempting to resume artifact download from offset 3401" time="2023-07-27T20:05:32Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:32Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2023-07-27T20:05:32Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:32Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:32Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:32Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:32Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:32Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:32Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:32Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:32Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:32Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:32Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:32Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:32Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2023-07-27T20:05: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="2023-07-27T20:05:32Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:32Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:32Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:32Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:32Z" level=info msg="Attempting to resume artifact download from offset 5099" time="2023-07-27T20:05:32Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:32Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:33Z" level=info msg="Attempting to resume artifact download from offset 6812" time="2023-07-27T20:05:33Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:33Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:34Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:34Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:34Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:34Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:34Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:34Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:34Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:34Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:34Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:34Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:34Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:34Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:34Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2023-07-27T20:05:34Z" 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="2023-07-27T20:05:34Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:34Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:34Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:34Z" level=info msg="Attempting to resume artifact download from offset 5099" time="2023-07-27T20:05:34Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:34Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:34Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:34Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:34Z" level=info msg="Attempting to resume artifact download from offset 6812" time="2023-07-27T20:05:34Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:34Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2023-07-27T20:05:34Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:34Z" 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="2023-07-27T20:05:34Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:34Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:34Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:34Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:34Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:34Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:34Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:34Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:34Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:34Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:34Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:34Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:34Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:34Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:34Z" level=info msg="Attempting to resume artifact download from offset 6797" time="2023-07-27T20:05:34Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:34Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:35Z" level=info msg="Attempting to resume artifact download from offset 8515" === CONT TestBrokenReadAndPartialDownload/group/noPartialContentSupport time="2023-07-27T20:05:36Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:36Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:36Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:36Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:36Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:36Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:36Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:36Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:36Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:36Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:36Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2023-07-27T20:05:36Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:36Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:36Z" 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="2023-07-27T20:05:36Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:36Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:36Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:36Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:36Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:36Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:36Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2023-07-27T20:05:36Z" level=info msg="Attempting to resume artifact download from offset 6797" time="2023-07-27T20:05:36Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:36Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:36Z" 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="2023-07-27T20:05:36Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:36Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:36Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:36Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:36Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:36Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:36Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:36Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:36Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:36Z" level=info msg="Attempting to resume artifact download from offset 8515" time="2023-07-27T20:05:36Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:36Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:36Z" level=info msg="Attempting to resume artifact download from offset 8495" time="2023-07-27T20:05:36Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:36Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:36Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:36Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:37Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:37Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:37Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:38Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:38Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:38Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:38Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:38Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:38Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:38Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:38Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:38Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:38Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:38Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:38Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:38Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2023-07-27T20:05:38Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:38Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:38Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:38Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:38Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:38Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:38Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2023-07-27T20:05:38Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:38Z" 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="2023-07-27T20:05:38Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:38Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:38Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:38Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:38Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:38Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:38Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:38Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:38Z" level=info msg="Attempting to resume artifact download from offset 8495" time="2023-07-27T20:05:38Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:38Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:38Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:38Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:38Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:38Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:38Z" level=info msg="Resuming download in 1s" time="2023-07-27T20:05:39Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:39Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:39Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:41Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:41Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:41Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:41Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:41Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:41Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:41Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:41Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:41Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:41Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:41Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:41Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:41Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:41Z" level=info msg="Attempting to resume artifact download from offset 6812" time="2023-07-27T20:05:41Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:41Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:41Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:41Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:41Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:41Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:41Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2023-07-27T20:05:41Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:41Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:41Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:41Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:41Z" 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="2023-07-27T20:05:41Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:41Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:41Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:41Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:41Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:41Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:41Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:41Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:41Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:41Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:41Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:43Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:43Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:43Z" level=info msg="Resuming download in 2s" time="2023-07-27T20:05:44Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:44Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:44Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:44Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:44Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:44Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:44Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:44Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:44Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:44Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:44Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:44Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:44Z" level=info msg="Attempting to resume artifact download from offset 8515" time="2023-07-27T20:05:44Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:44Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:44Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:44Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2023-07-27T20:05:44Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:44Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:44Z" 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="2023-07-27T20:05:44Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:44Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:44Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:44Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:44Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:44Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:44Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:44Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:44Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:44Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:44Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:44Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:45Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:45Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:45Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:47Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:47Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:47Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:47Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:47Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:47Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:47Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:47Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:47Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2023-07-27T20:05:47Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:47Z" 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="2023-07-27T20:05:47Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:47Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:47Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:47Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:47Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:47Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:47Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:47Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:47Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:47Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:48Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:48Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:48Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:51Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:51Z" level=error msg="Download connection broken: unexpected EOF" time="2023-07-27T20:05:51Z" level=info msg="Resuming download in 3s" time="2023-07-27T20:05:54Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2023-07-27T20:05:54Z" level=error msg="Download connection broken: unexpected EOF" --- PASS: TestBrokenReadAndPartialDownload (26.16s) --- PASS: TestBrokenReadAndPartialDownload/group (0.00s) --- PASS: TestBrokenReadAndPartialDownload/group/missingContentLength (7.07s) --- PASS: TestBrokenReadAndPartialDownload/group/success (8.07s) --- PASS: TestBrokenReadAndPartialDownload/group/earlyRangeStart (8.07s) --- PASS: TestBrokenReadAndPartialDownload/group/breakAfterShortRange (10.09s) --- PASS: TestBrokenReadAndPartialDownload/group/serverDownAndUp (16.13s) --- PASS: TestBrokenReadAndPartialDownload/group/improperlyFormattedContentRange (19.04s) --- PASS: TestBrokenReadAndPartialDownload/group/missingContentRange (19.04s) --- PASS: TestBrokenReadAndPartialDownload/group/missingBytesContentRange (19.06s) --- PASS: TestBrokenReadAndPartialDownload/group/garbledContentStart (19.07s) --- PASS: TestBrokenReadAndPartialDownload/group/serverDown (19.13s) --- PASS: TestBrokenReadAndPartialDownload/group/brokenContentLength (19.13s) --- PASS: TestBrokenReadAndPartialDownload/group/emptyContentRange (19.13s) --- PASS: TestBrokenReadAndPartialDownload/group/tooManyContentRanges (19.13s) --- PASS: TestBrokenReadAndPartialDownload/group/lateRangeStart (19.13s) --- PASS: TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange (19.13s) --- PASS: TestBrokenReadAndPartialDownload/group/noPartialContentSupport (19.09s) PASS ok github.com/mendersoftware/mender/client 95.462s ? 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="2023-07-27T20:04:19Z" 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="2023-07-27T20:04:19Z" level=info msg="Loaded configuration file: mender.config" time="2023-07-27T20:04:19Z" level=info msg="Loaded configuration file: mender.config" --- PASS: Test_LoadConfig_correctConfFile_returnsConfiguration (0.00s) === RUN TestServerURLConfig time="2023-07-27T20:04:19Z" level=info msg="Loaded configuration file: mender.config" time="2023-07-27T20:04:19Z" level=info msg="Loaded configuration file: mender.config" time="2023-07-27T20:04:19Z" 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="2023-07-27T20:04:19Z" level=info msg="Loaded configuration file: /tmp/mendertest516623594/mender.conf" --- PASS: TestMultipleServersConfig (0.00s) === RUN TestConfigurationMergeSettings time="2023-07-27T20:04:19Z" level=info msg="Loaded configuration file: fallback.config" time="2023-07-27T20:04:19Z" level=info msg="Loaded configuration file: main.config" --- PASS: TestConfigurationMergeSettings (0.01s) === RUN TestConfigurationNeitherFileExistsIsNotError time="2023-07-27T20:04:19Z" 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.066s === RUN TestMenderState --- PASS: TestMenderState (0.00s) PASS ok github.com/mendersoftware/mender/datastore 0.063s === 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.19s) PASS ok github.com/mendersoftware/mender/device 0.244s === RUN TestBlockDeviceFail --- PASS: TestBlockDeviceFail (0.00s) === RUN TestBlockDeviceWrite time="2023-07-27T20:04:20Z" level=info msg="Opening device \"/tmp/mender-block-device-923456605/foo\" for writing" block_device_test.go:46: block device size called: &{0xc000080660} block_device_test.go:56: block device sector-size called: &{0xc0000806c0} time="2023-07-27T20:04:20Z" level=info msg="Native sector size of block device /tmp/mender-block-device-923456605/foo is 5 bytes. Mender will write in chunks of 1310720 bytes" time="2023-07-27T20:04:20Z" level=error msg="Failed to write 4 bytes to the new partition" time="2023-07-27T20:04:20Z" 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: &{0xc000080900} block_device_test.go:46: block device size called: &{0xc000080960} --- 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="2023-07-27T20:04:20Z" level=info msg="Probing the Bootloader environment for which separator to use" time="2023-07-27T20:04:20Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " time="2023-07-27T20:04:20Z" level=info msg="Writing map[bootcnt:3] to the U-Boot environment, using separator: =" --- PASS: Test_EnvWrite_OSResponseOK_WritesOK (0.19s) === RUN Test_EnvWrite_OSResponseError_Fails time="2023-07-27T20:04:20Z" level=info msg="Probing the Bootloader environment for which separator to use" time="2023-07-27T20:04:20Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " time="2023-07-27T20:04:20Z" level=error msg="Failed to probe the U-Boot environment for which separator to use. Got error: requires root privileges: exit status 1" time="2023-07-27T20:04:20Z" level=error msg="U-Boot variable malformed or error occurred" time="2023-07-27T20:04:20Z" level=info msg="Probing the Bootloader environment for which separator to use" time="2023-07-27T20:04:20Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " time="2023-07-27T20:04:20Z" 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.13s) === RUN Test_EnvRead_HaveVariable_ReadsVariable --- PASS: Test_EnvRead_HaveVariable_ReadsVariable (0.21s) === RUN Test_EnvRead_HaveEnvWarning_FailsReading time="2023-07-27T20:04:21Z" level=error msg="U-Boot variable malformed or error occurred" time="2023-07-27T20:04:21Z" level=error msg="U-Boot variable malformed or error occurred" --- PASS: Test_EnvRead_HaveEnvWarning_FailsReading (0.05s) === RUN Test_EnvRead_NonExisting_FailsReading time="2023-07-27T20:04:21Z" level=error msg="U-Boot variable malformed or error occurred" time="2023-07-27T20:04:21Z" level=error msg="U-Boot variable malformed or error occurred" --- PASS: Test_EnvRead_NonExisting_FailsReading (0.05s) === RUN Test_EnvCanary --- PASS: Test_EnvCanary (0.37s) === RUN Test_PermissionDenied time="2023-07-27T20:04:21Z" level=info msg="Probing the Bootloader environment for which separator to use" time="2023-07-27T20:04:21Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " time="2023-07-27T20:04:21Z" level=error msg="Could not execute fw_setenv: exec: \"fw_setenv\": executable file not found in $PATH" time="2023-07-27T20:04:21Z" 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="2023-07-27T20:04:21Z" level=info msg="Probing the Bootloader environment for which separator to use" time="2023-07-27T20:04:21Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " time="2023-07-27T20:04:21Z" level=info msg="Probing the Bootloader environment for which separator to use" time="2023-07-27T20:04:21Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " time="2023-07-27T20:04:21Z" level=info msg="Writing map[mender_uboot_separator:] to the U-Boot environment, using separator: " --- PASS: Test_ProbeSeparator (0.22s) === RUN Test_commitUpdate time="2023-07-27T20:04:21Z" 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="2023-07-27T20:04:21Z" level=info msg="Enabling partition with new image installed to be a boot candidate: 2" time="2023-07-27T20:04:21Z" level=info msg="Probing the Bootloader environment for which separator to use" time="2023-07-27T20:04:21Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " time="2023-07-27T20:04:21Z" 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="2023-07-27T20:04:21Z" level=info msg="Enabling partition with new image installed to be a boot candidate: 2" time="2023-07-27T20:04:22Z" level=info msg="Probing the Bootloader environment for which separator to use" time="2023-07-27T20:04:22Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " time="2023-07-27T20:04:22Z" 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.29s) === RUN Test_installUpdate_existingAndNonInactivePartition time="2023-07-27T20:04:22Z" level=info msg="Opening device \"/non/existing\" for writing" time="2023-07-27T20:04:22Z" level=error msg="Failed to read size of block device /non/existing: open /non/existing: no such file or directory" time="2023-07-27T20:04:22Z" level=info msg="Opening device \"inactivePart\" for writing" time="2023-07-27T20:04:22Z" level=info msg="Native sector size of block device inactivePart is 12 bytes. Mender will write in chunks of 1572864 bytes" time="2023-07-27T20:04:22Z" level=info msg="All bytes were successfully written to the new partition" time="2023-07-27T20:04:22Z" level=error msg="Failed to read a full frame of size: &{%!d(string=EOF)} from the block-device" time="2023-07-27T20:04:22Z" 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="2023-07-27T20:04:22Z" level=info msg="Wrote 12/12 bytes to the inactive partition" time="2023-07-27T20:04:22Z" level=info msg="Opening device \"inactivePart\" for writing" time="2023-07-27T20:04:22Z" 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="2023-07-27T20:04:22Z" level=info msg="No update available, so no rollback needed." time="2023-07-27T20:04:22Z" level=info msg="Rolling back to the active partition: (1)." time="2023-07-27T20:04:22Z" level=info msg="Probing the Bootloader environment for which separator to use" time="2023-07-27T20:04:22Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " time="2023-07-27T20:04:22Z" 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: &{0xc0000b4000 map[] 2023-07-27 20:04:22.287223205 +0000 UTC m=+1.835857832 info Rolling back to the active partition: (1). } time="2023-07-27T20:04:22Z" level=info msg="Rolling back to the inactive partition (2)." time="2023-07-27T20:04:22Z" level=info msg="Probing the Bootloader environment for which separator to use" time="2023-07-27T20:04:22Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " time="2023-07-27T20:04:22Z" 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: &{0xc0000b4000 map[] 2023-07-27 20:04:22.579188199 +0000 UTC m=+2.127822816 info Rolling back to the inactive partition (2). } --- PASS: Test_Rollback_OK (0.62s) === RUN TestDeviceVerifyReboot time="2023-07-27T20:04:22Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" time="2023-07-27T20:04:22Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" time="2023-07-27T20:04:22Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" time="2023-07-27T20:04:22Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" time="2023-07-27T20:04:22Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" time="2023-07-27T20:04:22Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" --- PASS: TestDeviceVerifyReboot (0.25s) === RUN TestInstall time="2023-07-27T20:04:22Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:04:23Z" level=info msg="No public key was provided for authenticating the artifact" --- PASS: TestInstall (0.08s) === RUN TestInstallSigned time="2023-07-27T20:04:23Z" level=info msg="No public key was provided for authenticating the artifact" time="2023-07-27T20:04:23Z" level=warning msg="Installer: Installing signed artifact without verification as verification key is missing" time="2023-07-27T20:04:23Z" level=info msg="Installer: authenticated digital signature of artifact" time="2023-07-27T20:04:23Z" level=info msg="Installer: authenticated digital signature of artifact" --- PASS: TestInstallSigned (0.24s) === RUN TestInstallNoSignature --- PASS: TestInstallNoSignature (0.02s) === RUN TestInstallWithScripts time="2023-07-27T20:04:23Z" level=info msg="No public key was provided for authenticating the artifact" --- PASS: TestInstallWithScripts (0.08s) === RUN TestCorrectUpdateProducerReturned time="2023-07-27T20:04:23Z" level=info msg="No public key was provided for authenticating the artifact" --- PASS: TestCorrectUpdateProducerReturned (0.09s) === RUN TestMultiplePayloadsRejected time="2023-07-27T20:04:23Z" level=info msg="No public key was provided for authenticating the artifact" --- PASS: TestMultiplePayloadsRejected (0.03s) === RUN TestStreamsTree --- PASS: TestStreamsTree (0.04s) === 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="2023-07-27T20:04:31Z" level=error msg="Process 1845928 timed out. Sending SIGTERM" === RUN TestModulesDownload/Module_download_never_exits time="2023-07-27T20:04:36Z" level=error msg="Process 1846425 timed out. Sending SIGTERM" --- PASS: TestModulesDownload (13.22s) --- PASS: TestModulesDownload/Mender_download (1.05s) --- PASS: TestModulesDownload/Module_download (0.01s) --- PASS: TestModulesDownload/Module_download_failure (0.01s) --- PASS: TestModulesDownload/Module_download_short_read_of_stream-next (0.01s) --- PASS: TestModulesDownload/Module_download_short_read_of_stream (0.02s) --- PASS: TestModulesDownload/Cannot_open_stream_file (0.01s) --- PASS: TestModulesDownload/files_dir_blocked_by_file (1.01s) --- PASS: TestModulesDownload/Mender_download_multiple_files (1.01s) --- PASS: TestModulesDownload/Module_download_multiple_files (0.02s) --- PASS: TestModulesDownload/Module_download_multiple_files,_downloads_only_one (0.01s) --- PASS: TestModulesDownload/Module_downloads_two_entries,_but_one_file (0.01s) --- PASS: TestModulesDownload/Module_download_doesn't_read_final_zero_entry (0.01s) --- PASS: TestModulesDownload/Module_download_fails_final_exit (0.01s) --- PASS: TestModulesDownload/Module_download_hangs (5.02s) --- PASS: TestModulesDownload/Module_download_never_exits (5.03s) === RUN Test_GetInactive_HaveActivePartitionSet_ReturnsInactive time="2023-07-27T20:04:36Z" level=warning msg="Could not resolve path link: /dev/mmc2 Attempting to continue" time="2023-07-27T20:04:36Z" level=warning msg="Could not resolve path link: /dev/mmc3 Attempting to continue" time="2023-07-27T20:04:36Z" level=warning msg="Could not resolve path link: /dev/mmc3 Attempting to continue" time="2023-07-27T20:04:36Z" level=warning msg="Could not resolve path link: /dev/mmc Attempting to continue" time="2023-07-27T20:04:36Z" level=warning msg="Could not resolve path link: /dev/mmc Attempting to continue" time="2023-07-27T20:04:36Z" level=warning msg="Could not resolve path link: /dev/mmc4 Attempting to continue" time="2023-07-27T20:04:36Z" 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="2023-07-27T20:04:36Z" 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="2023-07-27T20:04:37Z" level=error msg="Mounted root '/dev/mmc1' does not match boot environment mender_boot_part: 2" --- PASS: Test_getActivePartition_noActiveInactiveSet (0.76s) === RUN Test_getAllMountedDevices --- PASS: Test_getAllMountedDevices (0.00s) === RUN TestMaybeResolveLink time="2023-07-27T20:04:37Z" 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 17.150s === RUN TestInventoryDataDecoder --- PASS: TestInventoryDataDecoder (0.00s) PASS ok github.com/mendersoftware/mender/inventory 0.078s ? github.com/mendersoftware/mender/log/syslog [no test files] === RUN TestStore --- PASS: TestStore (0.00s) === RUN TestExecutor time="2023-07-27T20:04:18Z" level=error msg="statescript: Ignoring script '/tmp/rootfs_scripts064199797/Download_Enter_00' being not executable" time="2023-07-27T20:04:18Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " time="2023-07-27T20:04:18Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " time="2023-07-27T20:04:18Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " time="2023-07-27T20:04:18Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " time="2023-07-27T20:04:18Z" level=error msg="statescript: Ignoring error executing 'ArtifactInstall_Leave_02': 1: exit status 1" time="2023-07-27T20:04:18Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " time="2023-07-27T20:04:18Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave_100' will not be run " time="2023-07-27T20:04:18Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " time="2023-07-27T20:04:18Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave_100' will not be run " time="2023-07-27T20:04:18Z" level=info msg="Collected output (stderr) while running script /tmp/art_scripts029031918/ArtifactInstall_Leave_00\nerror data\n\n---------- end of script output" time="2023-07-27T20:04:19Z" level=info msg="Collected output (stderr) while running script /tmp/art_scripts029031918/ArtifactInstall_Leave_11 (Truncated to 10KB)\nRvIĢ\xd9\x1fbk\xf9\x00\xb1\x13:Q8\xe5\x85N\xdcʁ\xfa\xe0\x1c\xcfi~h\u007f\xac\b\xfe\xc2\x05x%e䡈S\x94\xc2\xd2\xec\v\xb1z\x9d\xa0\xacD^c:\xc7\xf8\x9d\x14\xf1\xa0\x80\u05fd?'\x146\x05>\xb5NI+\xad\xf2\x01[y|\x87أ\xd9!q\xda`0\xfe\xb5\xa6\x1bM$\xf6\xf7d@'>\xe2^!Q\xb5\xd5\xc5\x13mc\a\x14<\xb2p\x82\xac\xdbK\xcc=c\xc1W\x11U\xb9\x01\xd6|N+\xa0\xe9$\x9a8\xb0Y\t$Y\xa7\x86\x91\xe3u\x88{\xe3б\xd6ڎ\x8b2ԹW\xb8.@\x82!-\xa4x\xcb\x12\xa0\xed\x918\x85\x1a\xa02\xc2\xc9\x1b0l\xe4\xe3-\xa8\x19;\x9f\\\xbd\x1c\x1e?\x1b\xce\xe2\xefFw\xaa\xc1h\xfb'G\xbak\xb5\x1ae\xa2\rԢ\xd0\u008dG\x0f\x10*\xd1\x1e\xd9\x16lk\x81\xaa\xd0\xe4\xb7\xe1\xf7l\x9c\x11^\x91\xbe\xce:\xdc\x14\x14\xca\xe5\x02Rǡ]\xae\xe3E\x80A}\xcf@&x\x18\xd6iʊ\xb6\x9f*\x02m\xf824\xe7xH'X\x0f\x9a\xad~y\n\xa2\xc3\x00F\u0383\x1f\x16.y\x03y\xe5?H\x97j\xa3\t(㍯<\xab\x94`>دt\xaeP\xf2`c\x17w\xce\xe73,\xf3\x13!\xbed\xbc L\xc4\xe8$\x8a\x01Ɇ<\x90\x9bd\x19\xeb\x0e\xb3\xa0\\\x00\xec\x93\xdf2\xff\x8e\xaf\xfc2/\x92\xb8\xa3\xa1\x9f\xfa.\x1b\xeb֑\xa2\x8d\x85\xc9$>h\xa40\x1f\xaa\xb5\xf6\xaacH\xba\xc4@\xe3\x05(\xd995\x19F\x04\xce\xd2\\:\xdf\x12\xc2S\xb2\bA\xd9\xc9/\xc0\n\xe4\xee\xc7\xd2K\xddp+0\\<\x0f\x82\xcf)\xaa\xf1\xce1 \x1eJ}\xf2\xf2\xf2\xd9\xec\xf4\xd4\x1b\x0f\xa2\xb2NY\xc2\fX\x96\xbc;9PM\x8c\xcbV\xaaz\xe8\x01\xa9\xb7\xd28\x9b\xf5\xd1Y\\\x8e҆\x81?\xbd\xf5l\xe7an{\xadev\xa8\xdcN\x9b\xac\x02\xe7ŏ\b\xe6\x81\x0f\x8e\x9e\xbf\xc5\xd9\xdaC2\xadÅ\xb9\xec`B\xa7\xe3\xb3i\x167\x01<\xaa\xd8{\x1c\x8e\xc99C\x1e\xe7\xa4l\x1e\xe9q\xf2\xf1\xd1LQ\x83\x99\x98l\xefگ\xda)zj\x83\xf6%\x19A\xa1\x8co,\xc5V\xf3\u008f5\vY{\x99\x80w\xa6\xf2\xc6\n\xf7\xd6\x0f\xfeix\x9c\fAt\x95\x90\xbb(XzZ\x94f4\x15\xdfwq\xf1\xcfq/\xc5\xc2ׁ\"\xda9c\xa59\xfd\"\x1d1\xae\x8c\xb6\x92\x98\x18_\u17df\x9ei\xe9\x9b\x16\a\x91X\xee!\xf9\xf4Ϩ\xf2\x16\x97Qfݝ\u05fd\xd9PB\xc2 zhf\xf0\xeb\x81\xf8\t\x1b\x8bj\x8e\fW\x1b\x93\xd3\x1e\xbd\x94\x13\x17\xe4П\x0e\x81\xe9\x98<\x02\xcd\\q]`\xc72B\xf2\xa8\x80W\xacҦ\xea\xa1\xf3\xe7\x02\x1f\u007f>Z#\t\x1ae\xce\f'p/t\xa0U\xf0k\xa2M\x11p\x16\xd1\xe4\x11z6e\xb8\xd8,wQ\x89\xbe5\xb6\x00O\x03\xf4\x12\xd8\x05\u05f7\x13\x1f\x80\u0087qΡSA\x1dS\x05;U\xa8\xa8\x1c\xfdbG(y\x00\xb9?\x9c\xd3\xe2Cq/.\x9bp;\x0e\xe9\xf0\x14\xf7\x05~4\x8a|\x17QKD\x9e\xee\xe6\xd7\x05h\xfc\x19\n\x01\xae\xd8\xfc\r\x8aV\xea\xebe\xb3]\xaf\vP\xf2\xcb\xebr\xe6e(\xef7\x938pY\xc5\xc5\xc0{\xa7\xbb\x93\xab\xec\xe6S'i\xc8\v,\x95(ge\xce\x1f\xb9\x9d]\x0f\x11\xd4\x0e\xbf\"\x9c\x9a\xeb\x8d\n\n\vFۅ\x95\x0e\xa0\x8d\a\xee\x1e\xf0\xb2\x190\x95#[0\x06\xf6\x94\xfe\xcc\xf5ٛ\xa3D\xf5\xcfE\xadY+\x93\x9bh\x00#=DA\x88d:\xb6\xd1߂\xa6\xfdg\x84T7#䅾T=i~\xc0\x87a\x96\xe3\x15\x83\xaa2[\x18\r25\xc8T\xf5<(\x97\xec\x1ee<\x06f\xf5\xb4\x8b\xa2\x01\x80\x1cO0S\x91&\xa8\xd8稬\x96\xec/\x8a;\xb3\x9d)Y\t\xd7\xc8\x1d\x94\xd1 \xfdX\x8f4q\v\xf5\xee\xfd{\xc0\xe2\xec\xa5o\x8ct\x88\x8d\xeb\x94\xe5\xa8\x17\xb7r\xc7*\x91f|?M\bL\xe5F\bP&g\x01tH+\xfc\f\xb1\xffR\xf8\xa7\xa4 ;uq^\xfdG\xbfI\xddq\x06\xf2\xfc\x10\xee\x0f\x923.\xc8\x18\x94\x05\x1d.\xd7(egv\xa31ki\xf2\xa2\u007f\xb2\x14qb\x8b \u007f\xce\xc5A\x02\xe2\x1d\xc1\b\x17hG\x95\xa8\x98\xa6\xa0\t\nl\xed3o\x0e\t\x86\xc2O$\xcaԿ)\x162\xe3n2\xc4\xe4\xc3%{P[s\x1f#n\x84\x1b\xf6\xe0\x87\xe2\xd7\xebq`\xbap6\xbf\U000d98a6a\x15*\xb7\x99\xde\xfe\xdcc\x95\xa2\x9eDҊ\x84\xbd\x1d\xa5qjf\xa7ف\xa0\x9bڊrˈ\xd1[\x91+]d\x02\xa7\xd2\x18\xe04\fT%\xae\x1b\x11\xf2!\xd3\x1f,\xbbB\fo\x8c\xf9\xccl\xd5\xf5\a\xa8Q\xb1\xdc\xf2\xa7\xffy\xe6w\x0f\xe9\xfe\tST\xf5-\xd5(22\xba\a%\xd8;\xb5K*\r8U\xb4\xc8cm\x1e\xb9b\x0e1\xc9\x05\xd2闇\xd0{\xd7m\xe9\x9c\xe2L)\xe1]\xac\x82\xeegCӇ̅\xfb\x8d\u0602K\nq\xddf\xaa\xc2hsJ\x18\x8e8\xf3\xc95MY]X\x9a(~\xb8p69\xe0\xda\x0e\xd0\xe3'\xf2\xb4\"T\xba<\xd6k!B\x81\xab\"\xa8\xaa\x84X\x1c\xc6\xd5\xc1֚\x99AV\x1c\xcb5\xe7i(\x85\x8f\xe3`_\v\x9cj\x1b\x89k\xb4V\xa4\x00)\x81\xf8\v\xbc\xd0ݳo\xcd`\xa7(\x03\xfe\xa3\xc04\xb6\xde\xcb;\x9a7\xf9\xa4 \xc3?\f\xc59{ւr\xe4ߚ\x1c3\x18f\x9b\xc9K\a\xa0C\xa3_\x93\x96V\"}IJr\xcb\x10\x15`\xa4KK\x9e:\xe6V9ܿ$o\xb2\x11\xfbם_Ю\xaf\xc6,'\x98$\xbeV\xc0f\xaa\xd31*\xe7\x80څ\x8c\xc7\xf1\"\xa9\xf3D\xae\xf4\xe6ܚ7\xa6c7D\xa3\x8a,N]\xd3\xe9\xf0\x8fC\xa1\xc2Y/\xef\x1dVC\xb3\x87.\x9d\xefO\x1f\xca\xed&\xee*5\x95\x87X\t(\xadi\x92@[\xbd\x15\x171\xa3\x89\xb7r\x9b {\\N\xbe\xf0a1>\x0e\xac\x8f\x94\xcc\b\xf2I: 2\xbb\x93!8\x1d\xde\xf5F\xce\xeak\x84\xc7\x16n\x86t\u007f\x128\x9e\x99Q\xa4\xdaE$\xe531\x88,\x00\x85\xfe\x1c\xd6\xf6v\xb7\xa3\xe4Kk\x04$z\\As\xc7\x12\xd3J.3:C\xfe\x8d\xd3A[&>\xee\x11@\xe1-I\xeb\xfeb\xc0\u007f\xfb\xbf\x1eSr\x97\x8e\x96:Wz{\x04\xe5Ċ\xb4\xf6\x10Ր$\xb8b\x8d\x1ar\xe2\x14\x9cp\x80z\x17A`\xae\xdb\xca\xc6֪@\x82\xd4\xe8b\x90\xbd\x90\x8c\xa82AIqd3Ԏ\x1agI\x0f`\xa4\x8f4 \xe9\n\a\xe8\xbe$%\x99%\xe7:ͣ\xeb \xff\x80`\x93\xf2\te\t\x17X1T\xd5\x1d\x1bH\x924\x9b\vi\x130\xf4ۃ|\xdf\x02w?\xfd\b$\xc6_\x01\x1b\x02+\xb5\xfd\xc8rd~\x19\x00\xebY\u0089O\x83\xbe\xb1\x83\x94\xb5\x13xh\xe6Q\x94\x87\xb7\x1d5\xcaw\\B\x99\x9c\x94ܗ\xbaG\xda\x15\xf9\xedv\x9f56բ\xdf\xd7浽\x80\xaeZ\v\xc2:օ\x90\xb4\xbd\xfb-\xa8Ak\xd8Q\x0fǰ\x85\xc1y{͞D\xf6X\xf8f3\xbe\xd9T9\xa3\xb6\x83.\x04\xdb\x1fMxHì\x15\xce:W\x12\x95\xbe\x9d\\j^T98\x18\xf8\xaa\xec\\4\xed\x84A\xd9E\x92\xcdG\xaeH\x02\x8c\x14\x12\xd5}\xcf/\xde\xfb\xadBe\xbf\x8a3z\xfcU?\x8f\xddx\xf4>\xf5x֕w{L\x8e*\u007foؙ\xf1\xf0\x80\xe8\x18}\x1cLT\x94\x10\x1a)\xd2\xeev\x1aF\xfd:\xcd<\xa5$U\xda\xc5\t\x8fV%*ر\xb6\xca\x1a\xbd\a\\L\xeaQ\x1a\x9ayA(L\xf2\xa7#\xc03\xfcq\x955\x97\xe5*<]H:\xfa\x86Ԁ$/)W|&I\xfc\xef\xb7\x0f!_}^\xdc\xf4\x9e}\xbf\xa4,\xceb\xea^\xee\xeb\xe1g\xb6د\x10\xbbv\x9a\x1ahn3\x91\xa4t\xc64\x1aX\xf2g\xc4\xda\xd5jT[\x9e\x03\v\xa1\xee \xba\xc7\xe0\xcc-\xe5\xafw\xa4\xfb\a\x1d\x80\xd5\xf4z\x88\x8c\xd3Tx\x04\xffG$\xb8\"\xb6\x81#܄a\xc4ov\x8e\x16r!\xac\x9a%\x86<\x17ck\x0f%o\x17â\xf9\xc3\xea߂\x95\x1b~?F\x16\f*\\>F\xf1\x8e\xb6p#\xe3^\xac\xf3<\x0e\x06U\xf2V]\xe9SSh\x06T\x8c\xc5-\xbdB\x8a\xd0!\xf2\xa06\xe5\xa3X5ð%\x91\xa6G\xdaJ\xf0I\v<`\x9c\x0fo\xbf.0ퟙ\xa5k=\x11\xd6\xe5\xe3\x16\xae\xf7\xa14\x1fq\x94\x05\x97Ş!j\x19\x15\xf5b\xda\x13<\xaa\xf2\xae\xb3\x03;\x16㹆\x85n{\xa3NL*7ƿW\x83*\x03\x81\x98\x8f\xe3\xa54 \xf4\xae \x0eT\xd29ez\xa67\x06\xb1\x18\xd1I\x8d\xe4\xe8\xfa\x0e\xde\xf3q\xa6\xb5J\xfb\x03\xdak?H\xa2\x8e@Y\xb84\xd2\xec\xa5=1\x99\x96\xa2\xbd\f\xf41\xbf>䈻o\xfb[\xc3pQt\xd5x;ӾG\x03\x06J\xf48_\xfahȐ\x92\xf0o=\x17\x19\x1em\xba!\x97\x93A\xa0\xb6\xa2\xf9e\xa2\xed\xa287\xbfSՕ\xd4K\xec\x10~\xfe\xc2v{\x8a\x03\x98J\"\xa4\xe5\nwD\xae\x94\xedo\f9(\xa4t\xba%\xedR\x11\xa2\xe6\xfcE\xfeW\x13R\x8e\xb6u\xe5\xbe3\xb3\xe6\xcdd\xa6\xeb\xff&\xd4\xd1\x13d\xf6-)0\x83K:G\x83\xfa\xe0e\xadD\xf4\xc4O\x95\xc1m\x83\xf3\xfe4ڒ\xac8U@\xf1\xddC\xf6\x883\x9a3\xcf\x1e\xf9\x1bGY:\x8d\x8b\xea\xee\xf4i<\x05\xc9-p.\xaaơ\xbcc\x13\xcb\x0f\xf1Ӽ\x14%\xaa1\x02nN\x9c\xdb\xff\x13\xd6\xdf\xf6g\x1b\xe3\x89}\xc38\xdcN\xbcv\xff\x9f\xed\xad}.\"\x8bh?\xca\x02\x10K?\x15^\xd6\x1fz\x15#\xe4\xfd\x8aZ\xf9\xca\v\xa1XӃ\xff\xc4\xc8Z\xd4\bD\xac5c/A_\xa8\xd3)\xb1q\x80w\v\xa0\xebĹA:\xb2G\xb7\x87\fx\xcfeh\xfdY\xb3\xfb۸\x19E\xa4\xb7D\xc0\x8d\xe7|l\xe4.\v\xcfFqh\xa3\xfbe\xaf\x1a\xbef\xb1\x01.\x03\x0e&\x9a\f&\x05J&9\xc3m\xd7ci\x9a\xa3OM\x81\x18\xb4\xa2:\xb7\xf3\x97\xa2B\x91\x82\xb5\xe8-G\x034\xe8\xf8v\xeb)=f6\x06\xe3E\xcd\x1f\\\x94\xb7uAK\x9e\xf9\xef\xc0i]\xb5\xd1\xd0M7՝\\\xa5\xab\xe0\xb4p\x9c\x94\xb6\xdcT\x19W\xb8{\x8dj\x0f7H\xcaut\x13@U\xe5\x86tY\xfe}\x05xq\x9d\"\xbd\x13\x9a\\\xbe\xac\xf6\x86\xf1\tEZ\x15\x9b\xd1\x18B\x0f\x04\xa5\xb8\xef\xc6;^0#\x13\t97!B\x95\xa1D\x06\x97\xa5\xe2\x02\xf8ԋ\x1b\xc1D퓴zgv\x14e\xc5k\x8db\\j\xf6\xeb\xdbLM\xf8\x91\x03}\xf4\xfcf\x11v\f\xe8\xe7\xb6)i\x93\xed\x00\u007fܣ\x1e\xbc\xabDZ\xc4J\x84\r$\xf5\"\xf2 \x9b\xd9\xe8\xfd\x14\x9c\xaf2K\x96\xe2\xee\xe91:KC\xad\xa5\xfd\x83\x8d\x86y\xb9\x8b\u007f\r\x02\xf1\x99\x17\xe7r\xed\x98\x17\x1a51t\a\xe5\xc9&\xa7sF8\xd1\"\xa9&\x84\a\xfe^\x8f\xb2\x86V[\xe7|\xa5\x1a\xcf[\xb2K\xe6U]>]e\xe5\x06\xbb\"\x13\x81='\xb0\x00趌\x06\x12\xf5\x03\xf0u\xce\xe7%}\x04\x86\x97\x9e/\x10\xd8¯M\x0f6b\xd3\x11\xb3\xbe\x00\x91Z\xbb\x92\xa1\xb8,\xf9\xd04\x95\x8a\x0e#=\xc5ST\xe8\xb5\xc0R=4\x96\xa2\v\x1c\xa7/+\u007f\xce#\ro\x9b\x89G\xb8\xb3\xa2d\xad\x12\xeb\xbaPi\xa4\x9c߯(G\xbeV+\xe2=\xb6r\xa6\x9a\\0\x10fQm\x02h\xfa\x1a\xcbH\xe0\xaaݪ\xecQ\xee\t\x9c\x95:c\xe4\xdf\xd8v\xc7GbŮ\xc5\a>^rxņ\xear?\x00\x8c\n\xfc\xfb\xc8߬{\x19\x82\x10-\x16\xddu\x93Cc\xe7\x80X^94\x8eC@0N\xd6\u007f\x88\x00\xf7d|HC\x80\xaf\xe1\xe4\xa9v\x99|\x113\xe2\xa3˅9\x02\x8c\f@\a\x16\af\xbb^\f\xaa\xe9\xc4\x1c\xb9L\xbe6F\x8b?\x192\xe5\x03\xc3$\xe9\xe4\xa3\xdf\xearB\xf1:\xab\xed<ڟ\x97|\xde:8X\xf1\xdd\xe8k0X!K\x004\x80n \xd9\xeb\x89\xd0\xde\xf8z\x81\xa4\r\xbd\n\x8f\\\x0fLg4\xa1\x1a\xcb\rږ\xe4%\xb4\xf3`\"\xfa-\x82\xb8\xfe\xd9W\x9f\xbb*\xdfT>[\x86\xf07}\xd5K$hu+j\x9b\x8dH\xe9\xbcj\x15\x13\x15h\x0f[gi\xe4\xac\xe63Y>\xfd\t!\xa3\xaa\xf36\x15a\x04ʇ\xcb\xe6R?\xf2\xdfPr\xf8\x95\x01\xb51\x19\xab\x88\xa0\xc9\xe8\xe6:\xb5\x19\x06tB\f\xc84j\xe4\xfd\xf37X\xf8\xa5M\xbf\xd2^\xb2\x865K\f\xa4,ʐo\f p\xe3\x8a\xe8ֵ=<\xa4\xa6iP\xfa\xfcځ\x14\xd4\u05fdVܤTK6\xf51u\xa6\xab\x97\xc5ZC\x9b0\x84/*\x05\x8fI3Zp3n[\x1e\xae\x18bR\xaahګ=}I \x90*\x16N\xe7@D\x87:\x01\x1by\x15\xe4LJ\x87\x8a\xdai\xc9kns\xb94\x10\xca\xe4\xab-p\xe3\xb4\xf1\x1eE\xa0\x1a\xa4\xed:\x9bO\x95\x96\xd5\xc7\xe7<\x0eg\xb8)'h\a\x99\xda\x10c\x15\xb6'\xcd?\x17\x03棋\x1a\x1f\x93~QY\x10/4\njB\xdb0\x88\x16I\xe3i4\x90F\xa8:B\xaf\xae\x94_\xf4\xd6)ͤ\x95\xd5\xef\x84P@\x9b\x1b\x98\x92>\xb6mP\xaf\xc3\xc3\xcfk*\x91\x02\xc3}\xaa\b,\x98\x94S\x12*\xa8\xa1\xbd\x84\t\x83ՙ0mvp\x86\xe0\xbd\xe9C&L\xe8u\xbc\xa8`\xac\xebŦ\x14\x1cMy9\xb7GF6`o\xcfV\x80\x0f\x946>ҕ:d[cթ3F\x89\xe6\x84\xe7d\xa3\xf6|d\xb7\xac\n\xf1\x11\xac\xea\xb4{\xec\b\xaa~\xa8\x15\x1f\xd7TdL\xbc\xadoV\x0f\f\xca[\xa6*\xdc\x06\xef\xc8y,\xa1\xba2V\x02Ҕ\a*\xfe\x10\xd5S\x98\xfd\xd2\x06)#\x0e\x80P\xf8\x83\x1f\x80\xe1\x92I\xa2\xc0F\x97;\xdcYC6O\x89\xba\xf1\xc9\x1d\x10+\xc8-\xb8\xfc\x97u\x00\xbd;\xb6\xd4\xf4\x15/\x9a\x17\xb5\x12\x84^\xca\xc6\xf0ڄ\xf0\x93\x1e\xcf0C\x83\xb2\xad\xaca\xa3\x0f_^\xd55\xa0\r\xfd\xfc84;\xc6e\xbc\xa6\xbe\xe52\x9f\x93\xf9\x0e\x16\xec\x80\x18\x1bKh\x10\x9c4\x19B\x83'7k\xe4\xb6\xda\xf1\xbcu2\x93\x00\x8a\x84_˩\xb9\xae\xb7\x95\xa8xԾY\xa9\v\x9d\x9c\xffE\xc4|\xad.g\xa4\x9c\x15\x9b\x96\n\xb4y\x13\x12\xff{\xf7\x10\xd2\xe4\x9fN\xbaK5\xcb@\x1a\xa8\xb3\xe7\n\x059\xef$\xa7ӌ\x15:?D\xae&S\x19\xe3,\x11\xefV\xe8\x8d\x12s|\x96\x13\xe5\xff\x96\x98t\xbe\xf22A\x8f\xfc\x89\xab9\xaf\x1d\xd7<\xc6G\xfa\xbdx\"\xfaxd\xb1&b2\xb2\x8dJ\xe6T]ͣ\xb1\xaci\x84\x06\xfc\xf2\xb4\x1def\n\xa4\xd2\xc5\xe9\xaeԵ\xf0Cx\xed\x05A\xec\x8ehf1\xef^\v&\xa0:\xe6\x0f\x88\xfc2\xfe\xd4֍\xcf\xecfY\x8dH\xa5\xb1q\xcbBh\xe9\xf8\xf5\xe3\xae\xe7\x940\xfc*\xc6N\a\xfbƃ\xfa\x8f\xe4.Wq\xd0u}\xa3#Hq\x8a\xbd\x0f\x9c\xf9U/kjB\a\xf2\xa7\xc8xL\xa6*\xd0\x06\xe3^p\xccFje\xf5\xf2\b\xb1\x02\x02ř\x1bx\xceTC\xe6+\xe2T\x85m\x1a\xd0E\xd1?\xd2~\xd3rG\xb0k\xd5\x14\xd2\x16\xaf\x89\xea3\xff^\xed\xf6dC\x1df\n~\xf9M\x9e2\xd9L\t\xe2\xdf\xc1\x04ve;JU\x1dd0\xe1\xf2\f\xed\xa1\xbe<\x16\xb1\xc6\x03\x91O9P}\xa6\xa1\xd17\xf6\x17DX\x91\x0f\x99\xc12\x12\x96!\x92\xc5\xe5\xd1)\xa9\xbd]~\x84\xd3\x00sU\x88>M\xb9V*\xad<\xeb\x03\x14\xe1\xe9W\x8b\xb3\x19\u007f\xf7`\x89h\xc1\xb6\xf0駕q\xa79|\xbb\xe9\xd0\x03\x98\x8f\xf2\xd1&\xc3l vtbȒ\xee\xf3`Zy]\xe3I\xc5\x1c\xda:\xcd%oC\xa3\xca_\v\xc9K\x14i\xb2\x1b1\xa3\x8e\xfc\x9f\x98\xcd\xf9\x8bV{(\xe5)d\x18H\xda\xe4C\xa6\xbf%\xd8A\xd9t\x89=J$\xf3\xf1d\x17\xa3n\xf9\x99\xed\x19\xa8\xa9`\x05AXuu\xd6d\x14\xbe\xbd\xb0\xcfS\xf3\xc1F\x95!\xf6(\xe6\xa5\x00\x8a_7\x12\xc9\nj\xd1t\xda\xf0\xc5Y\x82\U00039d24\xcc|\xe3\xd0C.ݧ\x8c8\x0f\x1e\xca\xccк\xe0/\x02֜ǧlU⪧\x00\xd5\x01\xb5˵8\x85\xae\xf2\x06SX\xb5\xeb7O\x94\xe4\x8a\x10pxA\xa1\x1d\xeeW\x96\x90\xed\x03\x9f%\xf5-\xc2y0\xc0\x9eZ\xceNA\x9e\xfa\xbf0\x1b\x12\x1fg\xc1\xdb(9\xd5\xc5\xed\xf02\u05eeI[\xa8\xa0\x88\b0B\xbb\xac1\xcdF\x8d\xd1\\'\x19dD\x8e\xf5\x040\xcd\x04\x92\x87\xaf\a\xbed\xeb\x94-\xba(\x16\xda\xf2\xbfY\xb7\x8f\x13\x826\x8f\xa2ͣ_\xff\v\x1b\x895\xbd\xef\x92I\xd6\xc0\x88\x16\xce\x15\x9aU\x8f\x9bD\xd5-\xa2k\xbe\a\x82\xc0\x92\xab\xeb\xde)a&6\fO\x9bd\x18fs\x1eG\x0e\xf3ݻ9M \x13\x02\xb4\x17ܩ\x89\xe8\xd6\x1e\x88\xca\xc5\x1fJU\xf9\x89\x97 \xe2\xf7U%s\x825ǖ\xada\xe8\xde?\x94w(\x1a\xeb\xd0\xc0\x10\xd70Q\x83W\x1da\x05C\xe0\\\x96\x1d\xe9\x97E?\x13\xeav=\x96\xdf\xc2\u007f\xfa\xf2\xbe\x1bT\xc8\xc0b\xfd\x12q\xed\x8e\x1d\xeeв\xdb:%\n\xf2\x8c\xd3{\xb0\xce\xd2\x05cxy\x0e\xab\x9b\x8a(ȨӘ^s\v\x1c\xc5Q\a\x99\x8f\xa7|\xba@\xe4-\xe5\x12ٝ\xc5(L\xe3\x01\xb57\f\xdc`N\xe0>bl_\xdfh\xa9\xfacڼ\x91-x7x\xc9M\xe8CT~\x99\xf2\xf8E\xf51ߋI\x82\b%q\xef\x05\x9aGѤ\x04'\x80=\x8fu}\x11\vU\x12\xf7\xead`\xe3\x0fodv*Ը\x9e\x13\x1cۋ\xd4\x14\xd7_\x14U\x9bJҕ\xa2 \v\x87\x05\x86\xdf\xf3ݞ\xfc\xbfɖ\x98\xb0\xe0\xb3I\xb7\xb6F]\xbd\xcark1\x80\xe0\x88\xc0L{ \xb1\xa1Fe\xb8\xbe\xddo*\xf2z\f\x90\xac\xc9.\x18C*z\x1f\x03\xc7\xe7\xa15\xa3\xefO\xfc\xab2}\b\xd1\xde)|\x89\x11_\xa8\x85\x02\xe4g\x9b\x8d\x81\xcfU\xa2f\xe6*\xac݀z}\xf1,\x91?\xd8\x12\xe2\xe7\x11\xd7\x06\x98\xf8m\x02[a\x84\x06\x92\xe6t\xe5\xe0\xe3\f\x8d\xfe2p\xb4\xdcc+\xad\xab\xf8\xfcX\xc9\x12~\x98\x1fq2p,\x8bU\xc0`\x89`\xf5\v\xfe\xe0\v\xef\xac\x11\xc0\xebӣ\xdc4z\x04\xf0\xf2ئ&K\x18\xec\xaa@T}\xf6\x06f\x89\xb3Ó\x18\x05Nf\x1aL\xea\xc3,U\x83\xca\xd3[%wo\xc26\x03\xc7Y;\x17\xfe\x1cq\x9d\x01\xb2\x11\xbd\xbb\x9fTo\xe5\xb3\xd7z\x89>\xb6\f\xee[\x82\xae\x9b\x92\xcc\r\x1d#\x14f>\nPt\x0f\xa3f{\xa6\xb9\xb1\xd6~\xccm\xb0?PR\xec\aOIS\xa4:T\xc8?7\x90\xd6ؘ\xb7\xb4\xf30e\x1c\xf6*b\xb2\xd8Z\xaa\f\x9e\xda.\x84\xf1\xa1\x16\t\xe8\xe1t}\xd1\xe0\xee?\xea\x98M]T6\xc4\xf9\xac\x82!\xae\xabU3\xeb\x15\x1a\xc1\x04aS\xfeģ\x90\xc6\a\xb9\xb9\b\xb5\xde\x06\x9boe.\xf2\x00=Iɟ|ԯ\x87\x884+m\x1b;\x88\xfc\xb7$\xa9\xcd4\xee)\x1c\xea\xd2\aw\xfc\xba\xc2\xd9H\xc2\xcb\x04\xddÍ\xe1\x98Y\x8a<\x1e#q\xc0\xcd\xf4\xa0.8\xf97\x04\x8f\xa9@\x93\x1d\x18\x17\xda\u007f*\x04\xf6g\xa9!\ng\xb2\xe1\x990,\x8c\x000\xee\x00\x91\x917;\xcf\nz\xfed3_I>\xf5`Oѧ\x15\x11K\xe1\x0e\x12\xbeƺJ\x19\x88\xb4Ust\xa6\x19hR\fB5o\x1d]v\xb3z\x16uTT'n\xafq#5b\xc164Y\xec\xed$\xda\xe0\xdb\xd3yA:\n&\x94\xb8!\xd6\xd2J\xdd@\xcf?G\xef˓\x9c\xe3\xed\x04\xa3`\na\xd1\xe2\x826s\xe5\"5oJ\x81\xa3\xadrs\a\x87\u007f\xd8c\xa72\x80H\xec\xc5g6\xa1\xa7\x88\x17S\x86g\x9f\x04\xb0Po\xb2Ќ\bs5\x1a\nX\xe0\x1f\xce>\x8fK\x06\x1f\xbb\xf0A\xed\xa8Y\x81\x81zFm\x9f\xac\xf7C\xd3\xefǯ\xe5\x9cD#-\xfc\x8cW\xeeF\xe5o,'\x01\xb4K-\x8d\x9c\xe1\x88\xf5Ũmu\xb3\x9e\xea\xb8\xc7.l\x93\x93d\x15>\x06\xc8r\xba>k\x97\x11\x1dÞ\x98\xf7\x8d\xe7\x15P\xd5q\xbcj\xefo+\xad\x03\\]\x95\xcb!E\x12\xbf\xfaA\xb5-\xbfFGejֆ\xde\xef=v\xe3\xfd;e8\x85OƮ\x8d\xe0t\x89\"Gu\xcf&\x8en&r\xf8ZB\x9e\xaeě\t\x9e\xa2W\x9b\xe6\xb4\xe9\xc1\xef[X\xbe\x9a>\xc0l\xc9\xde\xc5\u05f6T\xec*\x13\x82\xa7\rF\xa7?\x99\xfc\\\x81\xd1HPX\xd7\xdcu\xf7\xf0~\x18E\xa0\xfbi\xeci\xe3\xf7\xa4\xfbg9\xab\u007f_\nˇ\r\\\xb1\x92\xa2\xfb\x98\x87(\xe8\xd4\xd8\x06\xde\x05\xe1\xe9\xf9\x1c6\x03\xc3\xdf=£\x8fNtL\xe0\xf2\xf3\x9aI)xF\x8f\xf7\x1cq\n5\xb9}^νޡ\x04\xe5\x89C0\xcexb\x9dVI繲\x18ݥǽ\x99?\xab\xa4\x13\xd6Ŵ\x80\xaa\xde\xc30\x03\xaa\x1c\xf9\xd4$\xd8\x01N\xdd\x13\xe8\x81Գ\xac$`\xea\xc5\x05\x19\x0f\x13/p\xdbC\x82\xabY\xfa\xc1.\x1b\xb5j\x96$\x12e\xc1^]\x11\xc6ǂ\x91t\xbdW\x820\x8c\xf9\xbbO\xbb\xbe\xe7\xf4\xa5\xc8;\xbf*d\xabd:g\xbbO\x97\x10\xb1\xd4!Sv\xc3\x14\x1eF\xab\x8cm<\xadf)x^\x14\x97W\xad\xca;\x04\xa2\x02\xf8\xbb\xfc\xe2\x8d\xe7\xc7\xca\xcb\xc3)y(d\xec(-X\x89\x1c#\x11\xa8~\xad\x8e\x1f\xbcC\xb9\x01\x14S~\xcf\a\nXh\xec\xc8\x11\x03\xb18\xfe\xc4\x0fN\x96|\x04\xc8\x18o\x8c\xdb\xf6\xc7Ų\xe0\xa7\x16\x9b\x96\xe0\xf0\x99\xfb\xf8\x04\x14>N\x9cR)\xa7\xa4\xa2\x1f\xf9\x16\x14\xe0\"\x01\xf3\x9f\xdd\xe7\x16\xc1\xedc4\xe5\xf0\x15\x96\xb0\xbb\xdb\v\x1a)\xbb\xfe\xe66\xf0\xd3\x16\xb4ԑ\xd4鋐\xb2`\xaa\xf7*\xab\x95|\xfc\xfb\xae\x91\xd4_\x93\x8c|\x983|P\xb6\t\u05ec\x8e\xa3\xde!\x1b\xeb\x88VДᐪt*]\x9e\xd7\a\xf5:a\xe1C\x16lW)4Ԉ]G\x1c\xd2cA\xc1)^s\x9f\xe7\xfa\x13\xbd\xe3\x04\x96&\xcey耼\xb1\x183\xcc¬\x8ft\xf6\xee\x19\x1f\\\xcc5\xe9\xf0b.\xba\xb8;F4\x13\xae\xb2[\x19\xba{r\x11\xd5\xe3\xd3\x1d\xf6{J<+\xc3\\\x88\xe1\xf8\x1eQ\xc9x\xef:$\"\x0eK\xd7\xf66\x1dz|\xae\xe4Rw'\xad\xc63J\xc2*@\x1fJl\xb4z\x11\xbfK%W_5\x06-,oIm\xebt\xa6\blu>\xbb\x99)\xa7\xddUV3\xd3\xed\x18\x19<\x9c\x14ɋ/\xb41\x9f\x8cDd\xe4h\xd6\x17\xac\x82\x00\xea~\xc3K\xffw\xdaXֵ\x1a\xbaC\xe7\xb1\xf9\x12\x0e\x1a\x89\x04;b\xf5\xe3\xf0v\x8drU\xdb:\x0f8V\x8f\x10\x8ee1\x99\xe0\xd7\xc2\x17\x9a\xdaav\v\xee\xbb\xf2\xa0D\xca\x04'\xa5\x92ʖ\xa9tf\xc4Y\x9c\x0e\x90V\x1e\u05cfhĕ\xeb]'$\xcb:\xe1\x81\xef\xfdÁ{\xc5\xfcnB^\xe3\xefſ\xc5x\u007f\xfb\U000bbe0dO*\xe1\xb1\v\\\xa1\x88\xfa皷Ӭk\xb1\xf0\x0e~\xdd\x06\xfd\xe21\xaf\xaa\xfc\xd9K\xfe?\xa7`XR\x87V\xb0Ni\n\xa1!9|2\r\x80ڰ\xdaQ:\xa8\xbb\x83\xb4\x1eH\xa7\xec\x1d/Ѧ\xf1\x14{+\xf1\x19\x127\xc0\xae\x83\xb5\xb8_t\xf0\xd1%O\x83rB\xbb\r\x12\xff\xf2\x87\x88Ƀ\xaa\x88\xf0H\nq\x8dۣ=\xae\xcf2\x111Ya-ާs\xf6D\xb8U\x9bd\x94N&F\"L\xb2\x89D\xeb2\xf0\xde#\xf2,\x98\x1f\x03\xb2\x18\x15 oO\v\x82\xaeR]<\xa8\xa4:\xaa\xf6\x04\x1f\xb4\x8fF\xc1~\x94ҋ\x95\\\x9b\xa2\x19\xd6\xd9ŵXU\x15\x9f\x0e\xf4ZKS\x123!sމ\\\xcdBv\xd2CK\xe0\xe7\xef\x06\xe7\xd9\xca£\xbb\xaa\x8c\xa9\\B\xef\xe1y\xe6\x84z\xecL=ODު\x1dS\n\xed\xf0o#z\x0e>\x12Z-܆\x8eo\xf1\xf2\xf2\xe6\b\x00\xd8\x1d\x10\xc9\xcb\xfe\x1f\x0ej\x02׃\a#` \xea[\x8b\x12\xba%\xf8\t\xd8H\xcb\x1c\xc8\xd2\xd79\xafJ\x1d\xe2\x12,*\v\xccW]\xa4,\xf1k\xe8<\xb3Mwe\x9d\xcbW0\x98\xe10,=\x99\xa7]\x81[C\x8d\xdeLL\x0f/|\xaf#٦\xfa\xe7\fIݬ\x8b\xd8%\x1c\xd5<\x94^\x82)բl\xe3R\xab\x82\x97\xaa\u007fKK'\x89\x15\x18Z\xc1\xdf1\x06\x87\x8d\f&X\xa8vw\xb8\x9c\xf8PW\xecQE\x11\x84ګ-`\xd7좕\x81\xcb\x00\x1c\rZCq\x17\x93q#p`\xa0\x97\x84%\x0f6\xfem\xe8\xea\xebP\xcb\xd0\x02-\xa2K\xfd3\x9a\xbam$\xf1\x0fB\xeb\x18\xf7\xcb!\x0eA\xbd|\xff\xb8\xa2\x1enO\xc2Ys\xaf\x90\x84\xc2A\xabg\x04Q\xf5\x8b\v\xb9u4\xc0\xb1\xccLF\xceW\"T\xae\xe9\xa9\xc1لU\xae,\xef/kKo\xac\xb4\xa7ӈ\x12\x83\x02\xf0\xb7\x9c\f\x81\xec\xfb\x16\x9a|\x02\x89ӭo\xcem\u0381\r\x80WL\xa6\x14ҏ\x93\x8b\x88\x12\x1f$\x8dm,>\x01\xce Ph\xacR|\xb5\xcf\xe2\f\xe6\xad(\xec\xd8\xc29\x02\xbe[\xefiʔ\x01s\xbdT\xeb\xf16\t\xc3\xf4\x83Y\xbe\xe4~\xd1\x0e\x87æ\xf4=\xa7\xb2nmM\x92C\x1e\xeeV\\\xdf@\xc2L\x9dns\xb5\xb5\xd1f\xdb\x03pm8\xfdL\xb8\x9c\x934\x88\xc1\xb4ϧ^\x12\x13\x11\\\xe7G\x13Hy\x98\xf5\x82ND{\xef\xcb\xd7\xf4J>\v\x81\v\xe2>\xbf\xf1]! Ϋ\x00ǁk둷\xd8\x11\xf9\x93\xe0\x9fM\x8a\xa9\xc1AB\xdf|\xf2y\f\xb2\x85\x93\x02,\x91#\xe3㌨\xc0P\x1f\xe0\x11r㶥\x00'-\x1b\x13w\xc4i\xb4+S\xe1\xf3z\xdei\xae%-\xc5\xfe-\xbc\xbe\x06\x9d\x9bq\x11\xe7FA\xf7&\xc0\xd8_\xf7z\x95o9\xa0P{\\\xde\x16\xb4n\xe8'\x8a\x89%\xffx&\x88-\x9cz\xa7\xa7\x14\xf6>\xc0K\t\x1a\v-&!Icu\xa2O\x02,z\xc4\xe1\xec_Sʗ\xee\xe8\xb7\x10S\u007f\x9c\x8a\x9b\xbe>\xce\xfd\xe9/\x1ab\xbf\x94?\xbd\xdf\x1a\x816쐏\x9a\xcb\xd1 \x1a\x9b\xe9f\xf7]\xa1\xbc \x11\xe0|\xd1ȳi\xc6C\x92eӠv\xf5\xc0\x97\x93\xee\xec%\xc5]\xb8pW\x0e)\x9e\xf9Q\r\a3\x14X\x82\xea[\x11w\x81&9\xc0s\xcf`\xba\bW\xef\xceR\f3\xdbK\x0e\"v\x12\xe70T\xe2͐p\xf0ce\x14\xc1\xb1z\x9bM1\xa2\x18O\xee!\xca\xf6?\xa0@h\x01\xa8\x04L\xa5\x90݂)D\xef\x9c\xd3\tȜ\xd6כ\xae\xa3\x92\x10h0w\xde/\x82\xa7+x\xf5Q\x95\u007f\b\x10\xf8\xc1\xf8\x8c\xb5\U00105557\xc8.\xd8\xce\n\xafZ\x90}\x8f\xa8ڧ\x9f\x8e\xeb\x14\xee\xcd'\no\xf0\a\xcc6s\xa5\xd2\x11\x9d\x88\x85T\xc9\x026\xbf\x99\x98ශ.\x88~\xc2\xee\x95\xd1O-J+\xddx\x8d\xeb~7. \xa1w$\xdd\x10\x00\x9e\x9f\xd6I\t\x90a\x93\xe6\xa2_\x8fXpc\xcbKd\x94\xb0\xfb\x02\xf8\x89\xc0\u007f\xe38O\x88b\xc7\xffs\x94\xb1dm\x91|\x9f\xa7Bj\x94\xe9\xe7I\n\xc7\xc3i\x12\x108\nR\xbe\xeb\x10\x82\x1d\at\x8a\xf42\xf3\xf2j\xbe\xaf\xb4\x04\x94\xbf\xcb\f\xa7L\x97\xcaa\r\x9e\xa9\x01ak\xb1\xa4)\xf3\x9b\xbcu\x8b\xd3\x17\xc2\x00(\xd2|\xf2\x83\x81OY8\x14\xee\x16a\xf3\x85\x95\x11B\x9fA\xe2z\xe1V{\b\x1c\xaa&x\x17%\xe6?\xc8g\xe1yX\x8c\x96\x9d5\xdb\x10\x1bY\xee\x9f\x0e\x06P\x80ZEg\xa3\x8a\f\xb9\x1d\xc1\xb6\x88=\x97)\x9b\x1e\xbb\x86\x1c3\xd6\x10\x04H\xe6/0\xcf+\xfd\xf2x\xf4\xc0m\xd1\x0f\x06\xbc\xa4\u007f\xd0 g\xacni9S\xa1=D\xac`\xf9n\x06\xb5\x85f\x82\xffg\xeb\xfe\xf5\x8f\xb8\xb6\x8d\xff\xdaC\\L\x06\x1a\xb69\xaf\xa6Al\xd6\xda\xc8b\a\xb8ֆ\xd0\xed\x8da\xac\x98\xe0\xe2\fv\xff\xfc\xdcmj\xbd\x89\xa3\x06\x99\xab$\x00\xae`\xb4eN\x97\xdbR99\x1cr$\x89\xf6\xcf\x1c\x8e\xee \xc84\x0fC[\xc6Q\xa8\xe5\xf4rÖ\x06P\xbf˥\x19\xa7~3\x99B\U0005afb2\\\xa5ؖ\x95\x88\tnJB\xe0#\xe9\xc1\xf5\xd3X\r!)\xd8\xf1d\xe9\x8d%\xbd\xd6P\xb28\x93ނ\x1c;\x94\x97\xa75\\$\xbbHiY\xd5\xf4\xb2\xecadW˸\x06\\~\x1eեq9\x19\xb5\xcbk\xab\xf2-\xda\x00\x1fL\x85d\xaa\xc4zh\xb0\xa5o\xc0\x02n\xb3\xfe\xa3kv%j\xe7\r\x02\xeesBe\xeaL`\xef,\"\x88\x05\xcfZ\xee\x1f\xcc,yg@?cᐶ\x14\x1f\xc3,~a\x8f\x83\x1f~)\x94e\x97o\x96;\xce\xdeUYĆ\x97\xe1@\xb62O{:>\xe3\v\x8b\xd2\x04KPih\x82yF\xb9\xa243a\x06*\x85mJ\xc0\xb3\xc1\xf5L\xd6Ӵ\x00cy=\xcb{{\xe9\xf5\x0f\x16px۔\x05U>\xbf\xa7F\xc7\xdc'\x91\u0086\xa4\xc5G#\xc6\u07bd]>\f\x81\x8d\x9bD=\xc9\xf6\x022\xb2\xba;\x92\xf7Y\x02(w\xaaM\xa8\xf6r;N{\xf8\x8b\xae2\xdd\xed_\xfdui\x83\x03\xb8\xbaT\xcf\x14pU\xfa^-\xd8#Q\"\x11D\x19\x85Et\xbc\x1a\xb9#-\x94\tF\xbd\xbbMWLEG\xf4\xf4\xd0\xc5\x0ev\x1a\xe7\xbdW\xc8\xea\x1c9\v\xa1\xf3h\xac\x19\xf8G\xfc7\xd0\xe4E\xd9\xca\xf6\xc0\x17\x06SC\x87uM\a\n\x90D4\xd5\xce#\x95\xf9\xa7\xe4\xe8g\x88\xeb\xe9\x1c\x1bxM>\xbd\vb>$3^КE\xa1\x03n\x01\xb6\xd5f\xbdX\xb5\xdeZ\xa5\x0e\x13g\x17\x95\xb4\xd6\xe9\u007f\xb1Z!0\xddU\xfd\"7\r\xae\xa3'\xc5\xec\xe23\x85\xa6\x13\xb3O\xbc\x99:\xa4j\x1d?\xc7\x1a:\x95\x90v\xe5\x87\x06\\\x83f\x92\xe4FN5\xa9B\xaf\xe5\xa8K{iP`\x1a\xe24T^c\x80I\b,\x9e\xbb\xd0Бy\xad\xcc\xc9\xe3\xd7=<\xed`\x05\x17OC\xf7\x0f\"\xbb\x04\x02ͷ\x8a\x86\xf7\xc5\x05\xb4\x17\xa6\xcc\xd2ڔ\xf8\xd2?\xbf2\xef3\xe4\xd6\xe3*\x9e\x04\xd6\fW/\x02\xd0\xd0~\xb6I\xbd\x91#\xf8_\x9a\x82\x8a\xa2\x82\xbb\xc2q\xe8\x8e\xea\x9c{v\xb2y\x82OM\v\t\xfd\x1bG\xceB뼭\x16\xc1gs\x92`\x05㗜\xe8dFVp\xc3_\x10X\x83)\xd0\rK\x86iQ`E\x89\xa3\x99\x15C~\x15\xa2\xfe\x12Y\xd0Hy\x97Y\x06$8\xf2\xb3Ѕ\xa9\x17\xe8D\ris[\xe5\xe8?*\xca\xf2jE\xed\xc8\xf7\xee`\x12\x0fYL\xf1\xda\x1a&/[\x02\xc7\xf4{\x032Q<\xba#!J\x95\xeb^\x8e\x11\xf3\x14\xa1\xaa\xbf\xb4\x86\xb5\xbd\x9e\x02sW\\\"\x9c\xdb\xe0\xad+\x9b../mender-client_2.4.1-2_amd64.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/1795511 and its subdirectories I: Current time: Thu Jul 27 08:11:15 -12 2023 I: pbuilder-time-stamp: 1690488675 Thu Jul 27 20:11:18 UTC 2023 I: 1st build successful. Starting 2nd build on remote node ionos5-amd64.debian.net. Thu Jul 27 20:11:18 UTC 2023 I: Preparing to do remote build '2' on ionos5-amd64.debian.net. Thu Jul 27 20:17:06 UTC 2023 I: Deleting $TMPDIR on ionos5-amd64.debian.net. Thu Jul 27 20:17:07 UTC 2023 I: mender-client_2.4.1-2_amd64.changes: Format: 1.8 Date: Tue, 13 Apr 2021 21:20:55 +0200 Source: mender-client Binary: mender-client mender-client-dbgsym Architecture: amd64 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: e7543b4b9caf3ee80626d04a73b3fec874d9441f 2995160 mender-client-dbgsym_2.4.1-2_amd64.deb 31f779843a0d908ebe35eb07dcf03613d7456777 7031 mender-client_2.4.1-2_amd64.buildinfo 3db3dab4e45c1ccdcb34ded1dbe890bf0ef1f25e 2828124 mender-client_2.4.1-2_amd64.deb Checksums-Sha256: 9440fc597112a9a42b40db4bb888c745ad0edb238f08186f9a44ca24c311d83c 2995160 mender-client-dbgsym_2.4.1-2_amd64.deb 1c7e3a8c84b853cec36d70f164a0bea825470a1d4dfa47da587281baef7ecc0b 7031 mender-client_2.4.1-2_amd64.buildinfo 254455989d286aedbebe290f9ae6f08f8831f377a95044f519179c8371772dc6 2828124 mender-client_2.4.1-2_amd64.deb Files: 3f6507b3141fec9d740b317f28dae8c4 2995160 debug optional mender-client-dbgsym_2.4.1-2_amd64.deb c589e859df42ec80ac2d27f86f503bf5 7031 devel optional mender-client_2.4.1-2_amd64.buildinfo 240399de44be06d07b628d66653c4581 2828124 devel optional mender-client_2.4.1-2_amd64.deb Thu Jul 27 20:17:10 UTC 2023 I: diffoscope 243 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.GjSjc2yL/mender-client_2.4.1-2.diffoscope.html --text /srv/reproducible-results/rbuild-debian/r-b-build.GjSjc2yL/mender-client_2.4.1-2.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/r-b-build.GjSjc2yL/mender-client_2.4.1-2.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/r-b-build.GjSjc2yL/b1/mender-client_2.4.1-2_amd64.changes /srv/reproducible-results/rbuild-debian/r-b-build.GjSjc2yL/b2/mender-client_2.4.1-2_amd64.changes ## command (total time: 0.000s) 0.000s 1 call cmp (internal) ## has_same_content_as (total time: 0.000s) 0.000s 1 call abc.DotChangesFile ## main (total time: 1.251s) 1.251s 2 calls outputs 0.000s 1 call cleanup ## recognizes (total time: 0.958s) 0.958s 12 calls diffoscope.comparators.binary.FilesystemFile 0.000s 10 calls abc.DotChangesFile ## specialize (total time: 0.001s) 0.001s 1 call specialize Thu Jul 27 20:17:13 UTC 2023 I: diffoscope 243 found no differences in the changes files, and a .buildinfo file also exists. Thu Jul 27 20:17:13 UTC 2023 I: mender-client from bullseye built successfully and reproducibly on amd64. Thu Jul 27 20:17:16 UTC 2023 I: Submitting .buildinfo files to external archives: Thu Jul 27 20:17:17 UTC 2023 I: Submitting 8.0K b1/mender-client_2.4.1-2_amd64.buildinfo.asc Thu Jul 27 20:17:19 UTC 2023 I: Submitting 8.0K b2/mender-client_2.4.1-2_amd64.buildinfo.asc Thu Jul 27 20:17:20 UTC 2023 I: Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit. Thu Jul 27 20:17:20 UTC 2023 I: Done submitting .buildinfo files. Thu Jul 27 20:17:20 UTC 2023 I: Removing signed mender-client_2.4.1-2_amd64.buildinfo.asc files: removed './b1/mender-client_2.4.1-2_amd64.buildinfo.asc' removed './b2/mender-client_2.4.1-2_amd64.buildinfo.asc'