Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/m/mender-client/mender-client_2.4.1-2+b3_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/mender-client-2.4.1-2+b3kgk46am2/mender-client_2.4.1-2+b3_amd64.buildinfo Get source package info: mender-client=2.4.1-2 Source URL: http://snapshot.notset.fr/mr/package/mender-client/2.4.1-2/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-14 automake=1:1.16.3-2 autopoint=0.21-4 autotools-dev=20180224.1+nmu1 base-files=11.1 base-passwd=3.5.51 bash=5.1-3 binutils=2.35.2-2 binutils-common=2.35.2-2 binutils-x86-64-linux-gnu=2.35.2-2 bsdextrautils=2.36.1-7 bsdutils=1:2.36.1-7 build-essential=12.9 bzip2=1.0.8-4 ca-certificates=20210119 coreutils=8.32-4+b1 cpp=4:10.2.1-1 cpp-10=10.2.1-6 dash=0.5.11+git20210120+802ebd4-1 debconf=1.5.77 debhelper=13.3.4 debianutils=4.11.2 dh-autoreconf=20 dh-golang=1.51 dh-strip-nondeterminism=1.12.0-1 diffutils=1:3.7-5 dpkg=1.20.9 dpkg-dev=1.20.9 dwz=0.14-1 file=1:5.39-3 findutils=4.8.0-1 g++=4:10.2.1-1 g++-10=10.2.1-6 gcc=4:10.2.1-1 gcc-10=10.2.1-6 gcc-10-base=10.2.1-6 gettext=0.21-4 gettext-base=0.21-4 golang-1.15-go=1.15.9-6 golang-1.15-src=1.15.9-6 golang-any=2:1.15~1 golang-github-bmatsuo-lmdb-go-dev=1.8.0+git20170215.a14b5a3-2 golang-github-cespare-xxhash-dev=2.1.1-1 golang-github-cpuguy83-go-md2man-v2-dev=2.0.0+ds-5 golang-github-davecgh-go-spew-dev=1.1.1-2 golang-github-klauspost-compress-dev=1.11.7-2 golang-github-klauspost-pgzip-dev=1.2.5-1 golang-github-mendersoftware-mender-artifact-dev=3.4.0-1 golang-github-mendersoftware-openssl-dev=1.1.0-2 golang-github-minio-sha256-simd-dev=0.1.1-1 golang-github-pkg-errors-dev=0.9.1-1 golang-github-pmezard-go-difflib-dev=1.0.0-3 golang-github-remyoudompheng-go-liblzma-dev=0.0~git20190506.81bf2d4-3 golang-github-russross-blackfriday-v2-dev=2.0.1-3 golang-github-shurcool-sanitized-anchor-name-dev=1.0.0-1 golang-github-sirupsen-logrus-dev=1.7.0-2 golang-github-stretchr-objx-dev=0.3.0-1 golang-github-stretchr-testify-dev=1.6.1-2 golang-github-ungerik-go-sysfs-dev=0.0~git20190613.7f098dd-1 golang-github-urfave-cli-dev=1.22.4-2 golang-go=2:1.15~1 golang-golang-x-crypto-dev=1:0.0~git20201221.eec23a3-1 golang-golang-x-net-dev=1:0.0+git20210119.5f4716e+dfsg-4 golang-golang-x-sys-dev=0.0~git20210124.22da62e-1 golang-golang-x-term-dev=0.0~git20201210.2321bbc-1 golang-golang-x-text-dev=0.3.6-1 golang-gopkg-yaml.v3-dev=3.0.0~git20200121.a6ecf24-3 golang-logrus-dev=1.3.0-1 golang-src=2:1.15~1 grep=3.6-1 groff-base=1.22.4-6 gzip=1.10-4 hostname=3.23 init-system-helpers=1.60 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-10 libarchive-zip-perl=1.68-1 libasan6=10.2.1-6 libatomic1=10.2.1-6 libattr1=1:2.4.48-6 libaudit-common=1:3.0-2 libaudit1=1:3.0-2 libbinutils=2.35.2-2 libblkid1=2.36.1-7 libbz2-1.0=1.0.8-4 libc-bin=2.31-13 libc-dev-bin=2.31-13 libc6=2.31-13 libc6-dev=2.31-13 libcap-ng0=0.7.9-2.2+b1 libcc1-0=10.2.1-6 libcom-err2=1.46.2-2 libcrypt-dev=1:4.4.18-4 libcrypt1=1:4.4.18-4 libctf-nobfd0=2.35.2-2 libctf0=2.35.2-2 libdb5.3=5.3.28+dfsg1-0.8 libdebconfclient0=0.260 libdebhelper-perl=13.3.4 libdpkg-perl=1.20.9 libelf1=0.183-3 libffi7=3.3-6 libfile-stripnondeterminism-perl=1.12.0-1 libgcc-10-dev=10.2.1-6 libgcc-s1=10.2.1-6 libgcrypt20=1.8.7-6 libgdbm-compat4=1.19-2 libgdbm6=1.19-2 libglib2.0-0=2.66.8-1 libgmp10=2:6.2.1+dfsg-1 libgomp1=10.2.1-6 libgpg-error0=1.38-2 libgssapi-krb5-2=1.18.3-5 libicu67=67.1-7 libisl23=0.23-1 libitm1=10.2.1-6 libk5crypto3=1.18.3-5 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-5 libkrb5support0=1.18.3-5 liblsan0=10.2.1-6 liblz4-1=1.9.3-2 liblzma-dev=5.2.5-2 liblzma5=5.2.5-2 libmagic-mgc=1:5.39-3 libmagic1=1:5.39-3 libmount1=2.36.1-7 libmpc3=1.2.0-1 libmpfr6=4.1.0-3 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libpam-modules=1.4.0-9 libpam-modules-bin=1.4.0-9 libpam-runtime=1.4.0-9 libpam0g=1.4.0-9 libpcre2-8-0=10.36-2 libpcre3=2:8.39-13 libperl5.32=5.32.1-4 libpipeline1=1.5.3-1 libquadmath0=10.2.1-6 libseccomp2=2.5.1-1 libselinux1=3.1-3 libsigsegv2=2.13-1 libsmartcols1=2.36.1-7 libssl-dev=1.1.1k-1 libssl1.1=1.1.1k-1 libstdc++-10-dev=10.2.1-6 libstdc++6=10.2.1-6 libsub-override-perl=0.09-2 libsystemd0=247.3-5 libtinfo6=6.2+20201114-2 libtirpc-common=1.3.1-1 libtirpc-dev=1.3.1-1 libtirpc3=1.3.1-1 libtool=2.4.6-15 libtsan0=10.2.1-6 libubsan1=10.2.1-6 libuchardet0=0.0.7-1 libudev1=247.3-5 libunistring2=0.9.10-4 libuuid1=2.36.1-7 libxml2=2.9.10+dfsg-6.7 libzstd1=1.4.8+dfsg-2.1 linux-libc-dev=5.10.46-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-5 make=4.3-4.1 man-db=2.9.4-2 mawk=1.3.4.20200120-2 ncurses-base=6.2+20201114-2 ncurses-bin=6.2+20201114-2 openssl=1.1.1k-1 patch=2.7.6-7 perl=5.32.1-4 perl-base=5.32.1-4 perl-modules-5.32=5.32.1-4 pkg-config=0.29.2-1 po-debconf=1.0.21+nmu1 sed=4.7-1 sensible-utils=0.0.14 sysvinit-utils=2.96-7 tar=1.34+dfsg-1 util-linux=2.36.1-7 xz-utils=5.2.5-2 zlib1g=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210720T154042Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d mender-client=2.4.1-2 && mkdir -p /build/mender-client-SEfUnR && dpkg-source --no-check -x /*.dsc /build/mender-client-SEfUnR/mender-client-2.4.1 && cd /build/mender-client-SEfUnR/mender-client-2.4.1 && { printf '%s' 'mender-client (2.4.1-2+b3) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Rebuild against golang-1.15 1.15.9-6 -- all / amd64 / i386 Build Daemon (x86-conova-01) Sun, 18 Jul 2021 11:15:19 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/mender-client-SEfUnR" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/mender-client-SEfUnR/mender-client-2.4.1 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1626606919" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/mender-client-SEfUnR /tmp/mender-client-2.4.1-2+b3kgk46am2 bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20210720T154042Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.EIq2fJiqMO as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.EIq2fJiqMO Reading package lists... Building dependency tree... util-linux is already the newest version (2.36.1-7). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20210720T154042Z unstable/main amd64 libfakeroot amd64 1.25.3-1.1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210720T154042Z unstable/main amd64 fakeroot amd64 1.25.3-1.1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (1113 kB/s) Selecting previously unselected package libfakeroot:amd64. (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 ... 4667 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.3-1.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.3-1.1_amd64.deb ... Unpacking fakeroot (1.25.3-1.1) ... Setting up libfakeroot:amd64 (1.25.3-1.1) ... Setting up fakeroot (1.25.3-1.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-13) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210720T154042Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.EIq2fJiqMO Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20210720T154042Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Fetched 22.6 MB in 20s (1151 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.EIq2fJiqMO I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d mender-client=2.4.1-2 && mkdir -p /build/mender-client-SEfUnR && dpkg-source --no-check -x /*.dsc /build/mender-client-SEfUnR/mender-client-2.4.1 && cd /build/mender-client-SEfUnR/mender-client-2.4.1 && { printf '%s' 'mender-client (2.4.1-2+b3) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Rebuild against golang-1.15 1.15.9-6 -- all / amd64 / i386 Build Daemon (x86-conova-01) Sun, 18 Jul 2021 11:15:19 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/mender-client-SEfUnR"' exec /tmp/mmdebstrap.EIq2fJiqMO Reading package lists... NOTICE: 'mender-client' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/go-team/packages/mender-client.git Please use: git clone https://salsa.debian.org/go-team/packages/mender-client.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 216 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main mender-client 2.4.1-2 (dsc) [2565 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main mender-client 2.4.1-2 (tar) [204 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main mender-client 2.4.1-2 (diff) [9724 B] Fetched 216 kB in 0s (784 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'mender-client_2.4.1-2.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting mender-client in /build/mender-client-SEfUnR/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: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/mender-client-SEfUnR/mender-client-2.4.1 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1626606919" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.EIq2fJiqMO dpkg-buildpackage: info: source package mender-client dpkg-buildpackage: info: source version 2.4.1-2+b3 dpkg-buildpackage: info: source distribution sid dpkg-buildpackage: info: source changed by all / amd64 / i386 Build Daemon (x86-conova-01) 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-arch dh build-arch --buildsystem=golang --with=golang dh_update_autotools_config -a -O--buildsystem=golang dh_autoreconf -a -O--buildsystem=golang dh_auto_configure -a -O--buildsystem=golang debian/rules override_dh_auto_build make[1]: Entering directory '/build/mender-client-SEfUnR/mender-client-2.4.1' dh_auto_build -O--buildsystem=golang -- \ -ldflags "-X github.com/mendersoftware/mender/conf.Version=2.4.1-2+b3" cd obj-x86_64-linux-gnu && go install -trimpath -v -p 4 -ldflags "-X github.com/mendersoftware/mender/conf.Version=2.4.1-2+b3" 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 runtime/internal/sys internal/cpu runtime/internal/atomic internal/race runtime/internal/math sync/atomic unicode unicode/utf8 internal/bytealg math/bits internal/testlog encoding unicode/utf16 math crypto/internal/subtle crypto/subtle vendor/golang.org/x/crypto/cryptobyte/asn1 runtime internal/nettrace github.com/bmatsuo/lmdb-go/internal/lmdbarch runtime/cgo container/list vendor/golang.org/x/crypto/internal/subtle golang.org/x/sys/internal/unsafeheader github.com/shurcooL/sanitized_anchor_name internal/reflectlite sync math/rand internal/singleflight errors sort internal/oserror io strconv syscall vendor/golang.org/x/net/dns/dnsmessage bytes strings reflect hash hash/crc32 bufio internal/syscall/unix time internal/syscall/execenv crypto crypto/internal/randutil github.com/mendersoftware/openssl/utils crypto/hmac crypto/rc4 vendor/golang.org/x/crypto/hkdf vendor/golang.org/x/text/transform path golang.org/x/text/transform regexp/syntax internal/poll context internal/fmtsort os encoding/binary github.com/remyoudompheng/go-liblzma regexp encoding/base64 fmt crypto/cipher crypto/sha512 crypto/aes crypto/des compress/flate encoding/json math/big compress/gzip crypto/ed25519/internal/edwards25519 crypto/md5 crypto/sha1 crypto/sha256 encoding/hex encoding/pem path/filepath net net/url crypto/dsa crypto/elliptic encoding/asn1 crypto/rand crypto/ed25519 vendor/golang.org/x/crypto/cryptobyte crypto/rsa crypto/x509/pkix io/ioutil log vendor/golang.org/x/crypto/chacha20 crypto/ecdsa vendor/golang.org/x/crypto/poly1305 github.com/bmatsuo/lmdb-go/lmdb vendor/golang.org/x/sys/cpu vendor/golang.org/x/crypto/curve25519 vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/http2/hpack mime vendor/golang.org/x/net/idna mime/quotedprintable net/http/internal github.com/pkg/errors golang.org/x/sys/unix github.com/davecgh/go-spew/spew github.com/pmezard/go-difflib/difflib github.com/stretchr/objx crypto/x509 net/textproto vendor/golang.org/x/net/http/httpproxy vendor/golang.org/x/net/http/httpguts mime/multipart github.com/sirupsen/logrus crypto/tls gopkg.in/yaml.v3 flag runtime/debug golang.org/x/text/unicode/bidi golang.org/x/text/secure/bidirule golang.org/x/text/unicode/norm golang.org/x/net/http2/hpack os/user net/http/httptrace net/http golang.org/x/net/idna golang.org/x/net/http/httpguts github.com/klauspost/compress/flate github.com/klauspost/pgzip archive/tar github.com/minio/sha256-simd os/exec github.com/mendersoftware/mender-artifact/artifact github.com/mendersoftware/mender-artifact/utils github.com/ungerik/go-sysfs github.com/mendersoftware/mender-artifact/handlers github.com/mendersoftware/mender/system github.com/mendersoftware/mender-artifact/areader github.com/mendersoftware/mender/utils log/syslog github.com/mendersoftware/openssl net/http/httptest golang.org/x/net/http2 github.com/stretchr/testify/assert github.com/stretchr/testify/mock github.com/sirupsen/logrus/hooks/syslog github.com/mendersoftware/mender/log/syslog html github.com/russross/blackfriday/v2 text/tabwriter text/template/parse github.com/cpuguy83/go-md2man/v2/md2man text/template golang.org/x/term golang.org/x/crypto/ssh/terminal os/signal github.com/mendersoftware/mender/system/testing github.com/mendersoftware/mender-artifact/awriter github.com/urfave/cli github.com/stretchr/testify/require runtime/trace testing 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/client/test github.com/mendersoftware/mender/statescript 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-SEfUnR/mender-client-2.4.1' debian/rules override_dh_auto_test make[1]: Entering directory '/build/mender-client-SEfUnR/mender-client-2.4.1' dh_auto_test || true cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 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.288s === RUN TestNewAuthManager --- PASS: TestNewAuthManager (0.00s) === RUN TestAuthManager --- PASS: TestAuthManager (2.33s) === RUN TestAuthManagerRequest --- PASS: TestAuthManagerRequest (1.27s) === RUN TestAuthManagerResponse --- PASS: TestAuthManagerResponse (0.00s) === RUN TestDaemon time="2021-10-14T07:57:08Z" level=info msg="State transition: init [none] -> init [none]" --- PASS: TestDaemon (0.00s) === RUN TestDaemonCleanup daemon_test.go:182: PASS: Close() time="2021-10-14T07:57:08Z" 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="2021-10-14T07:59:39Z" level=info msg="Forcing state machine to: update-check" === RUN TestDaemonRun/testing_state_machine_interrupt_functionality_-_inventoryUpdate_state time="2021-10-14T07:59:40Z" 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.01s) === RUN TestLogManagerInit --- PASS: TestLogManagerInit (0.00s) === RUN TestLogManagerCheckEnableDisable time="2021-10-14T07:59:40Z" level=info msg="Running Mender client version: unknown" --- PASS: TestLogManagerCheckEnableDisable (0.00s) === RUN TestLogManagerCheckLogging time="2021-10-14T07:59:40Z" level=info msg="Running Mender client version: unknown" --- PASS: TestLogManagerCheckLogging (0.02s) === RUN TestLogManagerLogRotation time="2021-10-14T07:59:40Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T07:59:40Z" level=info msg="Running Mender client version: unknown" --- PASS: TestLogManagerLogRotation (0.00s) === RUN TestEnabligLogsNoSpceForStoringLogs --- PASS: TestEnabligLogsNoSpceForStoringLogs (0.00s) === RUN TestDeploymentLoggingHook time="2021-10-14T07:59:40Z" level=info msg=test1 time="2021-10-14T07:59:40Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T07:59:40Z" level=debug msg=test2 time="2021-10-14T07:59:40Z" level=info msg=test3 time="2021-10-14T07:59:40Z" level=info msg="{\"level\":\"info\",\"message\":\"Running Mender client version: unknown\",\"timestamp\":\"2021-10-14T07:59:40Z\"}\n{\"level\":\"debug\",\"message\":\"test2\",\"timestamp\":\"2021-10-14T07:59:40Z\"}\n" --- PASS: TestDeploymentLoggingHook (0.00s) === RUN TestGetLogs time="2021-10-14T07:59:40Z" level=info msg="Running Mender client version: unknown" --- PASS: TestGetLogs (0.00s) === RUN TestFindLogFiles --- PASS: TestFindLogFiles (0.00s) === RUN TestMenderError --- PASS: TestMenderError (0.00s) === RUN Test_getArtifactName_noArtifactNameInFile_returnsEmptyName time="2021-10-14T07:59:40Z" level=debug msg="Private key does not exist" time="2021-10-14T07:59:40Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2021-10-14T07:59:40Z" level=debug msg="Returning artifact name from artifact_info file." time="2021-10-14T07:59:40Z" 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="2021-10-14T07:59:40Z" level=debug msg="Private key does not exist" time="2021-10-14T07:59:40Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2021-10-14T07:59:40Z" level=debug msg="Returning artifact name from artifact_info file." time="2021-10-14T07:59:40Z" level=debug msg="Reading data from the device manifest file: artifact_info" time="2021-10-14T07:59:40Z" level=debug msg=artifact_name time="2021-10-14T07:59:40Z" level=error msg="Broken device manifest file: ([artifact_name])" --- PASS: Test_getArtifactName_malformedArtifactNameLine_returnsError (0.00s) === RUN Test_getArtifactName_haveArtifactName_returnsName time="2021-10-14T07:59:40Z" level=debug msg="Private key does not exist" time="2021-10-14T07:59:40Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2021-10-14T07:59:40Z" level=debug msg="Returning artifact name from artifact_info file." time="2021-10-14T07:59:40Z" level=debug msg="Reading data from the device manifest file: artifact_info" time="2021-10-14T07:59:40Z" level=debug msg="artifact_name=mender-image" time="2021-10-14T07:59:40Z" level=debug msg="Current manifest data: mender-image" --- PASS: Test_getArtifactName_haveArtifactName_returnsName (0.00s) === RUN Test_ForceBootstrap time="2021-10-14T07:59:40Z" level=debug msg="Private key does not exist" time="2021-10-14T07:59:40Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2021-10-14T07:59:40Z" level=debug msg="Needs keys" time="2021-10-14T07:59:40Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2021-10-14T07:59:41Z" level=info msg="Device keys not present or bootstrap forced, generating" --- PASS: Test_ForceBootstrap (1.81s) === RUN Test_Bootstrap time="2021-10-14T07:59:42Z" level=debug msg="Private key does not exist" time="2021-10-14T07:59:42Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2021-10-14T07:59:42Z" level=debug msg="Needs keys" time="2021-10-14T07:59:42Z" level=debug msg="Needs keys" time="2021-10-14T07:59:42Z" level=info msg="Device keys not present or bootstrap forced, generating" --- PASS: Test_Bootstrap (0.57s) === RUN Test_BootstrappedHaveKeys time="2021-10-14T07:59:44Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" --- PASS: Test_BootstrappedHaveKeys (1.21s) === RUN Test_BootstrapError time="2021-10-14T07:59:44Z" level=error msg="Failed to load device keys: disabled" time="2021-10-14T07:59:44Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2021-10-14T07:59:44Z" level=error msg="Error loading authentication for HTTP client: fatal error: failed to cache authorization code: failed to read auth token data: disabled" time="2021-10-14T07:59:44Z" level=debug msg="Private key does not exist" time="2021-10-14T07:59:44Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2021-10-14T07:59:44Z" level=debug msg="Needs keys" time="2021-10-14T07:59:44Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2021-10-14T07:59:44Z" level=error msg="Failed to save device key: read only" --- PASS: Test_BootstrapError (0.27s) === RUN Test_CheckUpdateSimple time="2021-10-14T07:59:44Z" level=debug msg="Private key does not exist" time="2021-10-14T07:59:44Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2021-10-14T07:59:44Z" level=debug msg="Returning artifact name from file." time="2021-10-14T07:59:44Z" level=error msg="could not get the current Artifact name" time="2021-10-14T07:59:44Z" level=debug msg="Private key does not exist" time="2021-10-14T07:59:44Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2021-10-14T07:59:44Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-315733611/artifact_info file." time="2021-10-14T07:59:44Z" level=error msg="could not get the current Artifact name" time="2021-10-14T07:59:44Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-315733611/artifact_info file." time="2021-10-14T07:59:44Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-315733611/artifact_info" time="2021-10-14T07:59:44Z" level=debug msg="artifact_name=fake-id" time="2021-10-14T07:59:44Z" level=debug msg="Current manifest data: fake-id" time="2021-10-14T07:59:44Z" level=debug msg="DEVICE_TYPE=hammer" time="2021-10-14T07:59:44Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-315733611/artifact_info file." time="2021-10-14T07:59:44Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-315733611/artifact_info" time="2021-10-14T07:59:44Z" level=debug msg="artifact_name=fake-id" time="2021-10-14T07:59:44Z" level=debug msg="Current manifest data: fake-id" time="2021-10-14T07:59:44Z" level=debug msg="DEVICE_TYPE=hammer" time="2021-10-14T07:59:44Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-315733611/device_type" time="2021-10-14T07:59:44Z" level=debug msg="device_type=hammer" time="2021-10-14T07:59:44Z" level=debug msg="Current manifest data: hammer" time="2021-10-14T07:59:44Z" 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]] 0xc000216100 50 [] false 127.0.0.1:40421 map[] map[] map[] 127.0.0.1:58066 /api/devices/v1/deployments/device/deployments/next 0xc000216140}" time="2021-10-14T07:59:44Z" level=debug msg="device provides not accepted by the server. Response code: 400" time="2021-10-14T07:59:44Z" 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:40421 map[] map[] map[] 127.0.0.1:58068 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0xc000114080}" time="2021-10-14T07:59:44Z" 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:40421 map[] map[] map[] 127.0.0.1:58068 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0xc000114080}" time="2021-10-14T07:59:44Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[hammer]]" time="2021-10-14T07:59:44Z" level=debug msg="Received response:200 OK" time="2021-10-14T07:59:44Z" level=debug msg="Have update available" time="2021-10-14T07:59:44Z" level=info msg="Correct request for getting image from: http://127.0.0.1:40421/download [name: fake-id; devices: [vexpress]]" time="2021-10-14T07:59:44Z" level=debug msg="Received update response: {{{http://127.0.0.1:40421/download } [vexpress] [] fake-id map[]} foo [] 0 false}" time="2021-10-14T07:59:44Z" level=info msg="Attempting to upgrade to currently installed artifact name, not performing upgrade." time="2021-10-14T07:59:44Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-315733611/artifact_info file." time="2021-10-14T07:59:44Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-315733611/artifact_info" time="2021-10-14T07:59:44Z" level=debug msg="artifact_name=fake-id" time="2021-10-14T07:59:44Z" level=debug msg="Current manifest data: fake-id" time="2021-10-14T07:59:44Z" level=debug msg="DEVICE_TYPE=hammer" time="2021-10-14T07:59:44Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-315733611/device_type" time="2021-10-14T07:59:44Z" level=debug msg="device_type=hammer" time="2021-10-14T07:59:44Z" level=debug msg="Current manifest data: hammer" time="2021-10-14T07:59:44Z" 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]] 0xc000114200 50 [] false 127.0.0.1:40421 map[] map[] map[] 127.0.0.1:58068 /api/devices/v1/deployments/device/deployments/next 0xc000114240}" time="2021-10-14T07:59:44Z" level=debug msg="device provides not accepted by the server. Response code: 400" time="2021-10-14T07:59:44Z" 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:40421 map[] map[] map[] 127.0.0.1:58070 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0xc0002163c0}" time="2021-10-14T07:59:44Z" 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:40421 map[] map[] map[] 127.0.0.1:58070 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0xc0002163c0}" time="2021-10-14T07:59:44Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[hammer]]" time="2021-10-14T07:59:44Z" level=debug msg="Received response:200 OK" time="2021-10-14T07:59:44Z" level=debug msg="Have update available" time="2021-10-14T07:59:44Z" level=info msg="Correct request for getting image from: http://127.0.0.1:40421/download [name: fake-id-fake; devices: [vexpress]]" time="2021-10-14T07:59:44Z" level=debug msg="Received update response: {{{http://127.0.0.1:40421/download } [vexpress] [] fake-id-fake map[]} foo [] 0 false}" time="2021-10-14T07:59:44Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-315733611/artifact_info file." time="2021-10-14T07:59:44Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-315733611/artifact_info" time="2021-10-14T07:59:44Z" level=debug msg="artifact_name=fake-id" time="2021-10-14T07:59:44Z" level=debug msg="Current manifest data: fake-id" time="2021-10-14T07:59:44Z" level=debug msg="DEVICE_TYPE=hammer" time="2021-10-14T07:59:44Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-315733611/device_type" time="2021-10-14T07:59:44Z" level=debug msg="device_type=hammer" time="2021-10-14T07:59:44Z" level=debug msg="Current manifest data: hammer" time="2021-10-14T07:59:44Z" 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]] 0xc000021e00 50 [] false 127.0.0.1:40421 map[] map[] map[] 127.0.0.1:58070 /api/devices/v1/deployments/device/deployments/next 0xc000021e40}" time="2021-10-14T07:59:44Z" level=debug msg="device provides not accepted by the server. Response code: 400" time="2021-10-14T07:59:44Z" 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:40421 map[] map[] map[] 127.0.0.1:58072 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0xc000021f40}" time="2021-10-14T07:59:44Z" 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:40421 map[] map[] map[] 127.0.0.1:58072 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0xc000021f40}" time="2021-10-14T07:59:44Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[hammer]]" time="2021-10-14T07:59:44Z" level=debug msg="Received response:204 No Content" time="2021-10-14T07:59:44Z" level=debug msg="No update available" time="2021-10-14T07:59:44Z" level=debug msg="no updates available" --- PASS: Test_CheckUpdateSimple (0.02s) === RUN TestMenderGetUpdatePollInterval time="2021-10-14T07:59:44Z" level=debug msg="Private key does not exist" time="2021-10-14T07:59:44Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" --- PASS: TestMenderGetUpdatePollInterval (0.00s) === RUN TestMenderGetInventoryPollInterval time="2021-10-14T07:59:44Z" level=debug msg="Private key does not exist" time="2021-10-14T07:59:44Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" --- PASS: TestMenderGetInventoryPollInterval (0.00s) === RUN TestMenderAuthorize time="2021-10-14T07:59:44Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2021-10-14T07:59:44Z" level=debug msg="Needs keys" time="2021-10-14T07:59:44Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2021-10-14T07:59:44Z" level=error msg="Empty server list! Make sure at least one serveris specified in /etc/mender/mender.conf" time="2021-10-14T07:59:44Z" level=info msg="authorization data present and valid, skipping authorization attempt" time="2021-10-14T07:59:44Z" level=info msg="authorization data present and valid, skipping authorization attempt" time="2021-10-14T07:59:44Z" level=info msg="authorization data present and valid, skipping authorization attempt" time="2021-10-14T07:59:44Z" level=debug msg="Needs keys" time="2021-10-14T07:59:44Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2021-10-14T07:59:44Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:40667" time="2021-10-14T07:59:44Z" 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:40667 map[] map[] map[] 127.0.0.1:36528 /api/devices/v1/authentication/auth_requests 0xc0003147c0}" time="2021-10-14T07:59:44Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Thu, 14 Oct 2021 07:59:44 GMT]] 0xc00030eb60 0 [] false false map[] 0xc00003d000 }" time="2021-10-14T07:59:44Z" level=debug msg="Needs keys" time="2021-10-14T07:59:44Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2021-10-14T07:59:44Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:40667" time="2021-10-14T07:59:44Z" 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:40667 map[] map[] map[] 127.0.0.1:36528 /api/devices/v1/authentication/auth_requests 0xc0003149c0}" time="2021-10-14T07:59:44Z" 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, 14 Oct 2021 07:59:44 GMT]] 0xc00030efe0 6 [] false false map[] 0xc00003d400 }" time="2021-10-14T07:59:44Z" level=debug msg="Receive response data" time="2021-10-14T07:59:44Z" level=debug msg="Received response data: [102 111 111 98 97 114]" time="2021-10-14T07:59:44Z" level=debug msg="Needs keys" time="2021-10-14T07:59:44Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2021-10-14T07:59:44Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:40667" time="2021-10-14T07:59:44Z" 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:40667 map[] map[] map[] 127.0.0.1:36528 /api/devices/v1/authentication/auth_requests 0xc000314cc0}" time="2021-10-14T07:59:44Z" 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, 14 Oct 2021 07:59:44 GMT]] 0xc00030f4e0 6 [] false false map[] 0xc00003d800 }" time="2021-10-14T07:59:44Z" level=debug msg="Receive response data" time="2021-10-14T07:59:44Z" level=debug msg="Received response data: [102 111 111 98 97 114]" time="2021-10-14T07:59:44Z" level=info msg="successfully received new authorization data" --- PASS: TestMenderAuthorize (0.00s) === RUN TestMenderReportStatus time="2021-10-14T07:59:44Z" level=debug msg="Private key does not exist" time="2021-10-14T07:59:44Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2021-10-14T07:59:44Z" level=info msg="authorization data present and valid, skipping authorization attempt" time="2021-10-14T07:59:44Z" 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]] 0xc000314e40 21 [] false 127.0.0.1:36565 map[] map[] map[] 127.0.0.1:41926 /api/devices/v1/deployments/device/deployments/foobar/status 0xc000314e80}" time="2021-10-14T07:59:44Z" level=info msg="request for foobar/status" time="2021-10-14T07:59:44Z" 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]] 0xc000314e40 21 [] false 127.0.0.1:36565 map[] map[] map[] 127.0.0.1:41926 /api/devices/v1/deployments/device/deployments/foobar/status 0xc000314e80}" time="2021-10-14T07:59:44Z" level=debug msg="Status reported, response 204 No Content" time="2021-10-14T07:59:44Z" 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]] 0xc000114480 21 [] false 127.0.0.1:36565 map[] map[] map[] 127.0.0.1:41926 /api/devices/v1/deployments/device/deployments/foobar/status 0xc0001144c0}" time="2021-10-14T07:59:44Z" level=info msg="request for foobar/status" time="2021-10-14T07:59:44Z" 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]] 0xc000114480 21 [] false 127.0.0.1:36565 map[] map[] map[] 127.0.0.1:41926 /api/devices/v1/deployments/device/deployments/foobar/status 0xc0001144c0}" time="2021-10-14T07:59:44Z" level=error msg="bad token, got Bearer tokendata expected footoken" time="2021-10-14T07:59:44Z" level=info msg="Device unauthorized; attempting reauthorization" time="2021-10-14T07:59:44Z" level=debug msg="Needs keys" time="2021-10-14T07:59:44Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2021-10-14T07:59:45Z" level=debug msg="Tenant token: " time="2021-10-14T07:59:45Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAy4vv+wZ9Gtif8cgkELxb\nUUuh801kLVv6suj8RfylSnDqg2VPLdrLRXZ56K/pBe0q/XmZfDpeYmdnW6b2iJQ9\nwOriGOHBuR3pcvB8Gnp3+0MUNyrokgcv2zla8R3LRZWsISMorriOhnfLz3Umo8AA\nK99r6U3WWDGnRTGXofipCPpvKeMNAtX7pErQooJPmz6D208i4r7ywAoyVreXL3Eu\nC7nalbfW888z7i3PerZd0JQZA2ISaqjBgF1Rr32pFjL2DlTu7ZjP/xmEY4QYBG5i\npHwhMrg2FK9qFwDwvTe7mEn6tuSeLUQcNYeLlmTGCfiXIG/m5ZGhiGIBeadUtm8O\n11TDymYt6uxLchG2ow7N/hmqYnNfaGP25cBPbIMGYBGkNUnWbtXx1kT+sx9SKQN1\nY56Fxupyiy+p61VW6QKPu4ZTBjnO4yPv/GH/IEYq7rh/TIxQ7L47glRXxoEHjNlb\nTCUGQHgkCttX85ZOz2MK4I1iDsu/VXwOuGDVkB7qAV4LAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2021-10-14T07:59:45Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:36565" time="2021-10-14T07:59:45Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[f2QqugpKgjB4yAAOMNqGJRDvdZ8gdk8FlF21rDyLcZ8lHJJ4BRBQq3DlAgdjX9xsrYNCCFMGI5zyt/zzBRrhjjeDgRmiWz9FMgjryInyiKLusvBfkiTCiPpLRCnDuaRSb6KTGWxvr0+7FQm/LUB97Wja6qMT11n7ACcvkmY/dzoutK0/Wyxb3FbM0HmiQzwKdJjTD4eo8RhEzlHgUZ0UDd+2Foxt8/eCRzNKN71+0rv548O/FblbKcZPbAMUTLwc0ptaAwHVipZhsf6Xh0VrNHdu/F7OsLTAqIx/dy8AxSjz2u0zTJwQ0FZQe6kBwIjPab/A349uO/jkoquxh3Oxwnac7Kcs1CuKrtNJDh6vqwei6OihKyD3i1xvOIimVlmT2Cs7E/NznWLgWhw57M0gRaZ6k4a3DRPppVYQHld16eb+JIxfHkNgY44ocMkIBCn2AuAF14acV19A4Pwo5cb+fA+z+C+RNEyjwkjGIVePHF1Jdr/+0jkmB6uf/6qWJaD3]] 0xc000114600 701 [] false 127.0.0.1:36565 map[] map[] map[] 127.0.0.1:41926 /api/devices/v1/authentication/auth_requests 0xc000114640}" time="2021-10-14T07:59:45Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Thu, 14 Oct 2021 07:59:45 GMT]] 0xc000111900 0 [] false false map[] 0xc0001d6d00 }" time="2021-10-14T07:59:45Z" level=warning msg="Reauthorization failed with error: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: failed to parse server response: EOF" time="2021-10-14T07:59:45Z" level=error msg="Got unexpected HTTP status when reporting status: 401" time="2021-10-14T07:59:45Z" level=error msg="error reporting update status: (request_id: ): reporting status failed, bad status 401 server error message: failed to parse server response: EOF" time="2021-10-14T07:59:45Z" 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]] 0xc0001146c0 21 [] false 127.0.0.1:36565 map[] map[] map[] 127.0.0.1:41926 /api/devices/v1/deployments/device/deployments/foobar/status 0xc000114700}" time="2021-10-14T07:59:45Z" level=info msg="request for foobar/status" time="2021-10-14T07:59:45Z" 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]] 0xc0001146c0 21 [] false 127.0.0.1:36565 map[] map[] map[] 127.0.0.1:41926 /api/devices/v1/deployments/device/deployments/foobar/status 0xc000114700}" time="2021-10-14T07:59:45Z" level=error msg="bad authorization value: Bearer" time="2021-10-14T07:59:45Z" level=info msg="Device unauthorized; attempting reauthorization" time="2021-10-14T07:59:45Z" level=debug msg="Tenant token: " time="2021-10-14T07:59:45Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAy4vv+wZ9Gtif8cgkELxb\nUUuh801kLVv6suj8RfylSnDqg2VPLdrLRXZ56K/pBe0q/XmZfDpeYmdnW6b2iJQ9\nwOriGOHBuR3pcvB8Gnp3+0MUNyrokgcv2zla8R3LRZWsISMorriOhnfLz3Umo8AA\nK99r6U3WWDGnRTGXofipCPpvKeMNAtX7pErQooJPmz6D208i4r7ywAoyVreXL3Eu\nC7nalbfW888z7i3PerZd0JQZA2ISaqjBgF1Rr32pFjL2DlTu7ZjP/xmEY4QYBG5i\npHwhMrg2FK9qFwDwvTe7mEn6tuSeLUQcNYeLlmTGCfiXIG/m5ZGhiGIBeadUtm8O\n11TDymYt6uxLchG2ow7N/hmqYnNfaGP25cBPbIMGYBGkNUnWbtXx1kT+sx9SKQN1\nY56Fxupyiy+p61VW6QKPu4ZTBjnO4yPv/GH/IEYq7rh/TIxQ7L47glRXxoEHjNlb\nTCUGQHgkCttX85ZOz2MK4I1iDsu/VXwOuGDVkB7qAV4LAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2021-10-14T07:59:45Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:36565" time="2021-10-14T07:59:45Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[f2QqugpKgjB4yAAOMNqGJRDvdZ8gdk8FlF21rDyLcZ8lHJJ4BRBQq3DlAgdjX9xsrYNCCFMGI5zyt/zzBRrhjjeDgRmiWz9FMgjryInyiKLusvBfkiTCiPpLRCnDuaRSb6KTGWxvr0+7FQm/LUB97Wja6qMT11n7ACcvkmY/dzoutK0/Wyxb3FbM0HmiQzwKdJjTD4eo8RhEzlHgUZ0UDd+2Foxt8/eCRzNKN71+0rv548O/FblbKcZPbAMUTLwc0ptaAwHVipZhsf6Xh0VrNHdu/F7OsLTAqIx/dy8AxSjz2u0zTJwQ0FZQe6kBwIjPab/A349uO/jkoquxh3Oxwnac7Kcs1CuKrtNJDh6vqwei6OihKyD3i1xvOIimVlmT2Cs7E/NznWLgWhw57M0gRaZ6k4a3DRPppVYQHld16eb+JIxfHkNgY44ocMkIBCn2AuAF14acV19A4Pwo5cb+fA+z+C+RNEyjwkjGIVePHF1Jdr/+0jkmB6uf/6qWJaD3]] 0xc000314f80 701 [] false 127.0.0.1:36565 map[] map[] map[] 127.0.0.1:41926 /api/devices/v1/authentication/auth_requests 0xc000314fc0}" time="2021-10-14T07:59:45Z" 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, 14 Oct 2021 07:59:45 GMT]] 0xc00030fba0 9 [] false false map[] 0xc00022ef00 }" time="2021-10-14T07:59:45Z" level=debug msg="Receive response data" time="2021-10-14T07:59:45Z" level=debug msg="Received response data: [116 111 107 101 110 100 97 116 97]" time="2021-10-14T07:59:45Z" 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]] 0xc000216b40 21 [] false 127.0.0.1:36565 map[] map[] map[] 127.0.0.1:41926 /api/devices/v1/deployments/device/deployments/foobar/status 0xc000216b80}" time="2021-10-14T07:59:45Z" level=info msg="request for foobar/status" time="2021-10-14T07:59:45Z" 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]] 0xc000216b40 21 [] false 127.0.0.1:36565 map[] map[] map[] 127.0.0.1:41926 /api/devices/v1/deployments/device/deployments/foobar/status 0xc000216b80}" time="2021-10-14T07:59:45Z" level=warning msg="Status report rejected, deployment aborted at the backend" time="2021-10-14T07:59:45Z" level=error msg="error reporting update status: (request_id: ): deployment was aborted server error message: failed to parse server response: EOF" --- PASS: TestMenderReportStatus (0.31s) === RUN TestMenderLogUpload time="2021-10-14T07:59:45Z" level=debug msg="Private key does not exist" time="2021-10-14T07:59:45Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2021-10-14T07:59:45Z" level=info msg="authorization data present and valid, skipping authorization attempt" time="2021-10-14T07:59:45Z" 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]] 0xc0005bf840 136 [] false 127.0.0.1:46161 map[] map[] map[] 127.0.0.1:52158 /api/devices/v1/deployments/device/deployments/foobar/log 0xc0005bf880}" time="2021-10-14T07:59:45Z" level=info msg="request for foobar/log" time="2021-10-14T07:59:45Z" 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]] 0xc0005bf840 136 [] false 127.0.0.1:46161 map[] map[] map[] 127.0.0.1:52158 /api/devices/v1/deployments/device/deployments/foobar/log 0xc0005bf880}" time="2021-10-14T07:59:45Z" level=info msg="got logs: [123 32 34 109 101 115 115 97 103 101 115 34 58 10 91 123 32 34 116 105 109 101 34 58 32 34 49 50 58 49 50 58 49 50 34 44 32 34 108 101 118 101 108 34 58 32 34 101 114 114 111 114 34 44 32 34 109 115 103 34 58 32 34 108 111 103 32 102 111 111 34 32 125 44 10 123 32 34 116 105 109 101 34 58 32 34 49 50 58 49 50 58 49 51 34 44 32 34 108 101 118 101 108 34 58 32 34 100 101 98 117 103 34 44 32 34 109 115 103 34 58 32 34 108 111 103 32 98 97 114 34 32 125 93 10 125]" time="2021-10-14T07:59:45Z" level=debug msg="Logs uploaded, response &{204 No Content 204 HTTP/1.1 1 1 map[Date:[Thu, 14 Oct 2021 07:59:45 GMT]] 0xc0002372a0 0 [] false false map[] 0xc00022f500 }" time="2021-10-14T07:59:45Z" 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]] 0xc000114840 136 [] false 127.0.0.1:46161 map[] map[] map[] 127.0.0.1:52158 /api/devices/v1/deployments/device/deployments/foobar/log 0xc000114880}" time="2021-10-14T07:59:45Z" level=info msg="request for foobar/log" time="2021-10-14T07:59:45Z" 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]] 0xc000114840 136 [] false 127.0.0.1:46161 map[] map[] map[] 127.0.0.1:52158 /api/devices/v1/deployments/device/deployments/foobar/log 0xc000114880}" time="2021-10-14T07:59:45Z" level=error msg="bad token, got Bearer tokendata expected footoken" time="2021-10-14T07:59:45Z" level=info msg="Device unauthorized; attempting reauthorization" time="2021-10-14T07:59:45Z" level=debug msg="Needs keys" time="2021-10-14T07:59:45Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2021-10-14T07:59:45Z" level=debug msg="Tenant token: " time="2021-10-14T07:59:45Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAzTW0eDhvXGrxBIc+K3st\n8HQa2Y3zP2Xq64aSYMj3A/DN6poXD/c5G7oMiPI6OLjsOKpAzt0KOl9RkSJ/34aS\n6g4gvLTMlSdgy84ZpSAWvuxTuOmBsPR2BuP612C/T8/C9pgK0Uv9qtEGInlHvJQD\nGE8MSJxNyxu4fZ3ecnW7iFaXGrcl9Bh9Hah+m7NeL6dKkLsB+O+QxABwIDBymHES\n/tucVArA7R3/5JgMqGpuELpQO2G0fq93nyS4PuYKw9tHW7MFSGqfomR0hQVgd4Ya\n6k/y9xEWI76d5mWQOPUaxx5WBurlFttfGXNaDCgZeOFGvqmR8h3sOXBuLY7rnuou\nRuGq0fqcawJPj84VtdvD9Le0JaCHnD9gvfoUZoIQke6Ad3wWVpk+gx4uKg5T7Jhk\nngYpZ0mb8th+ouwdvby0HGaRWjoxbELZxfrcVFvjK4oRxlFeevIexMIGOTYwrxgp\nDtCcWaoSkwD2jxfXaXlhkeWNJ9WG9NnJb3HZSgJVpv7DAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2021-10-14T07:59:45Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:46161" time="2021-10-14T07:59:45Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[F9vQz+Gg+28rhEpN4JT6zuVGXe6Qcah3o3FcSh5wQ4lwp/9139wakR/PwnhmJeqa/EjvIFIWt63OEIYPljWA6edEyxPnwCQO4o3NWtcKCKWxofgUytHcuzzkcSaAkAiUOVDHdZvwOAlI4qUfFTMj9h+u1Hn2KmThOm7EAvpOeoa8LcspVutxAByCY2TbRI//lwzHun0fDAePlG6/RuDPpNLHvtMhDh68IlzFmETl3ileL62TdrxiAWTbWBnuSNoSDJ4SitX1RB7icDSVH81LC1H3A469Mh/lZ7FMMu/9fly43MkTWofogCfLjbIJYFpMXVXHsMoQwBtSCBQR7fvN0hEEcRmYLDaI3yNoP5J+9xU/gTAzbz1o/P/4cst0pgSC9gwoYzRbSob4uTboecviA4j59Z3gSn37U8APEXQD5Np1iPCUveyt+C/it0nsEqKhOuYYsdzKt4V5SAeR8vyEcquJvdY4Rewi+K5qDQUUJI/Hi0SyO79mwAaG6vjbLYvk]] 0xc0005bfa00 701 [] false 127.0.0.1:46161 map[] map[] map[] 127.0.0.1:52158 /api/devices/v1/authentication/auth_requests 0xc0005bfa40}" time="2021-10-14T07:59:45Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Thu, 14 Oct 2021 07:59:45 GMT]] 0xc000237920 0 [] false false map[] 0xc00022fb00 }" time="2021-10-14T07:59:45Z" level=warning msg="Reauthorization failed with error: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: failed to parse server response: EOF" time="2021-10-14T07:59:45Z" level=error msg="Got unexpected HTTP status when uploading log: 401" time="2021-10-14T07:59:45Z" 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 (0.49s) === RUN TestAuthToken time="2021-10-14T07:59:45Z" level=debug msg="Private key does not exist" time="2021-10-14T07:59:45Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2021-10-14T07:59:45Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-793547470/artifact_info file." time="2021-10-14T07:59:45Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-793547470/artifact_info" time="2021-10-14T07:59:45Z" level=debug msg="artifact_name=fake-id" time="2021-10-14T07:59:45Z" level=debug msg="Current manifest data: fake-id" time="2021-10-14T07:59:45Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-793547470/device_type" time="2021-10-14T07:59:45Z" level=debug msg="device_type=foo-bar" time="2021-10-14T07:59:45Z" level=debug msg="Current manifest data: foo-bar" time="2021-10-14T07:59:45Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[51] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0xc000217480 51 [] false 127.0.0.1:44357 map[] map[] map[] 127.0.0.1:40260 /api/devices/v1/deployments/device/deployments/next 0xc0002174c0}" time="2021-10-14T07:59:45Z" level=debug msg="device provides not accepted by the server. Response code: 400" time="2021-10-14T07:59:45Z" 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:44357 map[] map[] map[] 127.0.0.1:40262 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=foo-bar 0xc0005bfb80}" time="2021-10-14T07:59:45Z" 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:44357 map[] map[] map[] 127.0.0.1:40262 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=foo-bar 0xc0005bfb80}" time="2021-10-14T07:59:45Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[foo-bar]]" time="2021-10-14T07:59:45Z" level=info msg="Device unauthorized; attempting reauthorization" time="2021-10-14T07:59:45Z" level=debug msg="Needs keys" time="2021-10-14T07:59:45Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2021-10-14T07:59:46Z" level=debug msg="Tenant token: " time="2021-10-14T07:59:46Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAyITQOn1QkkrtHYKom8VX\nn+3HcDF/Ywt+3DavGt+EVrw/RJm59SHbbUSCUhaYFp2XrGfClBXBEvkwjy5qtD2o\nCGAj1ZTmD4+1c3jlPSvU1R8hEhSPJAem2fjZ12EzToNonIjvHxU6B7vePm8OziXt\nNCRshBJgBXzDhvrNhGzFk7y30gimIVbWQMHBBRxagx1WQWtly+UJqYcEgB6K9F36\n0gM4qT8FjBN9Oysqhbl4pEFKSMNj3wWfO/WK+CymiDO6whcr9Hoez+w7HC3mJJHU\nUlOZMXbVG/EIiiAvaiVmtiQrpJR1U1wMIiXZE/LVOfakpIDxYsu4T36YhhwqcH++\ncmAMtVocvbxX8pw8rjOUwVXyOMWMQANqzkICu/FqV1DgyrB+AaUHyYM1wk1tmBMW\nD+0zsVuKG4PlP962A35gqir/pXt4ka3PtiZFfr76TBWuu40O+jgiTUA0AbVWZ84o\nqf4azofd3jU+3hw9JtUnPHEygvADMyXNmnOqNJBK9TrpAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2021-10-14T07:59:46Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:44357" time="2021-10-14T07:59:46Z" 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:[busjKulqI/CRIfJab/kVtYMLXYToJor3kef5KGQouSgGBbX0P3GYt2i5Q/gDzlmTHgsxXvCRR7sPGEUP106sYZmTkiSwxKD240N2eJJMNzbXacP2ATHKGiAuQDWlS5Q/8EqITQ9SKwJ5g+ZuEulIxeOD2HiN9B1UAYY/bzr2tuPO7y9TVYXGGgsYnG4tA0TrmkqGBrT4ecntYgHJiAZGJPFlOidOQYVx/7FaaHUV2GdKR/f9747hwZA8AP5G1egvArh54roPWmN6qdPntQR+eqc4BybURiGdl477Z5U6lDcpKla/sc1UQudJjc4ulTtKDZR2Fc3VRSHgRu6aPRaMXBPC5xL7bVtTtoZFFIgjckjc+IecVBibNEjMmbhpQ6Pj/IRdWzlmjs1CAKGhxkSruH5ZFwjl8ufz/+Go/23PpGWDrxuVamWWg7wFo5UC0DQUXBrhxxFMrnGyXluwcU/h9pGx55VwC+DyKYUVSRv2IfiCYm9jASUmUsqJ7GnEAIZb]] 0xc0002177c0 701 [] false 127.0.0.1:44357 map[] map[] map[] 127.0.0.1:40262 /api/devices/v1/authentication/auth_requests 0xc000217800}" time="2021-10-14T07:59:46Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Thu, 14 Oct 2021 07:59:46 GMT]] 0xc00038e4c0 0 [] false false map[] 0xc00043e100 }" time="2021-10-14T07:59:46Z" level=warning msg="Reauthorization failed with error: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: failed to parse server response: EOF" time="2021-10-14T07:59:46Z" level=debug msg="Received response:401 Unauthorized" time="2021-10-14T07:59:46Z" level=warning msg="Client not authorized to get update schedule." time="2021-10-14T07:59:46Z" 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.14s) === RUN TestMenderInventoryRefresh time="2021-10-14T07:59:46Z" level=debug msg="Private key does not exist" time="2021-10-14T07:59:46Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2021-10-14T07:59:46Z" level=info msg="authorization data present and valid, skipping authorization attempt" time="2021-10-14T07:59:46Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-913727445/artifact_info file." time="2021-10-14T07:59:46Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-913727445/artifact_info" time="2021-10-14T07:59:46Z" level=debug msg="artifact_name=fake-id" time="2021-10-14T07:59:46Z" level=debug msg="Current manifest data: fake-id" time="2021-10-14T07:59:46Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-913727445/device_type" time="2021-10-14T07:59:46Z" level=debug msg="device_type=foo-bar" time="2021-10-14T07:59:46Z" level=debug msg="Current manifest data: foo-bar" time="2021-10-14T07:59:46Z" 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]] 0xc000315480 137 [] false 127.0.0.1:38429 map[] map[] map[] 127.0.0.1:38088 /api/devices/v1/inventory/device/attributes 0xc0003154c0}" time="2021-10-14T07:59:46Z" level=info msg="got attrs: [{device_type foo-bar} {artifact_name fake-id} {mender_client_version unknown}]" time="2021-10-14T07:59:46Z" level=debug msg="Inventory update sent, response &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Thu, 14 Oct 2021 07:59:46 GMT]] 0xc0002bfa20 0 [] false false map[] 0xc00043e600 }" time="2021-10-14T07:59:46Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-913727445/artifact_info file." time="2021-10-14T07:59:46Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-913727445/artifact_info" time="2021-10-14T07:59:46Z" level=debug msg="artifact_name=fake-id" time="2021-10-14T07:59:46Z" level=debug msg="Current manifest data: fake-id" time="2021-10-14T07:59:46Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-913727445/device_type" time="2021-10-14T07:59:46Z" level=debug msg="device_type=foo-bar" time="2021-10-14T07:59:46Z" level=debug msg="Current manifest data: foo-bar" time="2021-10-14T07:59:46Z" 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]] 0xc000315580 166 [] false 127.0.0.1:38429 map[] map[] map[] 127.0.0.1:38088 /api/devices/v1/inventory/device/attributes 0xc0003155c0}" time="2021-10-14T07:59:46Z" level=info msg="got attrs: [{foo bar} {device_type foo-bar} {artifact_name fake-id} {mender_client_version unknown}]" time="2021-10-14T07:59:46Z" level=debug msg="Inventory update sent, response &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Thu, 14 Oct 2021 07:59:46 GMT]] 0xc00043a7e0 0 [] false false map[] 0xc00028f400 }" time="2021-10-14T07:59:46Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-913727445/artifact_info file." time="2021-10-14T07:59:46Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-913727445/artifact_info" time="2021-10-14T07:59:46Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-913727445/artifact_info file." time="2021-10-14T07:59:46Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-913727445/artifact_info" --- PASS: TestMenderInventoryRefresh (0.00s) === RUN TestMenderStoreUpdate time="2021-10-14T07:59:46Z" level=debug msg="Private key does not exist" time="2021-10-14T07:59:46Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2021-10-14T07:59:46Z" level=error msg="Unable to verify the existing hardware. Update will continue anyway: : open /tmp/mender-install-update-557399247/device_type: no such file or directory" time="2021-10-14T07:59:46Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:59:46Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" time="2021-10-14T07:59:46Z" level=error msg="Unable to verify the existing hardware. Update will continue anyway: : open /tmp/mender-install-update-557399247/device_type: no such file or directory" time="2021-10-14T07:59:46Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:59:46Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" time="2021-10-14T07:59:46Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-557399247/device_type" time="2021-10-14T07:59:46Z" level=debug msg="device_type=bogusdevicetype" time="2021-10-14T07:59:46Z" level=debug msg="Current manifest data: bogusdevicetype" time="2021-10-14T07:59:46Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:59:46Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" time="2021-10-14T07:59:46Z" level=debug msg="Checking if device [bogusdevicetype] is on compatible device list: [vexpress-qemu]\n" time="2021-10-14T07:59:46Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-557399247/device_type" time="2021-10-14T07:59:46Z" level=debug msg="device_type=vexpress-qemu" time="2021-10-14T07:59:46Z" level=debug msg="Current manifest data: vexpress-qemu" time="2021-10-14T07:59:46Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:59:46Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" time="2021-10-14T07:59:46Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" time="2021-10-14T07:59:46Z" level=debug msg="Installer: Successfully read artifact [name: mender-1.1; version: 2; compatible devices: [vexpress-qemu]]" time="2021-10-14T07:59:46Z" level=debug msg="Private key does not exist" time="2021-10-14T07:59:46Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2021-10-14T07:59:46Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-557399247/device_type" time="2021-10-14T07:59:46Z" level=debug msg="device_type=vexpress-qemu" time="2021-10-14T07:59:46Z" level=debug msg="Current manifest data: vexpress-qemu" time="2021-10-14T07:59:46Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:59:46Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" time="2021-10-14T07:59:46Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" time="2021-10-14T07:59:46Z" level=debug msg="Installer: Successfully read artifact [name: mender-1.1; version: 2; compatible devices: [vexpress-qemu]]" --- PASS: TestMenderStoreUpdate (0.08s) === RUN TestMenderFetchUpdate time="2021-10-14T07:59:46Z" level=debug msg="Private key does not exist" time="2021-10-14T07:59:46Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2021-10-14T07:59:46Z" level=info msg="authorization data present and valid, skipping authorization attempt" time="2021-10-14T07:59:46Z" level=warning msg="RetryPollIntervalSeconds is not defined" time="2021-10-14T07:59:46Z" 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:34497 map[] map[] map[] 127.0.0.1:51664 /api/devices/v1/download 0xc000020040}" time="2021-10-14T07:59:46Z" 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, 14 Oct 2021 07:59:46 GMT]] 0xc00043ac00 8192 [] false false map[] 0xc00003c200 }+" --- PASS: TestMenderFetchUpdate (0.00s) === RUN TestReauthorization time="2021-10-14T07:59:46Z" level=debug msg="Private key does not exist" time="2021-10-14T07:59:46Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2021-10-14T07:59:46Z" level=debug msg="Needs keys" time="2021-10-14T07:59:46Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2021-10-14T07:59:48Z" level=debug msg="Tenant token: " time="2021-10-14T07:59:48Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAqZaWArzSoR9PRwBH5aZS\nq1I4/hax0amcFP1bO5D5FF/jqXW2/FVE54vSflTz/OnNd5s5VsWpwKV0vWuwnDya\nMypOID9A5A65ELlGftIcrE3wKCpBXyPSgoWuIDrsoynJjsIhAyzVjwm9j3wqK40i\nRVSNRI/Ipdm9KPCWpWcKAfcQYUYNOLoVqhUcIhlkc1ikD+9tyZ4eXyRo3T3vUvOM\nB1HWwIPfJPGXtEWm4XVS/vhc7/8H009CX+nmvH3fGCkJwMtcyBbAnsSRDwQwZi0L\nj0groLCWooG4lmAsBXkiTvEZE5baRTFLurZoKgqf7j4lDdSjZNlAXiAa71W6L2gQ\naK4esFc3ggSq3sTgvCb6I7Qhj3biGZRTMVIm4XoiV0btVys20oLIwFr9CRIsK+/R\nSIeGlYeBi+jq/SRU6zd4cI6vb/74oXlLnn+JOc/vFJIE2DobPGD92DffCA8oBA/4\nfg4Q5E/I2TJY4pef+HEGGQmLhFen6LfW6HsWdAJjVzizAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2021-10-14T07:59:48Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:43907" time="2021-10-14T07:59:48Z" 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:[OxkLCri4rA2ZKKkdNljWAAeyyvih8d9qHyEGg8x0K0sfJ7pr9Qchy696E1ka/zGZ5kfgRbS1J2fQjVq94cgLSuJRG85UkyK4VcuNob4mUdM1vhjN1BFrjypoP6BN0X3DK4p/Pn/prd4DYR9WMmJVdkg32MshuzCJo+G8rFTNDi8kzNd/RulLCQdn49MjUi0Ksn9MMrAzBQUwy/4oY9B8fSZhMgMroNsMc9HvHl7ABBfP4+dsXyMrvSV7VX/3D0i+1uSB4JhCHfEOWHpjnBhj4vtdgtRFa9URzDlANDkcNtJxwI6qnysGY0//2ZcnX2ybS3sJMo0Op9DK/zONQPbatyR5oPgHuGHM7GprEB32LWarcKENW9qZOwSfDi0J4/HGVCSlKlCWphEoaieRvsMdZkLBglVFvu7ezw9iEfLEtORjq4B/KEeipWpmRsioJUZxsViGquwtAjYVIhWXxPXXp5sD2OnsJYKZvFKC9e0im0sovqzVlcJJDoSwoSHWOvgP]] 0xc000114000 701 [] false 127.0.0.1:43907 map[] map[] map[] 127.0.0.1:38038 /api/devices/v1/authentication/auth_requests 0xc000114040}" time="2021-10-14T07:59:48Z" 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, 14 Oct 2021 07:59:48 GMT]] 0xc0001100a0 3 [] false false map[] 0xc00024a100 }" time="2021-10-14T07:59:48Z" level=debug msg="Receive response data" time="2021-10-14T07:59:48Z" level=debug msg="Received response data: [102 111 111]" time="2021-10-14T07:59:48Z" level=info msg="successfully received new authorization data" time="2021-10-14T07:59:48Z" level=debug msg="Returning artifact name from artifact_info file." time="2021-10-14T07:59:48Z" level=debug msg="Reading data from the device manifest file: artifact_info" time="2021-10-14T07:59:48Z" level=debug msg="artifact_name=mender-image" time="2021-10-14T07:59:48Z" level=debug msg="Current manifest data: mender-image" time="2021-10-14T07:59:48Z" level=debug msg="Reading data from the device manifest file: device_type" time="2021-10-14T07:59:48Z" level=debug msg="device_type=dev" time="2021-10-14T07:59:48Z" level=debug msg="Current manifest data: dev" time="2021-10-14T07:59:48Z" 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]] 0xc000020040 52 [] false 127.0.0.1:43907 map[] map[] map[] 127.0.0.1:38038 /api/devices/v1/deployments/device/deployments/next 0xc000020180}" time="2021-10-14T07:59:48Z" level=error msg="bad token, got Bearer foo expected bar" time="2021-10-14T07:59:48Z" level=info msg="Device unauthorized; attempting reauthorization" time="2021-10-14T07:59:48Z" level=debug msg="Tenant token: " time="2021-10-14T07:59:48Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAqZaWArzSoR9PRwBH5aZS\nq1I4/hax0amcFP1bO5D5FF/jqXW2/FVE54vSflTz/OnNd5s5VsWpwKV0vWuwnDya\nMypOID9A5A65ELlGftIcrE3wKCpBXyPSgoWuIDrsoynJjsIhAyzVjwm9j3wqK40i\nRVSNRI/Ipdm9KPCWpWcKAfcQYUYNOLoVqhUcIhlkc1ikD+9tyZ4eXyRo3T3vUvOM\nB1HWwIPfJPGXtEWm4XVS/vhc7/8H009CX+nmvH3fGCkJwMtcyBbAnsSRDwQwZi0L\nj0groLCWooG4lmAsBXkiTvEZE5baRTFLurZoKgqf7j4lDdSjZNlAXiAa71W6L2gQ\naK4esFc3ggSq3sTgvCb6I7Qhj3biGZRTMVIm4XoiV0btVys20oLIwFr9CRIsK+/R\nSIeGlYeBi+jq/SRU6zd4cI6vb/74oXlLnn+JOc/vFJIE2DobPGD92DffCA8oBA/4\nfg4Q5E/I2TJY4pef+HEGGQmLhFen6LfW6HsWdAJjVzizAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2021-10-14T07:59:48Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:43907" time="2021-10-14T07:59:48Z" 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:[OxkLCri4rA2ZKKkdNljWAAeyyvih8d9qHyEGg8x0K0sfJ7pr9Qchy696E1ka/zGZ5kfgRbS1J2fQjVq94cgLSuJRG85UkyK4VcuNob4mUdM1vhjN1BFrjypoP6BN0X3DK4p/Pn/prd4DYR9WMmJVdkg32MshuzCJo+G8rFTNDi8kzNd/RulLCQdn49MjUi0Ksn9MMrAzBQUwy/4oY9B8fSZhMgMroNsMc9HvHl7ABBfP4+dsXyMrvSV7VX/3D0i+1uSB4JhCHfEOWHpjnBhj4vtdgtRFa9URzDlANDkcNtJxwI6qnysGY0//2ZcnX2ybS3sJMo0Op9DK/zONQPbatyR5oPgHuGHM7GprEB32LWarcKENW9qZOwSfDi0J4/HGVCSlKlCWphEoaieRvsMdZkLBglVFvu7ezw9iEfLEtORjq4B/KEeipWpmRsioJUZxsViGquwtAjYVIhWXxPXXp5sD2OnsJYKZvFKC9e0im0sovqzVlcJJDoSwoSHWOvgP]] 0xc0004a2000 701 [] false 127.0.0.1:43907 map[] map[] map[] 127.0.0.1:38038 /api/devices/v1/authentication/auth_requests 0xc0004a2040}" time="2021-10-14T07:59:48Z" 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, 14 Oct 2021 07:59:48 GMT]] 0xc0002be340 3 [] false false map[] 0xc0003f2100 }" time="2021-10-14T07:59:48Z" level=debug msg="Receive response data" time="2021-10-14T07:59:48Z" level=debug msg="Received response data: [98 97 114]" time="2021-10-14T07:59:48Z" 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]] 0xc0001143c0 52 [] false 127.0.0.1:43907 map[] map[] map[] 127.0.0.1:38038 /api/devices/v1/deployments/device/deployments/next 0xc000114400}" time="2021-10-14T07:59:48Z" level=debug msg="device provides not accepted by the server. Response code: 400" time="2021-10-14T07:59:48Z" 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:43907 map[] map[] map[] 127.0.0.1:38040 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc0001146c0}" time="2021-10-14T07:59:48Z" 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:43907 map[] map[] map[] 127.0.0.1:38040 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc0001146c0}" time="2021-10-14T07:59:48Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" time="2021-10-14T07:59:48Z" level=debug msg="Received response:204 No Content" time="2021-10-14T07:59:48Z" level=debug msg="No update available" time="2021-10-14T07:59:48Z" level=debug msg="no updates available" time="2021-10-14T07:59:48Z" level=debug msg="Returning artifact name from artifact_info file." time="2021-10-14T07:59:48Z" level=debug msg="Reading data from the device manifest file: artifact_info" time="2021-10-14T07:59:48Z" level=debug msg="artifact_name=mender-image" time="2021-10-14T07:59:48Z" level=debug msg="Current manifest data: mender-image" time="2021-10-14T07:59:48Z" level=debug msg="Reading data from the device manifest file: device_type" time="2021-10-14T07:59:48Z" level=debug msg="device_type=dev" time="2021-10-14T07:59:48Z" level=debug msg="Current manifest data: dev" time="2021-10-14T07:59:48Z" 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]] 0xc0004a2100 52 [] false 127.0.0.1:43907 map[] map[] map[] 127.0.0.1:38040 /api/devices/v1/deployments/device/deployments/next 0xc0004a2140}" time="2021-10-14T07:59:48Z" level=error msg="bad token, got Bearer bar expected foo" time="2021-10-14T07:59:48Z" level=info msg="Device unauthorized; attempting reauthorization" time="2021-10-14T07:59:48Z" level=debug msg="Tenant token: " time="2021-10-14T07:59:48Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAqZaWArzSoR9PRwBH5aZS\nq1I4/hax0amcFP1bO5D5FF/jqXW2/FVE54vSflTz/OnNd5s5VsWpwKV0vWuwnDya\nMypOID9A5A65ELlGftIcrE3wKCpBXyPSgoWuIDrsoynJjsIhAyzVjwm9j3wqK40i\nRVSNRI/Ipdm9KPCWpWcKAfcQYUYNOLoVqhUcIhlkc1ikD+9tyZ4eXyRo3T3vUvOM\nB1HWwIPfJPGXtEWm4XVS/vhc7/8H009CX+nmvH3fGCkJwMtcyBbAnsSRDwQwZi0L\nj0groLCWooG4lmAsBXkiTvEZE5baRTFLurZoKgqf7j4lDdSjZNlAXiAa71W6L2gQ\naK4esFc3ggSq3sTgvCb6I7Qhj3biGZRTMVIm4XoiV0btVys20oLIwFr9CRIsK+/R\nSIeGlYeBi+jq/SRU6zd4cI6vb/74oXlLnn+JOc/vFJIE2DobPGD92DffCA8oBA/4\nfg4Q5E/I2TJY4pef+HEGGQmLhFen6LfW6HsWdAJjVzizAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2021-10-14T07:59:48Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:43907" time="2021-10-14T07:59:48Z" 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:[OxkLCri4rA2ZKKkdNljWAAeyyvih8d9qHyEGg8x0K0sfJ7pr9Qchy696E1ka/zGZ5kfgRbS1J2fQjVq94cgLSuJRG85UkyK4VcuNob4mUdM1vhjN1BFrjypoP6BN0X3DK4p/Pn/prd4DYR9WMmJVdkg32MshuzCJo+G8rFTNDi8kzNd/RulLCQdn49MjUi0Ksn9MMrAzBQUwy/4oY9B8fSZhMgMroNsMc9HvHl7ABBfP4+dsXyMrvSV7VX/3D0i+1uSB4JhCHfEOWHpjnBhj4vtdgtRFa9URzDlANDkcNtJxwI6qnysGY0//2ZcnX2ybS3sJMo0Op9DK/zONQPbatyR5oPgHuGHM7GprEB32LWarcKENW9qZOwSfDi0J4/HGVCSlKlCWphEoaieRvsMdZkLBglVFvu7ezw9iEfLEtORjq4B/KEeipWpmRsioJUZxsViGquwtAjYVIhWXxPXXp5sD2OnsJYKZvFKC9e0im0sovqzVlcJJDoSwoSHWOvgP]] 0xc00055e2c0 701 [] false 127.0.0.1:43907 map[] map[] map[] 127.0.0.1:38040 /api/devices/v1/authentication/auth_requests 0xc00055e300}" time="2021-10-14T07:59:48Z" 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, 14 Oct 2021 07:59:48 GMT]] 0xc000236780 3 [] false false map[] 0xc000252500 }" time="2021-10-14T07:59:48Z" level=debug msg="Receive response data" time="2021-10-14T07:59:48Z" level=debug msg="Received response data: [102 111 111]" time="2021-10-14T07:59:48Z" 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]] 0xc00055e3c0 52 [] false 127.0.0.1:43907 map[] map[] map[] 127.0.0.1:38040 /api/devices/v1/deployments/device/deployments/next 0xc00055e400}" time="2021-10-14T07:59:48Z" level=debug msg="device provides not accepted by the server. Response code: 400" time="2021-10-14T07:59:48Z" 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:43907 map[] map[] map[] 127.0.0.1:38042 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc000020e00}" time="2021-10-14T07:59:48Z" 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:43907 map[] map[] map[] 127.0.0.1:38042 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc000020e00}" time="2021-10-14T07:59:48Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" time="2021-10-14T07:59:48Z" level=info msg="Device unauthorized; attempting reauthorization" time="2021-10-14T07:59:48Z" level=debug msg="Tenant token: " time="2021-10-14T07:59:48Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAqZaWArzSoR9PRwBH5aZS\nq1I4/hax0amcFP1bO5D5FF/jqXW2/FVE54vSflTz/OnNd5s5VsWpwKV0vWuwnDya\nMypOID9A5A65ELlGftIcrE3wKCpBXyPSgoWuIDrsoynJjsIhAyzVjwm9j3wqK40i\nRVSNRI/Ipdm9KPCWpWcKAfcQYUYNOLoVqhUcIhlkc1ikD+9tyZ4eXyRo3T3vUvOM\nB1HWwIPfJPGXtEWm4XVS/vhc7/8H009CX+nmvH3fGCkJwMtcyBbAnsSRDwQwZi0L\nj0groLCWooG4lmAsBXkiTvEZE5baRTFLurZoKgqf7j4lDdSjZNlAXiAa71W6L2gQ\naK4esFc3ggSq3sTgvCb6I7Qhj3biGZRTMVIm4XoiV0btVys20oLIwFr9CRIsK+/R\nSIeGlYeBi+jq/SRU6zd4cI6vb/74oXlLnn+JOc/vFJIE2DobPGD92DffCA8oBA/4\nfg4Q5E/I2TJY4pef+HEGGQmLhFen6LfW6HsWdAJjVzizAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2021-10-14T07:59:48Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:43907" time="2021-10-14T07:59:48Z" 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:[OxkLCri4rA2ZKKkdNljWAAeyyvih8d9qHyEGg8x0K0sfJ7pr9Qchy696E1ka/zGZ5kfgRbS1J2fQjVq94cgLSuJRG85UkyK4VcuNob4mUdM1vhjN1BFrjypoP6BN0X3DK4p/Pn/prd4DYR9WMmJVdkg32MshuzCJo+G8rFTNDi8kzNd/RulLCQdn49MjUi0Ksn9MMrAzBQUwy/4oY9B8fSZhMgMroNsMc9HvHl7ABBfP4+dsXyMrvSV7VX/3D0i+1uSB4JhCHfEOWHpjnBhj4vtdgtRFa9URzDlANDkcNtJxwI6qnysGY0//2ZcnX2ybS3sJMo0Op9DK/zONQPbatyR5oPgHuGHM7GprEB32LWarcKENW9qZOwSfDi0J4/HGVCSlKlCWphEoaieRvsMdZkLBglVFvu7ezw9iEfLEtORjq4B/KEeipWpmRsioJUZxsViGquwtAjYVIhWXxPXXp5sD2OnsJYKZvFKC9e0im0sovqzVlcJJDoSwoSHWOvgP]] 0xc00055e480 701 [] false 127.0.0.1:43907 map[] map[] map[] 127.0.0.1:38042 /api/devices/v1/authentication/auth_requests 0xc00055e4c0}" time="2021-10-14T07:59:48Z" 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, 14 Oct 2021 07:59:48 GMT]] 0xc0002bf080 3 [] false false map[] 0xc00024af00 }" time="2021-10-14T07:59:48Z" level=debug msg="Receive response data" time="2021-10-14T07:59:48Z" level=debug msg="Received response data: [102 111 111]" time="2021-10-14T07:59:48Z" 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:43907 map[] map[] map[] 127.0.0.1:38042 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc000020f40}" time="2021-10-14T07:59:48Z" 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:43907 map[] map[] map[] 127.0.0.1:38042 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc000020f40}" time="2021-10-14T07:59:48Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" time="2021-10-14T07:59:48Z" level=debug msg="Received response:401 Unauthorized" time="2021-10-14T07:59:48Z" level=warning msg="Client not authorized to get update schedule." time="2021-10-14T07:59:48Z" level=error msg="Error receiving scheduled update data: (request_id: ): client not authorized server error message: failed to parse server response: EOF" --- PASS: TestReauthorization (1.80s) === RUN TestFailoverServers time="2021-10-14T07:59:48Z" level=debug msg="Private key does not exist" time="2021-10-14T07:59:48Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2021-10-14T07:59:48Z" level=debug msg="Needs keys" time="2021-10-14T07:59:48Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2021-10-14T07:59:48Z" level=debug msg="Tenant token: " time="2021-10-14T07:59:48Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA0iQ0zauGK1ZUremO50dG\nduNmOxKkgxTk9Mm7lxUnHp5Zxt241fgcj1F3QzeBMYMpEoHxYYktfLbLB21sLbCj\nqkxoFJnKc8I8w86etNo8m8LmaAOKXbkVSZdrf5hZMLsLQEWKjNBlS7PEwTndyWvH\nqPJlzeDpj1+KPbjwypdYTEY429QpxUsMzX7bA7m0Muk7IMjr3qITiBlob+7L+USu\naSzTlXdx5amH0XgMywC2T45YHRwcO/Zi+fdlvS+kOsF2UuBS32RhwRKBfFbrZ96v\nUVR7DGnZEGQs3BweG+tHgEjcS1rwGdAc22O1uRmmtZOH/p4Y8pGhTU0l3uiIQSPK\n46CHjH59L8r7OyQM3aSPDTa8DKv5KKtD620rPhPyPMv1nlcwh1u17QvMDWejidNV\nJbM70I4j4J5NZqwF2D4/m0KakLfhLCqNSREiHEQP+we2G9xQEEDI+WruaaBBSL6J\nu2PJEENFk6wRUOSCW6CIO1/9gX7JPVd2gBKvHOf1GNspAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2021-10-14T07:59:48Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:39327" time="2021-10-14T07:59:48Z" 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:[zLYrLQXhqYuwfv2l8NrbKJ0h0JlvWpWPGPNENY7TjrSZyg/ztbAigYruAsi4iT1bN1KbwsiHhp1yODgBR4kFggdBj1Q9b5UExPjBRmRd3vVEirTeQUaImpm7ulYR9xSUCPAiXXQnNpP5awnJfyS0qQPYgtxJdyCcB8BNRk8+QorViiN07jrDNEm5+MSf7Fu3QfMJOUrqxbA4EDnyJ4mXeFsKInBk7YiefghdQ/fnariAtMHzHzfyaDw6rUUwtYKJzWF5+SdILyiHdoe2dZi1xKIqFwZ1+pAQsiC7ru6t8XzpWHU6V6hjL/lzkNLVWc6IhYQoWfsFR/Hn39v1jmoHKuAZncaI5/iK4IY+iXmfAeUtDI+m1L0fZAy54gy9OZGWyGWzeNML4JLs+SEqZOyYszkLPepvQtmP8J6JJ5SKYexNNUNLxa0djTnWJp92QVo5awNq3MOjsQblznpGhMuL7UyGnLT8ZCUufPblSIuWBSulmwFvy1QuSI61FMjBmVSV]] 0xc0005e2040 701 [] false 127.0.0.1:39327 map[] map[] map[] 127.0.0.1:46016 /api/devices/v1/authentication/auth_requests 0xc0005e2080}" time="2021-10-14T07:59:48Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Thu, 14 Oct 2021 07:59:48 GMT]] 0xc00030e200 0 [] false false map[] 0xc00024b300 }" time="2021-10-14T07:59:48Z" level=warning msg="Failed to authorize \"http://127.0.0.1:39327\"; attempting \"http://127.0.0.1:41205\"." time="2021-10-14T07:59:48Z" level=debug msg="Tenant token: " time="2021-10-14T07:59:48Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA0iQ0zauGK1ZUremO50dG\nduNmOxKkgxTk9Mm7lxUnHp5Zxt241fgcj1F3QzeBMYMpEoHxYYktfLbLB21sLbCj\nqkxoFJnKc8I8w86etNo8m8LmaAOKXbkVSZdrf5hZMLsLQEWKjNBlS7PEwTndyWvH\nqPJlzeDpj1+KPbjwypdYTEY429QpxUsMzX7bA7m0Muk7IMjr3qITiBlob+7L+USu\naSzTlXdx5amH0XgMywC2T45YHRwcO/Zi+fdlvS+kOsF2UuBS32RhwRKBfFbrZ96v\nUVR7DGnZEGQs3BweG+tHgEjcS1rwGdAc22O1uRmmtZOH/p4Y8pGhTU0l3uiIQSPK\n46CHjH59L8r7OyQM3aSPDTa8DKv5KKtD620rPhPyPMv1nlcwh1u17QvMDWejidNV\nJbM70I4j4J5NZqwF2D4/m0KakLfhLCqNSREiHEQP+we2G9xQEEDI+WruaaBBSL6J\nu2PJEENFk6wRUOSCW6CIO1/9gX7JPVd2gBKvHOf1GNspAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2021-10-14T07:59:48Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:41205" time="2021-10-14T07:59:48Z" 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:[zLYrLQXhqYuwfv2l8NrbKJ0h0JlvWpWPGPNENY7TjrSZyg/ztbAigYruAsi4iT1bN1KbwsiHhp1yODgBR4kFggdBj1Q9b5UExPjBRmRd3vVEirTeQUaImpm7ulYR9xSUCPAiXXQnNpP5awnJfyS0qQPYgtxJdyCcB8BNRk8+QorViiN07jrDNEm5+MSf7Fu3QfMJOUrqxbA4EDnyJ4mXeFsKInBk7YiefghdQ/fnariAtMHzHzfyaDw6rUUwtYKJzWF5+SdILyiHdoe2dZi1xKIqFwZ1+pAQsiC7ru6t8XzpWHU6V6hjL/lzkNLVWc6IhYQoWfsFR/Hn39v1jmoHKuAZncaI5/iK4IY+iXmfAeUtDI+m1L0fZAy54gy9OZGWyGWzeNML4JLs+SEqZOyYszkLPepvQtmP8J6JJ5SKYexNNUNLxa0djTnWJp92QVo5awNq3MOjsQblznpGhMuL7UyGnLT8ZCUufPblSIuWBSulmwFvy1QuSI61FMjBmVSV]] 0xc000115000 701 [] false 127.0.0.1:41205 map[] map[] map[] 127.0.0.1:34764 /api/devices/v1/authentication/auth_requests 0xc000115040}" time="2021-10-14T07:59:48Z" 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, 14 Oct 2021 07:59:48 GMT]] 0xc000236c40 3 [] false false map[] 0xc000252b00 }" time="2021-10-14T07:59:48Z" level=debug msg="Receive response data" time="2021-10-14T07:59:48Z" level=debug msg="Received response data: [106 119 116]" time="2021-10-14T07:59:48Z" level=info msg="successfully received new authorization data" time="2021-10-14T07:59:48Z" level=debug msg="Returning artifact name from artifact_info file." time="2021-10-14T07:59:48Z" level=debug msg="Reading data from the device manifest file: artifact_info" time="2021-10-14T07:59:48Z" level=debug msg="artifact_name=mender-image" time="2021-10-14T07:59:48Z" level=debug msg="Current manifest data: mender-image" time="2021-10-14T07:59:48Z" level=debug msg="Reading data from the device manifest file: device_type" time="2021-10-14T07:59:48Z" level=debug msg="device_type=dev" time="2021-10-14T07:59:48Z" level=debug msg="Current manifest data: dev" time="2021-10-14T07:59:48Z" 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]] 0xc0005e2200 52 [] false 127.0.0.1:39327 map[] map[] map[] 127.0.0.1:46016 /api/devices/v1/deployments/device/deployments/next 0xc0005e2240}" time="2021-10-14T07:59:48Z" level=warning msg="Server \"http://127.0.0.1:39327\" failed to serve request \"/api/devices/v1/deployments/device/deployments/next\". Attempting \"http://127.0.0.1:41205\"" time="2021-10-14T07:59:48Z" 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]] 0xc0004a2f00 52 [] false 127.0.0.1:41205 map[] map[] map[] 127.0.0.1:34766 /api/devices/v1/deployments/device/deployments/next 0xc0004a2f40}" time="2021-10-14T07:59:48Z" level=debug msg="device provides not accepted by the server. Response code: 400" time="2021-10-14T07:59:48Z" 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:39327 map[] map[] map[] 127.0.0.1:46022 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc0005f6500}" time="2021-10-14T07:59:48Z" 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:39327 map[] map[] map[] 127.0.0.1:46022 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc0005f6500}" time="2021-10-14T07:59:48Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" 2021/10/14 07:59:48 http: panic serving 127.0.0.1:46022: runtime error: invalid memory address or nil pointer dereference goroutine 307 [running]: net/http.(*conn).serve.func1(0xc00020e280) /usr/lib/go-1.15/src/net/http/server.go:1801 +0x147 panic(0x8ca040, 0xc3bf20) /usr/lib/go-1.15/src/runtime/panic.go:975 +0x47a github.com/mendersoftware/mender/client/test.(*ClientTestServer).updateReq(0xc0000d2000, 0x9f3c40, 0xc00013e000, 0xc00003c600) /build/mender-client-SEfUnR/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(0xc0005cad20, 0x9f3c40, 0xc00013e000, 0xc00003c600) /usr/lib/go-1.15/src/net/http/server.go:2042 +0x44 net/http.(*ServeMux).ServeHTTP(0xc000021040, 0x9f3c40, 0xc00013e000, 0xc00003c600) /usr/lib/go-1.15/src/net/http/server.go:2417 +0x1ad net/http.serverHandler.ServeHTTP(0xc0002982a0, 0x9f3c40, 0xc00013e000, 0xc00003c600) /usr/lib/go-1.15/src/net/http/server.go:2843 +0xa3 net/http.(*conn).serve(0xc00020e280, 0x9f5200, 0xc0005f6440) /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="2021-10-14T07:59:48Z" level=warning msg="Server \"http://127.0.0.1:39327\" failed to serve request \"/api/devices/v1/deployments/device/deployments/next\". Attempting \"http://127.0.0.1:41205\"" time="2021-10-14T07:59:48Z" 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:41205 map[] map[] map[] 127.0.0.1:34770 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc00055e600}" time="2021-10-14T07:59:48Z" 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:41205 map[] map[] map[] 127.0.0.1:34770 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0xc00055e600}" time="2021-10-14T07:59:48Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" time="2021-10-14T07:59:48Z" level=debug msg="Received response:200 OK" time="2021-10-14T07:59:48Z" level=debug msg="Have update available" time="2021-10-14T07:59:48Z" level=info msg="Correct request for getting image from: http://127.0.0.1:41205/download [name: foo; devices: [vexpress]]" time="2021-10-14T07:59:48Z" level=debug msg="Received update response: {{{http://127.0.0.1:41205/download } [vexpress] [] foo map[]} foo [] 0 false}" --- PASS: TestFailoverServers (0.31s) === 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="2021-10-14T07:59:48Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2021-10-14T07:59:48Z" level=debug msg="Starting device update." time="2021-10-14T07:59:48Z" level=info msg="Start updating from local image file: []" time="2021-10-14T07:59:48Z" 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="2021-10-14T07:59:48Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2021-10-14T07:59:48Z" level=debug msg="Starting device update." time="2021-10-14T07:59:48Z" level=info msg="Performing remote update from: [https://update]." time="2021-10-14T07:59:49Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (non-existing). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" time="2021-10-14T07:59:49Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" time="2021-10-14T07:59:49Z" level=debug msg="Client initialized. Start downloading image." time="2021-10-14T07:59:49Z" level=error msg="Can not fetch update image: Get \"https://update\": dial tcp: lookup update on 127.0.0.11:53: no such host" time="2021-10-14T07:59:49Z" level=debug msg="Image downloaded: -1 [] [update fetch request failed: Get \"https://update\": dial tcp: lookup update on 127.0.0.11:53: no such host]" --- PASS: Test_doManualUpdate_invalidHttpsClientConfig_updateFails (0.27s) === RUN Test_doManualUpdate_nonExistingFile_fail time="2021-10-14T07:59:49Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2021-10-14T07:59:49Z" level=debug msg="Starting device update." time="2021-10-14T07:59:49Z" level=info msg="Start updating from local image file: [non-existing]" time="2021-10-14T07:59:49Z" 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="2021-10-14T07:59:49Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2021-10-14T07:59:49Z" level=debug msg="Starting device update." time="2021-10-14T07:59:49Z" level=info msg="Performing remote update from: [http://non-existing]." time="2021-10-14T07:59:49Z" level=debug msg="Client initialized. Start downloading image." time="2021-10-14T07:59:49Z" level=error msg="Can not fetch update image: Get \"http://non-existing\": dial tcp: lookup non-existing on 127.0.0.11:53: no such host" time="2021-10-14T07:59:49Z" level=debug msg="Image downloaded: -1 [] [update fetch request failed: Get \"http://non-existing\": dial tcp: lookup non-existing on 127.0.0.11:53: no such host]" --- PASS: Test_doManualUpdate_networkUpdateNoClient_fail (0.09s) === RUN Test_doManualUpdate_networkClientExistsNoServer_fail time="2021-10-14T07:59:49Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2021-10-14T07:59:49Z" level=debug msg="Starting device update." time="2021-10-14T07:59:49Z" level=info msg="Performing remote update from: [http://non-existing]." time="2021-10-14T07:59:49Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (server.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" time="2021-10-14T07:59:49Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" time="2021-10-14T07:59:49Z" level=debug msg="Client initialized. Start downloading image." time="2021-10-14T07:59:49Z" level=error msg="Can not fetch update image: Get \"http://non-existing\": dial tcp: lookup non-existing on 127.0.0.11:53: no such host" time="2021-10-14T07:59:49Z" level=debug msg="Image downloaded: -1 [] [update fetch request failed: Get \"http://non-existing\": dial tcp: lookup non-existing on 127.0.0.11:53: no such host]" --- PASS: Test_doManualUpdate_networkClientExistsNoServer_fail (0.17s) === RUN Test_doManualUpdate_existingFile_updateSuccess time="2021-10-14T07:59:49Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2021-10-14T07:59:49Z" level=debug msg="Starting device update." time="2021-10-14T07:59:49Z" level=info msg="Start updating from local image file: [/tmp/update336174234]" time="2021-10-14T07:59:49Z" level=debug msg="Fetching update from file results: [&{0xc000440240}], 5120, " Installing Artifact of size 5120... time="2021-10-14T07:59:49Z" level=debug msg="Reading data from the device manifest file: /tmp/193970307" time="2021-10-14T07:59:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:49Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:59:49Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" time="2021-10-14T07:59:49Z" level=debug msg="Checking if device [] is on compatible device list: [vexpress-qemu]\n" time="2021-10-14T07:59:49Z" level=error msg="Unknown device_type. Continuing with update" time="2021-10-14T07:59:49Z" level=debug msg="Installer: Successfully read artifact [name: mender-1.1; version: 2; compatible devices: [vexpress-qemu]]" . 100% 5 KiB time="2021-10-14T07:59:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:49Z" 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.03s) === RUN TestDoManualUpdateArtifactV3Dependencies time="2021-10-14T07:59:49Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2021-10-14T07:59:49Z" level=debug msg="Starting device update." time="2021-10-14T07:59:49Z" level=info msg="Start updating from local image file: [/tmp/update223384303]" time="2021-10-14T07:59:49Z" level=debug msg="Fetching update from file results: [&{0xc000296180}], 5120, " Installing Artifact of size 5120... time="2021-10-14T07:59:49Z" level=debug msg="Reading data from the device manifest file: /tmp/630443228" time="2021-10-14T07:59:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:49Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:59:49Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" time="2021-10-14T07:59:49Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" time="2021-10-14T07:59:49Z" level=error msg="Unknown device_type. Continuing with update" time="2021-10-14T07:59:49Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" time="2021-10-14T07:59:49Z" level=error msg="Artifact dependency \"artifact_name\" not satisfied by currently installed artifact ([OldArtifact] != )." time="2021-10-14T07:59:49Z" level=debug msg="Starting device update." time="2021-10-14T07:59:49Z" level=info msg="Start updating from local image file: [/tmp/update223384303]" time="2021-10-14T07:59:49Z" level=debug msg="Fetching update from file results: [&{0xc0002967e0}], 5120, " Installing Artifact of size 5120... time="2021-10-14T07:59:49Z" level=debug msg="Reading data from the device manifest file: /tmp/630443228" time="2021-10-14T07:59:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:49Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:59:49Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" time="2021-10-14T07:59:49Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" time="2021-10-14T07:59:49Z" level=error msg="Unknown device_type. Continuing with update" time="2021-10-14T07:59:49Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" time="2021-10-14T07:59:49Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([testGroup] != )." time="2021-10-14T07:59:49Z" level=debug msg="Starting device update." time="2021-10-14T07:59:49Z" level=info msg="Start updating from local image file: [/tmp/update223384303]" time="2021-10-14T07:59:49Z" level=debug msg="Fetching update from file results: [&{0xc000297080}], 5120, " Installing Artifact of size 5120... time="2021-10-14T07:59:49Z" level=debug msg="Reading data from the device manifest file: /tmp/630443228" time="2021-10-14T07:59:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:49Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:59:49Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" time="2021-10-14T07:59:49Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" time="2021-10-14T07:59:49Z" level=error msg="Unknown device_type. Continuing with update" time="2021-10-14T07:59:49Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" time="2021-10-14T07:59:49Z" level=error msg="Artifact dependency \"testKey\" not satisfied by currently installed artifact (testValue != )." time="2021-10-14T07:59:49Z" level=debug msg="Starting device update." time="2021-10-14T07:59:49Z" level=info msg="Start updating from local image file: [/tmp/update223384303]" time="2021-10-14T07:59:49Z" level=debug msg="Fetching update from file results: [&{0xc000296240}], 5120, " Installing Artifact of size 5120... time="2021-10-14T07:59:49Z" level=debug msg="Reading data from the device manifest file: /tmp/630443228" time="2021-10-14T07:59:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:49Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:59:49Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" time="2021-10-14T07:59:49Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" time="2021-10-14T07:59:49Z" level=error msg="Unknown device_type. Continuing with update" time="2021-10-14T07:59:49Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" . 100% 5 KiB time="2021-10-14T07:59:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:49Z" 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.11s) === RUN TestStandaloneModuleInstall === RUN TestStandaloneModuleInstall/Normal_install,_no_rollback time="2021-10-14T07:59:49Z" level=debug msg="Starting device update." time="2021-10-14T07:59:49Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall744585465/artifact.mender]" time="2021-10-14T07:59:49Z" level=debug msg="Fetching update from file results: [&{0xc0005de240}], 5632, " Installing Artifact of size 5632... time="2021-10-14T07:59:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall744585465/device_type" time="2021-10-14T07:59:49Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:49Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:49Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T07:59:49Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:59:49Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T07:59:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T07:59:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T07:59:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T07:59:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T07:59:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T07:59:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T07:59:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T07:59:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T07:59:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T07:59:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T07:59:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T07:59:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T07:59:49Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T07:59:49Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall744585465/artifact_info file." time="2021-10-14T07:59:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall744585465/artifact_info" time="2021-10-14T07:59:49Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:49Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T07:59:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall744585465/artifact_info" time="2021-10-14T07:59:49Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall744585465/device_type" time="2021-10-14T07:59:49Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:49Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:50Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T07:59:50Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T07:59:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall744585465/modules/test-type Download /tmp/TestStandaloneModuleInstall744585465/work/payloads/0000/tree" time="2021-10-14T07:59:50Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2021-10-14T07:59:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:50Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T07:59:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T07:59:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall744585465/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall744585465/work/payloads/0000/tree" time="2021-10-14T07:59:50Z" level=debug msg="Update module output: No" time="2021-10-14T07:59:50Z" level=debug msg="Module does not support rollback" time="2021-10-14T07:59:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:50Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:50Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T07:59:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall744585465/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall744585465/work/payloads/0000/tree" time="2021-10-14T07:59:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:50Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:50Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T07:59:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall744585465/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall744585465/work/payloads/0000/tree" time="2021-10-14T07:59:50Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:50Z" level=debug msg="Module needs custom reboot" Artifact doesn't support rollback. Committing immediately. Committing Artifact... time="2021-10-14T07:59:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:51Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2021-10-14T07:59:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall744585465/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall744585465/work/payloads/0000/tree" time="2021-10-14T07:59:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:51Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T07:59:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall744585465/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall744585465/work/payloads/0000/tree" At least one payload requested a reboot of the device it updated. time="2021-10-14T07:59:51Z" level=debug msg="Returning artifact name artifact-name from database." === RUN TestStandaloneModuleInstall/Normal_install time="2021-10-14T07:59:51Z" level=debug msg="Starting device update." time="2021-10-14T07:59:51Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall644472790/artifact.mender]" time="2021-10-14T07:59:51Z" level=debug msg="Fetching update from file results: [&{0xc000164240}], 5632, " Installing Artifact of size 5632... time="2021-10-14T07:59:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall644472790/device_type" time="2021-10-14T07:59:51Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:51Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:51Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T07:59:51Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:59:51Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T07:59:51Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T07:59:51Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall644472790/artifact_info file." time="2021-10-14T07:59:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall644472790/artifact_info" time="2021-10-14T07:59:51Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:51Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T07:59:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall644472790/artifact_info" time="2021-10-14T07:59:51Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall644472790/device_type" time="2021-10-14T07:59:51Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:51Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T07:59:51Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T07:59:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall644472790/modules/test-type Download /tmp/TestStandaloneModuleInstall644472790/work/payloads/0000/tree" time="2021-10-14T07:59:51Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2021-10-14T07:59:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:51Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T07:59:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall644472790/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall644472790/work/payloads/0000/tree" time="2021-10-14T07:59:51Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:51Z" level=debug msg="Module supports rollback" time="2021-10-14T07:59:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:51Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T07:59:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall644472790/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall644472790/work/payloads/0000/tree" time="2021-10-14T07:59:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:51Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T07:59:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall644472790/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall644472790/work/payloads/0000/tree" time="2021-10-14T07:59:51Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:51Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. time="2021-10-14T07:59:51Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall644472790/artifact_info file." time="2021-10-14T07:59:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall644472790/artifact_info" time="2021-10-14T07:59:51Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:51Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Normal_commit time="2021-10-14T07:59:51Z" level=debug msg="Starting device update." time="2021-10-14T07:59:51Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall931694199/artifact.mender]" time="2021-10-14T07:59:51Z" level=debug msg="Fetching update from file results: [&{0xc0001337a0}], 5632, " Installing Artifact of size 5632... time="2021-10-14T07:59:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall931694199/device_type" time="2021-10-14T07:59:51Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:51Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:51Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T07:59:51Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:59:51Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T07:59:51Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T07:59:51Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall931694199/artifact_info file." time="2021-10-14T07:59:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall931694199/artifact_info" time="2021-10-14T07:59:51Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:51Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T07:59:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall931694199/artifact_info" time="2021-10-14T07:59:51Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall931694199/device_type" time="2021-10-14T07:59:51Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:51Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T07:59:51Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T07:59:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall931694199/modules/test-type Download /tmp/TestStandaloneModuleInstall931694199/work/payloads/0000/tree" time="2021-10-14T07:59:51Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2021-10-14T07:59:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:51Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T07:59:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall931694199/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall931694199/work/payloads/0000/tree" time="2021-10-14T07:59:51Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:51Z" level=debug msg="Module supports rollback" time="2021-10-14T07:59:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:51Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T07:59:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall931694199/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall931694199/work/payloads/0000/tree" time="2021-10-14T07:59:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:51Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T07:59:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall931694199/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall931694199/work/payloads/0000/tree" time="2021-10-14T07:59:51Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:51Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. Committing Artifact... time="2021-10-14T07:59:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:51Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2021-10-14T07:59:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall931694199/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall931694199/work/payloads/0000/tree" time="2021-10-14T07:59:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:51Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T07:59:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall931694199/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall931694199/work/payloads/0000/tree" time="2021-10-14T07:59:51Z" level=debug msg="Returning artifact name artifact-name from database." === RUN TestStandaloneModuleInstall/Normal_rollback time="2021-10-14T07:59:51Z" level=debug msg="Starting device update." time="2021-10-14T07:59:51Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall171499052/artifact.mender]" time="2021-10-14T07:59:51Z" level=debug msg="Fetching update from file results: [&{0xc000164240}], 5632, " Installing Artifact of size 5632... time="2021-10-14T07:59:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall171499052/device_type" time="2021-10-14T07:59:51Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:51Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:51Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T07:59:51Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:59:51Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T07:59:51Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall171499052/artifact_info file." time="2021-10-14T07:59:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall171499052/artifact_info" time="2021-10-14T07:59:51Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:51Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T07:59:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall171499052/artifact_info" time="2021-10-14T07:59:51Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall171499052/device_type" time="2021-10-14T07:59:51Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:51Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T07:59:51Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T07:59:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall171499052/modules/test-type Download /tmp/TestStandaloneModuleInstall171499052/work/payloads/0000/tree" time="2021-10-14T07:59:51Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2021-10-14T07:59:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:51Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T07:59:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall171499052/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall171499052/work/payloads/0000/tree" time="2021-10-14T07:59:51Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:51Z" level=debug msg="Module supports rollback" time="2021-10-14T07:59:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:51Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T07:59:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall171499052/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall171499052/work/payloads/0000/tree" time="2021-10-14T07:59:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:51Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T07:59:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall171499052/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall171499052/work/payloads/0000/tree" time="2021-10-14T07:59:51Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:51Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. time="2021-10-14T07:59:51Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T07:59:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall171499052/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall171499052/work/payloads/0000/tree" time="2021-10-14T07:59:51Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:51Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2021-10-14T07:59:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:51Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T07:59:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall171499052/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall171499052/work/payloads/0000/tree" time="2021-10-14T07:59:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:51Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T07:59:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall171499052/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall171499052/work/payloads/0000/tree" time="2021-10-14T07:59:51Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall171499052/artifact_info file." time="2021-10-14T07:59:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall171499052/artifact_info" time="2021-10-14T07:59:51Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:51Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_Download_Enter_00 time="2021-10-14T07:59:51Z" level=debug msg="Starting device update." time="2021-10-14T07:59:51Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall437723781/artifact.mender]" time="2021-10-14T07:59:51Z" level=debug msg="Fetching update from file results: [&{0xc0006443c0}], 5632, " Installing Artifact of size 5632... time="2021-10-14T07:59:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall437723781/device_type" time="2021-10-14T07:59:51Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:51Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:51Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T07:59:51Z" level=error msg="Download_Enter script failed: statescript: error executing 'Download_Enter_00': 1 : exit status 1" time="2021-10-14T07:59:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:51Z" level=debug msg="Executing script: Download_Error_00" time="2021-10-14T07:59:51Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall437723781/artifact_info file." time="2021-10-14T07:59:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall437723781/artifact_info" time="2021-10-14T07:59:51Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:51Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_Download time="2021-10-14T07:59:51Z" level=debug msg="Starting device update." time="2021-10-14T07:59:51Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall877964370/artifact.mender]" time="2021-10-14T07:59:51Z" level=debug msg="Fetching update from file results: [&{0xc000164360}], 5632, " Installing Artifact of size 5632... time="2021-10-14T07:59:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall877964370/device_type" time="2021-10-14T07:59:51Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:51Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:51Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T07:59:51Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:59:51Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T07:59:51Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall877964370/artifact_info file." time="2021-10-14T07:59:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall877964370/artifact_info" time="2021-10-14T07:59:51Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:51Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T07:59:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall877964370/artifact_info" time="2021-10-14T07:59:51Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall877964370/device_type" time="2021-10-14T07:59:51Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:51Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T07:59:51Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T07:59:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall877964370/modules/test-type Download /tmp/TestStandaloneModuleInstall877964370/work/payloads/0000/tree" time="2021-10-14T07:59:51Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T07:59:51Z" level=error msg="Download failed: Update module terminated abnormally: exit status 1" time="2021-10-14T07:59:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:51Z" level=debug msg="Executing script: Download_Error_00" time="2021-10-14T07:59:51Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T07:59:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall877964370/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall877964370/work/payloads/0000/tree" time="2021-10-14T07:59:51Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall877964370/artifact_info file." time="2021-10-14T07:59:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall877964370/artifact_info" time="2021-10-14T07:59:51Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:51Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_Download_Leave_00 time="2021-10-14T07:59:51Z" level=debug msg="Starting device update." time="2021-10-14T07:59:51Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall965660835/artifact.mender]" time="2021-10-14T07:59:51Z" level=debug msg="Fetching update from file results: [&{0xc0001642a0}], 5632, " Installing Artifact of size 5632... time="2021-10-14T07:59:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall965660835/device_type" time="2021-10-14T07:59:51Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:51Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:51Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T07:59:51Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:59:51Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:51Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T07:59:51Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall965660835/artifact_info file." time="2021-10-14T07:59:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall965660835/artifact_info" time="2021-10-14T07:59:51Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:51Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T07:59:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall965660835/artifact_info" time="2021-10-14T07:59:51Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall965660835/device_type" time="2021-10-14T07:59:51Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:51Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:51Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T07:59:51Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T07:59:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall965660835/modules/test-type Download /tmp/TestStandaloneModuleInstall965660835/work/payloads/0000/tree" time="2021-10-14T07:59:51Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T07:59:52Z" level=error msg="Download_Leave script failed: statescript: error executing 'Download_Leave_00': 1 : exit status 1" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: Download_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall965660835/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall965660835/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall965660835/artifact_info file." time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall965660835/artifact_info" time="2021-10-14T07:59:52Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:52Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Enter_00 time="2021-10-14T07:59:52Z" level=debug msg="Starting device update." time="2021-10-14T07:59:52Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall680089032/artifact.mender]" time="2021-10-14T07:59:52Z" level=debug msg="Fetching update from file results: [&{0xc00063a120}], 5632, " Installing Artifact of size 5632... time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall680089032/device_type" time="2021-10-14T07:59:52Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:52Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T07:59:52Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:59:52Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T07:59:52Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall680089032/artifact_info file." time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall680089032/artifact_info" time="2021-10-14T07:59:52Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:52Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall680089032/artifact_info" time="2021-10-14T07:59:52Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall680089032/device_type" time="2021-10-14T07:59:52Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:52Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall680089032/modules/test-type Download /tmp/TestStandaloneModuleInstall680089032/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall680089032/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall680089032/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:52Z" level=debug msg="Module supports rollback" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:52Z" level=error msg="ArtifactInstall_Enter script failed: statescript: error executing 'ArtifactInstall_Enter_00': 1 : exit status 1" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall680089032/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall680089032/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:52Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall680089032/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall680089032/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall680089032/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall680089032/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall680089032/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall680089032/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall680089032/artifact_info file." time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall680089032/artifact_info" time="2021-10-14T07:59:52Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:52Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactInstall time="2021-10-14T07:59:52Z" level=debug msg="Starting device update." time="2021-10-14T07:59:52Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall112364625/artifact.mender]" time="2021-10-14T07:59:52Z" level=debug msg="Fetching update from file results: [&{0xc00032e120}], 5632, " Installing Artifact of size 5632... time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall112364625/device_type" time="2021-10-14T07:59:52Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:52Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T07:59:52Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:59:52Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T07:59:52Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall112364625/artifact_info file." time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall112364625/artifact_info" time="2021-10-14T07:59:52Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:52Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall112364625/artifact_info" time="2021-10-14T07:59:52Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall112364625/device_type" time="2021-10-14T07:59:52Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:52Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall112364625/modules/test-type Download /tmp/TestStandaloneModuleInstall112364625/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall112364625/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall112364625/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:52Z" level=debug msg="Module supports rollback" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall112364625/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall112364625/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T07:59:52Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall112364625/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall112364625/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:52Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall112364625/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall112364625/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall112364625/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall112364625/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall112364625/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall112364625/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall112364625/artifact_info file." time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall112364625/artifact_info" time="2021-10-14T07:59:52Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:52Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Leave_00 time="2021-10-14T07:59:52Z" level=debug msg="Starting device update." time="2021-10-14T07:59:52Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall866142734/artifact.mender]" time="2021-10-14T07:59:52Z" level=debug msg="Fetching update from file results: [&{0xc000440780}], 5632, " Installing Artifact of size 5632... time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall866142734/device_type" time="2021-10-14T07:59:52Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:52Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T07:59:52Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:59:52Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T07:59:52Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall866142734/artifact_info file." time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall866142734/artifact_info" time="2021-10-14T07:59:52Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:52Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall866142734/artifact_info" time="2021-10-14T07:59:52Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall866142734/device_type" time="2021-10-14T07:59:52Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:52Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall866142734/modules/test-type Download /tmp/TestStandaloneModuleInstall866142734/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall866142734/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall866142734/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:52Z" level=debug msg="Module supports rollback" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall866142734/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall866142734/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:52Z" level=error msg="ArtifactInstall_Leave script failed: statescript: error executing 'ArtifactInstall_Leave_00': 1 : exit status 1" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall866142734/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall866142734/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:52Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall866142734/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall866142734/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall866142734/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall866142734/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall866142734/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall866142734/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall866142734/artifact_info file." time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall866142734/artifact_info" time="2021-10-14T07:59:52Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:52Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00 time="2021-10-14T07:59:52Z" level=debug msg="Starting device update." time="2021-10-14T07:59:52Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall670445327/artifact.mender]" time="2021-10-14T07:59:52Z" level=debug msg="Fetching update from file results: [&{0xc000644660}], 5632, " Installing Artifact of size 5632... time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall670445327/device_type" time="2021-10-14T07:59:52Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:52Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T07:59:52Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:59:52Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T07:59:52Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall670445327/artifact_info file." time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall670445327/artifact_info" time="2021-10-14T07:59:52Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:52Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall670445327/artifact_info" time="2021-10-14T07:59:52Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall670445327/device_type" time="2021-10-14T07:59:52Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:52Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall670445327/modules/test-type Download /tmp/TestStandaloneModuleInstall670445327/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall670445327/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall670445327/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:52Z" level=debug msg="Module supports rollback" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall670445327/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall670445327/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall670445327/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall670445327/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:52Z" 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="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2021-10-14T07:59:52Z" level=error msg="ArtifactCommit_Enter script failed: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall670445327/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall670445327/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:52Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall670445327/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall670445327/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall670445327/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall670445327/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall670445327/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall670445327/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall670445327/artifact_info file." time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall670445327/artifact_info" time="2021-10-14T07:59:52Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:52Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit time="2021-10-14T07:59:52Z" level=debug msg="Starting device update." time="2021-10-14T07:59:52Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall580462244/artifact.mender]" time="2021-10-14T07:59:52Z" level=debug msg="Fetching update from file results: [&{0xc000164480}], 5632, " Installing Artifact of size 5632... time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall580462244/device_type" time="2021-10-14T07:59:52Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:52Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T07:59:52Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:59:52Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T07:59:52Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall580462244/artifact_info file." time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall580462244/artifact_info" time="2021-10-14T07:59:52Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:52Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall580462244/artifact_info" time="2021-10-14T07:59:52Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall580462244/device_type" time="2021-10-14T07:59:52Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:52Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall580462244/modules/test-type Download /tmp/TestStandaloneModuleInstall580462244/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall580462244/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall580462244/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:52Z" level=debug msg="Module supports rollback" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall580462244/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall580462244/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall580462244/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall580462244/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:52Z" 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="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall580462244/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall580462244/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T07:59:52Z" level=error msg="Commit failed: Update module terminated abnormally: exit status 1" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall580462244/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall580462244/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:52Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall580462244/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall580462244/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall580462244/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall580462244/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall580462244/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall580462244/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall580462244/artifact_info file." time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall580462244/artifact_info" time="2021-10-14T07:59:52Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:52Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00 time="2021-10-14T07:59:52Z" level=debug msg="Starting device update." time="2021-10-14T07:59:52Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall748135517/artifact.mender]" time="2021-10-14T07:59:52Z" level=debug msg="Fetching update from file results: [&{0xc000164360}], 5632, " Installing Artifact of size 5632... time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall748135517/device_type" time="2021-10-14T07:59:52Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:52Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T07:59:52Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:59:52Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T07:59:52Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall748135517/artifact_info file." time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall748135517/artifact_info" time="2021-10-14T07:59:52Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:52Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall748135517/artifact_info" time="2021-10-14T07:59:52Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall748135517/device_type" time="2021-10-14T07:59:52Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:52Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall748135517/modules/test-type Download /tmp/TestStandaloneModuleInstall748135517/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall748135517/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall748135517/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:52Z" level=debug msg="Module supports rollback" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall748135517/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall748135517/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall748135517/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall748135517/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:52Z" 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="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall748135517/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall748135517/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2021-10-14T07:59:52Z" level=error msg="ArtifactCommit_Leave script failed: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall748135517/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall748135517/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00,_no_rollback time="2021-10-14T07:59:52Z" level=debug msg="Starting device update." time="2021-10-14T07:59:52Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall063324426/artifact.mender]" time="2021-10-14T07:59:52Z" level=debug msg="Fetching update from file results: [&{0xc000164480}], 5632, " Installing Artifact of size 5632... time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall063324426/device_type" time="2021-10-14T07:59:52Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:52Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T07:59:52Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:59:52Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T07:59:52Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall063324426/artifact_info file." time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall063324426/artifact_info" time="2021-10-14T07:59:52Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:52Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall063324426/artifact_info" time="2021-10-14T07:59:52Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall063324426/device_type" time="2021-10-14T07:59:52Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:52Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall063324426/modules/test-type Download /tmp/TestStandaloneModuleInstall063324426/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall063324426/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall063324426/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Update module output: No" time="2021-10-14T07:59:52Z" level=debug msg="Module does not support rollback" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall063324426/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall063324426/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall063324426/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall063324426/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:52Z" level=debug msg="Module needs custom reboot" Artifact doesn't support rollback. Committing immediately. Committing Artifact... time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2021-10-14T07:59:52Z" level=error msg="ArtifactCommit_Enter script failed: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall063324426/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall063324426/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Update module output: No" time="2021-10-14T07:59:52Z" level=debug msg="Module does not support rollback" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall063324426/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall063324426/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall063324426/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall063324426/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit,_no_rollback time="2021-10-14T07:59:52Z" level=debug msg="Starting device update." time="2021-10-14T07:59:52Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall532413371/artifact.mender]" time="2021-10-14T07:59:52Z" level=debug msg="Fetching update from file results: [&{0xc00063a360}], 5632, " Installing Artifact of size 5632... time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall532413371/device_type" time="2021-10-14T07:59:52Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:52Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T07:59:52Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:59:52Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T07:59:52Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall532413371/artifact_info file." time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall532413371/artifact_info" time="2021-10-14T07:59:52Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:52Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall532413371/artifact_info" time="2021-10-14T07:59:52Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall532413371/device_type" time="2021-10-14T07:59:52Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:52Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:52Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall532413371/modules/test-type Download /tmp/TestStandaloneModuleInstall532413371/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall532413371/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall532413371/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Update module output: No" time="2021-10-14T07:59:52Z" level=debug msg="Module does not support rollback" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall532413371/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall532413371/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall532413371/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall532413371/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:52Z" level=debug msg="Module needs custom reboot" Artifact doesn't support rollback. Committing immediately. Committing Artifact... time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall532413371/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall532413371/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T07:59:52Z" level=error msg="Commit failed: Update module terminated abnormally: exit status 1" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall532413371/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall532413371/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="Update module output: No" time="2021-10-14T07:59:52Z" level=debug msg="Module does not support rollback" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall532413371/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall532413371/work/payloads/0000/tree" time="2021-10-14T07:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:52Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:52Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T07:59:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall532413371/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall532413371/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00,_no_rollback time="2021-10-14T07:59:53Z" level=debug msg="Starting device update." time="2021-10-14T07:59:53Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall146191552/artifact.mender]" time="2021-10-14T07:59:53Z" level=debug msg="Fetching update from file results: [&{0xc0006447e0}], 5632, " Installing Artifact of size 5632... time="2021-10-14T07:59:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall146191552/device_type" time="2021-10-14T07:59:53Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:53Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T07:59:53Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:59:53Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T07:59:53Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall146191552/artifact_info file." time="2021-10-14T07:59:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall146191552/artifact_info" time="2021-10-14T07:59:53Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:53Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T07:59:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall146191552/artifact_info" time="2021-10-14T07:59:53Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall146191552/device_type" time="2021-10-14T07:59:53Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:53Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall146191552/modules/test-type Download /tmp/TestStandaloneModuleInstall146191552/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall146191552/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall146191552/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="Update module output: No" time="2021-10-14T07:59:53Z" level=debug msg="Module does not support rollback" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall146191552/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall146191552/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall146191552/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall146191552/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:53Z" level=debug msg="Module needs custom reboot" Artifact doesn't support rollback. Committing immediately. Committing Artifact... time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall146191552/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall146191552/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2021-10-14T07:59:53Z" level=error msg="ArtifactCommit_Leave script failed: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall146191552/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall146191552/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Enter_00 time="2021-10-14T07:59:53Z" level=debug msg="Starting device update." time="2021-10-14T07:59:53Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall686767273/artifact.mender]" time="2021-10-14T07:59:53Z" level=debug msg="Fetching update from file results: [&{0xc000440780}], 5632, " Installing Artifact of size 5632... time="2021-10-14T07:59:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall686767273/device_type" time="2021-10-14T07:59:53Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:53Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T07:59:53Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:59:53Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T07:59:53Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall686767273/artifact_info file." time="2021-10-14T07:59:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall686767273/artifact_info" time="2021-10-14T07:59:53Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:53Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T07:59:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall686767273/artifact_info" time="2021-10-14T07:59:53Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall686767273/device_type" time="2021-10-14T07:59:53Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:53Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall686767273/modules/test-type Download /tmp/TestStandaloneModuleInstall686767273/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall686767273/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall686767273/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:53Z" level=debug msg="Module supports rollback" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall686767273/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall686767273/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall686767273/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall686767273/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:53Z" 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="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall686767273/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall686767273/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:53Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:53Z" level=error msg="Error when executing ArtifactRollback_Enter scripts: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall686767273/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall686767273/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:53Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall686767273/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall686767273/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall686767273/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall686767273/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactRollback time="2021-10-14T07:59:53Z" level=debug msg="Starting device update." time="2021-10-14T07:59:53Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall499810630/artifact.mender]" time="2021-10-14T07:59:53Z" level=debug msg="Fetching update from file results: [&{0xc00063a1e0}], 5632, " Installing Artifact of size 5632... time="2021-10-14T07:59:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall499810630/device_type" time="2021-10-14T07:59:53Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:53Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T07:59:53Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:59:53Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T07:59:53Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall499810630/artifact_info file." time="2021-10-14T07:59:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall499810630/artifact_info" time="2021-10-14T07:59:53Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:53Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T07:59:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall499810630/artifact_info" time="2021-10-14T07:59:53Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall499810630/device_type" time="2021-10-14T07:59:53Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:53Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall499810630/modules/test-type Download /tmp/TestStandaloneModuleInstall499810630/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall499810630/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall499810630/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:53Z" level=debug msg="Module supports rollback" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall499810630/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall499810630/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall499810630/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall499810630/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:53Z" 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="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall499810630/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall499810630/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:53Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall499810630/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall499810630/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T07:59:53Z" level=error msg="Error when executing ArtifactRollback state: Update module terminated abnormally: exit status 1" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:53Z" level=error msg="Error rolling back: Update module terminated abnormally: exit status 1" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall499810630/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall499810630/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall499810630/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall499810630/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Leave_00 time="2021-10-14T07:59:53Z" level=debug msg="Starting device update." time="2021-10-14T07:59:53Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall449792167/artifact.mender]" time="2021-10-14T07:59:53Z" level=debug msg="Fetching update from file results: [&{0xc0002963c0}], 5632, " Installing Artifact of size 5632... time="2021-10-14T07:59:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall449792167/device_type" time="2021-10-14T07:59:53Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:53Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T07:59:53Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:59:53Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T07:59:53Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall449792167/artifact_info file." time="2021-10-14T07:59:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall449792167/artifact_info" time="2021-10-14T07:59:53Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:53Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T07:59:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall449792167/artifact_info" time="2021-10-14T07:59:53Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall449792167/device_type" time="2021-10-14T07:59:53Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:53Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall449792167/modules/test-type Download /tmp/TestStandaloneModuleInstall449792167/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall449792167/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall449792167/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:53Z" level=debug msg="Module supports rollback" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall449792167/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall449792167/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall449792167/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall449792167/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:53Z" 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="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall449792167/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall449792167/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:53Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall449792167/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall449792167/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:53Z" level=error msg="Error when executing ArtifactFailure_Leave scripts: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" time="2021-10-14T07:59:53Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall449792167/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall449792167/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall449792167/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall449792167/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Enter_00 time="2021-10-14T07:59:53Z" level=debug msg="Starting device update." time="2021-10-14T07:59:53Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall792703516/artifact.mender]" time="2021-10-14T07:59:53Z" level=debug msg="Fetching update from file results: [&{0xc00064a240}], 5632, " Installing Artifact of size 5632... time="2021-10-14T07:59:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall792703516/device_type" time="2021-10-14T07:59:53Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:53Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T07:59:53Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:59:53Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T07:59:53Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall792703516/artifact_info file." time="2021-10-14T07:59:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall792703516/artifact_info" time="2021-10-14T07:59:53Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:53Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T07:59:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall792703516/artifact_info" time="2021-10-14T07:59:53Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall792703516/device_type" time="2021-10-14T07:59:53Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:53Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall792703516/modules/test-type Download /tmp/TestStandaloneModuleInstall792703516/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall792703516/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall792703516/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:53Z" level=debug msg="Module supports rollback" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall792703516/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall792703516/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T07:59:53Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall792703516/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall792703516/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:53Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:53Z" level=error msg="Error when executing ArtifactRollback_Enter scripts: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall792703516/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall792703516/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:53Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall792703516/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall792703516/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall792703516/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall792703516/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback time="2021-10-14T07:59:53Z" level=debug msg="Starting device update." time="2021-10-14T07:59:53Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall332155701/artifact.mender]" time="2021-10-14T07:59:53Z" level=debug msg="Fetching update from file results: [&{0xc00063a060}], 5632, " Installing Artifact of size 5632... time="2021-10-14T07:59:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall332155701/device_type" time="2021-10-14T07:59:53Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:53Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T07:59:53Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:59:53Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T07:59:53Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall332155701/artifact_info file." time="2021-10-14T07:59:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall332155701/artifact_info" time="2021-10-14T07:59:53Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:53Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T07:59:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall332155701/artifact_info" time="2021-10-14T07:59:53Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall332155701/device_type" time="2021-10-14T07:59:53Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:53Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall332155701/modules/test-type Download /tmp/TestStandaloneModuleInstall332155701/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall332155701/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall332155701/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:53Z" level=debug msg="Module supports rollback" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall332155701/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall332155701/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T07:59:53Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall332155701/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall332155701/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:53Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall332155701/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall332155701/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T07:59:53Z" level=error msg="Error when executing ArtifactRollback state: Update module terminated abnormally: exit status 1" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:53Z" level=error msg="Error rolling back: Update module terminated abnormally: exit status 1" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall332155701/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall332155701/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall332155701/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall332155701/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Leave_00 time="2021-10-14T07:59:53Z" level=debug msg="Starting device update." time="2021-10-14T07:59:53Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall290891458/artifact.mender]" time="2021-10-14T07:59:53Z" level=debug msg="Fetching update from file results: [&{0xc00063a360}], 5632, " Installing Artifact of size 5632... time="2021-10-14T07:59:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall290891458/device_type" time="2021-10-14T07:59:53Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:53Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T07:59:53Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:59:53Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T07:59:53Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall290891458/artifact_info file." time="2021-10-14T07:59:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall290891458/artifact_info" time="2021-10-14T07:59:53Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:53Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T07:59:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall290891458/artifact_info" time="2021-10-14T07:59:53Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall290891458/device_type" time="2021-10-14T07:59:53Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:53Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall290891458/modules/test-type Download /tmp/TestStandaloneModuleInstall290891458/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall290891458/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall290891458/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:53Z" level=debug msg="Module supports rollback" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall290891458/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall290891458/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T07:59:53Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall290891458/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall290891458/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:53Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall290891458/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall290891458/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:53Z" level=error msg="Error when executing ArtifactFailure_Leave scripts: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" time="2021-10-14T07:59:53Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall290891458/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall290891458/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall290891458/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall290891458/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Hang_in_Download time="2021-10-14T07:59:53Z" level=debug msg="Starting device update." time="2021-10-14T07:59:53Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall539984851/artifact.mender]" time="2021-10-14T07:59:53Z" level=debug msg="Fetching update from file results: [&{0xc0001642a0}], 5632, " Installing Artifact of size 5632... time="2021-10-14T07:59:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall539984851/device_type" time="2021-10-14T07:59:53Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:53Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:53Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T07:59:53Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:59:53Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T07:59:53Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall539984851/artifact_info file." time="2021-10-14T07:59:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall539984851/artifact_info" time="2021-10-14T07:59:53Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:53Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T07:59:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall539984851/artifact_info" time="2021-10-14T07:59:53Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall539984851/device_type" time="2021-10-14T07:59:53Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:53Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:53Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T07:59:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall539984851/modules/test-type Download /tmp/TestStandaloneModuleInstall539984851/work/payloads/0000/tree" time="2021-10-14T07:59:53Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T07:59:58Z" level=error msg="Process 2463495 timed out. Sending SIGTERM" time="2021-10-14T07:59:58Z" level=error msg="Download failed: Update module terminated abnormally: signal: terminated" time="2021-10-14T07:59:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:58Z" level=debug msg="Executing script: Download_Error_00" time="2021-10-14T07:59:59Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T07:59:59Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall539984851/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall539984851/work/payloads/0000/tree" time="2021-10-14T07:59:59Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall539984851/artifact_info file." time="2021-10-14T07:59:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall539984851/artifact_info" time="2021-10-14T07:59:59Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:59Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Hang_in_ArtifactInstall time="2021-10-14T07:59:59Z" level=debug msg="Starting device update." time="2021-10-14T07:59:59Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall102619832/artifact.mender]" time="2021-10-14T07:59:59Z" level=debug msg="Fetching update from file results: [&{0xc000296600}], 5632, " Installing Artifact of size 5632... time="2021-10-14T07:59:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall102619832/device_type" time="2021-10-14T07:59:59Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:59Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:59Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T07:59:59Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:59:59Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T07:59:59Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T07:59:59Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T07:59:59Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T07:59:59Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:59Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T07:59:59Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T07:59:59Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T07:59:59Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T07:59:59Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T07:59:59Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T07:59:59Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T07:59:59Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T07:59:59Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T07:59:59Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T07:59:59Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T07:59:59Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T07:59:59Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T07:59:59Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T07:59:59Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T07:59:59Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall102619832/artifact_info file." time="2021-10-14T07:59:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall102619832/artifact_info" time="2021-10-14T07:59:59Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:59Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T07:59:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall102619832/artifact_info" time="2021-10-14T07:59:59Z" level=debug msg="artifact_name=old_name" time="2021-10-14T07:59:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall102619832/device_type" time="2021-10-14T07:59:59Z" level=debug msg="device_type=test-device" time="2021-10-14T07:59:59Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T07:59:59Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T07:59:59Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T07:59:59Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall102619832/modules/test-type Download /tmp/TestStandaloneModuleInstall102619832/work/payloads/0000/tree" time="2021-10-14T07:59:59Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB time="2021-10-14T07:59:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:59Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T07:59:59Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T07:59:59Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall102619832/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall102619832/work/payloads/0000/tree" time="2021-10-14T07:59:59Z" level=debug msg="Update module output: Yes" time="2021-10-14T07:59:59Z" level=debug msg="Module supports rollback" time="2021-10-14T07:59:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:59:59Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T07:59:59Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T07:59:59Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall102619832/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall102619832/work/payloads/0000/tree" time="2021-10-14T08:00:04Z" level=error msg="Process 2463504 timed out. Sending SIGTERM" time="2021-10-14T08:00:04Z" level=error msg="Update module terminated abnormally: signal: terminated" time="2021-10-14T08:00:04Z" level=error msg="Installation failed: Update module terminated abnormally: signal: terminated" time="2021-10-14T08:00:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:04Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:04Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:04Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall102619832/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall102619832/work/payloads/0000/tree" time="2021-10-14T08:00:04Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:04Z" level=debug msg="Module supports rollback" Rolling back Artifact... time="2021-10-14T08:00:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:04Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:04Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:04Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall102619832/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall102619832/work/payloads/0000/tree" time="2021-10-14T08:00:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:04Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:04Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:04Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:04Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall102619832/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall102619832/work/payloads/0000/tree" time="2021-10-14T08:00:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:04Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:04Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:04Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall102619832/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall102619832/work/payloads/0000/tree" time="2021-10-14T08:00:04Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall102619832/artifact_info file." time="2021-10-14T08:00:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall102619832/artifact_info" time="2021-10-14T08:00:04Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:04Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStandaloneModuleInstall (15.13s) --- PASS: TestStandaloneModuleInstall/Normal_install,_no_rollback (1.40s) --- PASS: TestStandaloneModuleInstall/Normal_install (0.53s) --- PASS: TestStandaloneModuleInstall/Normal_commit (0.11s) --- PASS: TestStandaloneModuleInstall/Normal_rollback (0.16s) --- PASS: TestStandaloneModuleInstall/Fail_in_Download_Enter_00 (0.02s) --- PASS: TestStandaloneModuleInstall/Fail_in_Download (0.07s) --- PASS: TestStandaloneModuleInstall/Fail_in_Download_Leave_00 (0.05s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Enter_00 (0.12s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall (0.15s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Leave_00 (0.10s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00 (0.12s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit (0.13s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00 (0.12s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00,_no_rollback (0.14s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit,_no_rollback (0.12s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00,_no_rollback (0.13s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Enter_00 (0.14s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback (0.13s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Leave_00 (0.18s) --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Enter_00 (0.12s) --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback (0.12s) --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Leave_00 (0.13s) --- PASS: TestStandaloneModuleInstall/Hang_in_Download (5.11s) --- PASS: TestStandaloneModuleInstall/Hang_in_ArtifactInstall (5.76s) === RUN TestStandaloneStoreAndRestore time="2021-10-14T08:00:04Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" standalone_test.go:1053: Running test: {Persist ArtifactName 0xc0004a2b00 []} time="2021-10-14T08:00:04Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" standalone_test.go:1053: Running test: {Persist ArtifactName and Artifact Group 0xc0004a2b40 []} time="2021-10-14T08:00:04Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" standalone_test.go:1053: Running test: {Persist ArtifactName and Artifact Group and TypeInfo 0xc0004a2b80 []} time="2021-10-14T08:00:04Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" --- PASS: TestStandaloneStoreAndRestore (0.01s) === RUN TestStateBase --- PASS: TestStateBase (0.00s) === RUN TestStateWait time="2021-10-14T08:00:04Z" level=debug msg="Wait complete" time="2021-10-14T08:00:04Z" level=info msg="Wait canceled" time="2021-10-14T08:00:04Z" level=info msg="Forced wake-up from sleep" --- PASS: TestStateWait (0.10s) === RUN TestStateError time="2021-10-14T08:00:04Z" level=info msg="Handling error state, current error: transient error: foo" time="2021-10-14T08:00:04Z" level=info msg="Handling error state, current error: fatal error: general error" --- PASS: TestStateError (0.00s) === RUN TestStateUpdateReportStatus time="2021-10-14T08:00:04Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:04Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:04Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:04Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:04Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:04Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:04Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:04Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:04Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:04Z" level=error msg="Failed to send status to server: transient error: report failed" time="2021-10-14T08:00:04Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:04Z" level=error msg="Failed to send status to server: transient error: test error sending status" time="2021-10-14T08:00:04Z" level=debug msg="Wait complete" time="2021-10-14T08:00:04Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:04Z" level=error msg="Failed to send status to server: transient error: test error sending status" time="2021-10-14T08:00:04Z" level=debug msg="Wait complete" time="2021-10-14T08:00:04Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:04Z" level=error msg="Failed to send status to server: transient error: test error sending status" time="2021-10-14T08:00:04Z" level=debug msg="Wait complete" time="2021-10-14T08:00:04Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:04Z" level=error msg="Failed to send status to server: transient error: test error sending status" time="2021-10-14T08:00:04Z" level=debug msg="Wait complete" time="2021-10-14T08:00:04Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:04Z" level=error msg="Failed to send status to server: transient error: test error sending status" time="2021-10-14T08:00:04Z" level=debug msg="Wait complete" time="2021-10-14T08:00:04Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:04Z" level=error msg="Failed to send status to server: transient error: test error sending status" time="2021-10-14T08:00:04Z" level=debug msg="Wait complete" time="2021-10-14T08:00:04Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:04Z" level=error msg="Failed to send status to server: transient error: test error sending status" time="2021-10-14T08:00:04Z" level=debug msg="Wait complete" time="2021-10-14T08:00:04Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:04Z" level=error msg="Failed to send status to server: transient error: test error sending status" time="2021-10-14T08:00:04Z" level=debug msg="Wait complete" time="2021-10-14T08:00:04Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:04Z" level=error msg="Failed to send status to server: transient error: test error sending status" time="2021-10-14T08:00:04Z" level=debug msg="Wait complete" time="2021-10-14T08:00:04Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:04Z" level=error msg="Failed to send status to server: transient error: test error sending status" time="2021-10-14T08:00:04Z" level=debug msg="Wait complete" time="2021-10-14T08:00:04Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:04Z" level=error msg="Failed to send status to server: transient error: test error sending status" time="2021-10-14T08:00:04Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:04Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:04Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" time="2021-10-14T08:00:04Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" time="2021-10-14T08:00:04Z" level=debug msg="Wait complete" time="2021-10-14T08:00:04Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:04Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:04Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" time="2021-10-14T08:00:04Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" time="2021-10-14T08:00:04Z" level=debug msg="Wait complete" time="2021-10-14T08:00:04Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:04Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:04Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" time="2021-10-14T08:00:04Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" time="2021-10-14T08:00:04Z" level=debug msg="Wait complete" time="2021-10-14T08:00:04Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:04Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:04Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" time="2021-10-14T08:00:04Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" time="2021-10-14T08:00:04Z" level=debug msg="Wait complete" time="2021-10-14T08:00:04Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:04Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:04Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" time="2021-10-14T08:00:04Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" time="2021-10-14T08:00:04Z" level=debug msg="Wait complete" time="2021-10-14T08:00:04Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:04Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:04Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" time="2021-10-14T08:00:04Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" time="2021-10-14T08:00:04Z" level=debug msg="Wait complete" time="2021-10-14T08:00:04Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:04Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:04Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" time="2021-10-14T08:00:04Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" time="2021-10-14T08:00:04Z" level=debug msg="Wait complete" time="2021-10-14T08:00:04Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:04Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:04Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" time="2021-10-14T08:00:04Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" time="2021-10-14T08:00:04Z" level=debug msg="Wait complete" time="2021-10-14T08:00:04Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:04Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:04Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" time="2021-10-14T08:00:04Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" time="2021-10-14T08:00:04Z" level=debug msg="Wait complete" time="2021-10-14T08:00:04Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:04Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:04Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" time="2021-10-14T08:00:04Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" time="2021-10-14T08:00:04Z" level=debug msg="Wait complete" time="2021-10-14T08:00:04Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:04Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:04Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" time="2021-10-14T08:00:04Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" time="2021-10-14T08:00:04Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:04Z" level=error msg="Failed to send status to server: fatal error: deployment was aborted" time="2021-10-14T08:00:04Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:04Z" level=error msg="Failed to send status to server: fatal error: deployment was aborted" --- PASS: TestStateUpdateReportStatus (0.03s) === RUN TestStateIdle --- PASS: TestStateIdle (0.00s) === RUN TestStateAuthorize time="2021-10-14T08:00:04Z" level=debug msg="Handle authorize state" time="2021-10-14T08:00:04Z" level=debug msg="Handle authorize state" time="2021-10-14T08:00:04Z" level=error msg="Authorize failed: transient error: auth fail temp" time="2021-10-14T08:00:04Z" level=debug msg="Handle authorize state" time="2021-10-14T08:00:04Z" level=error msg="Authorize failed: fatal error: auth error" --- PASS: TestStateAuthorize (0.00s) === RUN TestStateUpdateCommit time="2021-10-14T08:00:04Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:04Z" level=debug msg="Handle update commit state" time="2021-10-14T08:00:04Z" level=debug msg="Committing new artifact name: TestName" time="2021-10-14T08:00:04Z" level=debug msg="Committing new artifact group name: TestGroup" time="2021-10-14T08:00:04Z" level=debug msg="Committing new artifact type-info provides" --- PASS: TestStateUpdateCommit (0.00s) === RUN TestStateInvetoryUpdate time="2021-10-14T08:00:04Z" level=warning msg="Failed to refresh inventory: some err" time="2021-10-14T08:00:04Z" level=debug msg="Inventory refresh complete" time="2021-10-14T08:00:04Z" level=warning msg="Failed to refresh inventory: cannot determine current artifact name" --- PASS: TestStateInvetoryUpdate (0.00s) === RUN TestStateAuthorizeWait time="2021-10-14T08:00:04Z" level=debug msg="Handle authorize wait state" time="2021-10-14T08:00:04Z" level=debug msg="Wait 0s before next authorization attempt" time="2021-10-14T08:00:04Z" level=debug msg="Handle authorize wait state" time="2021-10-14T08:00:04Z" level=debug msg="Wait 99.945448ms before next authorization attempt" time="2021-10-14T08:00:05Z" level=debug msg="Wait complete" time="2021-10-14T08:00:05Z" level=debug msg="Handle authorize wait state" time="2021-10-14T08:00:05Z" level=debug msg="Wait 99.663989ms before next authorization attempt" time="2021-10-14T08:00:05Z" level=info msg="Wait canceled" --- PASS: TestStateAuthorizeWait (0.10s) === RUN TestStateUpdateCheckWait time="2021-10-14T08:00:05Z" level=debug msg="Handle check wait state" time="2021-10-14T08:00:05Z" level=debug msg="Check wait state; next checks: (update: 0001-01-01 00:00:00.01 +0000 UTC) (inventory: 0001-01-01 00:00:00 +0000 UTC)" time="2021-10-14T08:00:05Z" level=debug msg="Next check: 0001-01-01 00:00:00 +0000 UTC:inventory-update, (2021-10-14 08:00:05.055254184 +0000 UTC m=+179.724712794)" time="2021-10-14T08:00:05Z" level=debug msg="Check wait returned: inventory-update" time="2021-10-14T08:00:05Z" level=debug msg="Handle check wait state" time="2021-10-14T08:00:05Z" level=debug msg="Check wait state; next checks: (update: 0001-01-01 00:00:00.01 +0000 UTC) (inventory: 2021-10-14 08:00:05.075295444 +0000 UTC m=+179.744754056)" time="2021-10-14T08:00:05Z" level=debug msg="Next check: 0001-01-01 00:00:00.01 +0000 UTC:update-check, (2021-10-14 08:00:05.055397719 +0000 UTC m=+179.724856332)" time="2021-10-14T08:00:05Z" level=debug msg="Check wait returned: update-check" time="2021-10-14T08:00:05Z" level=debug msg="Handle check wait state" time="2021-10-14T08:00:05Z" level=debug msg="Check wait state; next checks: (update: 2021-10-14 08:00:05.065431233 +0000 UTC m=+179.734889845) (inventory: 2021-10-14 08:00:05.075295444 +0000 UTC m=+179.744754056)" time="2021-10-14T08:00:05Z" level=debug msg="Next check: 2021-10-14 08:00:05.065431233 +0000 UTC m=+179.734889845:update-check, (2021-10-14 08:00:05.055529855 +0000 UTC m=+179.724988465)" time="2021-10-14T08:00:05Z" level=debug msg="Waiting 9.90138ms for the next state" time="2021-10-14T08:00:05Z" level=debug msg="Wait complete" time="2021-10-14T08:00:05Z" level=debug msg="Handle check wait state" time="2021-10-14T08:00:05Z" level=debug msg="Check wait state; next checks: (update: 2021-10-14 08:00:05.075658008 +0000 UTC m=+179.745116617) (inventory: 2021-10-14 08:00:05.075295444 +0000 UTC m=+179.744754056)" time="2021-10-14T08:00:05Z" level=debug msg="Next check: 2021-10-14 08:00:05.075295444 +0000 UTC m=+179.744754056:inventory-update, (2021-10-14 08:00:05.065759483 +0000 UTC m=+179.735218089)" time="2021-10-14T08:00:05Z" level=debug msg="Waiting 9.535967ms for the next state" time="2021-10-14T08:00:05Z" level=debug msg="Wait complete" time="2021-10-14T08:00:05Z" level=debug msg="Handle check wait state" time="2021-10-14T08:00:05Z" level=debug msg="Check wait state; next checks: (update: 2021-10-14 08:00:05.165658008 +0000 UTC m=+179.835116617) (inventory: 2021-10-14 08:00:05.175295444 +0000 UTC m=+179.844754056)" time="2021-10-14T08:00:05Z" level=debug msg="Next check: 2021-10-14 08:00:05.165658008 +0000 UTC m=+179.835116617:update-check, (2021-10-14 08:00:05.07569024 +0000 UTC m=+179.745148839)" time="2021-10-14T08:00:05Z" level=debug msg="Waiting 89.967778ms for the next state" time="2021-10-14T08:00:05Z" level=info msg="Wait canceled" --- PASS: TestStateUpdateCheckWait (0.02s) === RUN TestStateUpdateCheck time="2021-10-14T08:00:05Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:05Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:05Z" level=error msg="Update check failed: transient error: check failed" time="2021-10-14T08:00:05Z" level=debug msg="Handle update check state" --- PASS: TestStateUpdateCheck (0.00s) === RUN TestUpdateCheckSameImage time="2021-10-14T08:00:05Z" level=debug msg="Handle update check state" --- PASS: TestUpdateCheckSameImage (0.00s) === RUN TestStateUpdateFetch time="2021-10-14T08:00:05Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:05Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:05Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:05Z" level=error msg="Could not write state data to persistent storage: read only" time="2021-10-14T08:00:05Z" level=error msg="fatal error: read only" time="2021-10-14T08:00:05Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:05Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:05Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:05Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:05Z" 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="2021-10-14T08:00:05Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:05Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2021-10-14T08:00:05Z" level=debug msg="Handle fetch install retry state" time="2021-10-14T08:00:05Z" level=debug msg="Wait 1m0s before next fetch/install attempt" time="2021-10-14T08:00:05Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2021-10-14T08:00:05Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:05Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2021-10-14T08:00:05Z" level=debug msg="Handle fetch install retry state" time="2021-10-14T08:00:05Z" level=debug msg="Wait 1m0s before next fetch/install attempt" time="2021-10-14T08:00:05Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2021-10-14T08:00:05Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:05Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2021-10-14T08:00:05Z" level=debug msg="Handle fetch install retry state" time="2021-10-14T08:00:05Z" level=debug msg="Wait 1m0s before next fetch/install attempt" time="2021-10-14T08:00:05Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2021-10-14T08:00:05Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:05Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2021-10-14T08:00:05Z" level=debug msg="Handle fetch install retry state" time="2021-10-14T08:00:05Z" level=debug msg="Wait 2m0s before next fetch/install attempt" time="2021-10-14T08:00:05Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2021-10-14T08:00:05Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:05Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2021-10-14T08:00:05Z" level=debug msg="Handle fetch install retry state" time="2021-10-14T08:00:05Z" level=debug msg="Wait 2m0s before next fetch/install attempt" time="2021-10-14T08:00:05Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2021-10-14T08:00:05Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:05Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2021-10-14T08:00:05Z" level=debug msg="Handle fetch install retry state" time="2021-10-14T08:00:05Z" level=debug msg="Wait 2m0s before next fetch/install attempt" time="2021-10-14T08:00:05Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2021-10-14T08:00:05Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:05Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2021-10-14T08:00:05Z" level=debug msg="Handle fetch install retry state" time="2021-10-14T08:00:05Z" level=debug msg="Wait 4m0s before next fetch/install attempt" time="2021-10-14T08:00:05Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2021-10-14T08:00:05Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:05Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2021-10-14T08:00:05Z" level=debug msg="Handle fetch install retry state" time="2021-10-14T08:00:05Z" level=debug msg="Wait 4m0s before next fetch/install attempt" time="2021-10-14T08:00:05Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2021-10-14T08:00:05Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:05Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2021-10-14T08:00:05Z" level=debug msg="Handle fetch install retry state" time="2021-10-14T08:00:05Z" level=debug msg="Wait 4m0s before next fetch/install attempt" time="2021-10-14T08:00:05Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2021-10-14T08:00:05Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:05Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2021-10-14T08:00:05Z" level=debug msg="Handle fetch install retry state" time="2021-10-14T08:00:05Z" level=debug msg="Wait 5m0s before next fetch/install attempt" time="2021-10-14T08:00:05Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2021-10-14T08:00:05Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:05Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2021-10-14T08:00:05Z" level=debug msg="Handle fetch install retry state" time="2021-10-14T08:00:05Z" level=debug msg="Wait 5m0s before next fetch/install attempt" time="2021-10-14T08:00:05Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2021-10-14T08:00:05Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:05Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2021-10-14T08:00:05Z" level=debug msg="Handle fetch install retry state" time="2021-10-14T08:00:05Z" level=debug msg="Wait 5m0s before next fetch/install attempt" time="2021-10-14T08:00:05Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2021-10-14T08:00:05Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:05Z" level=error msg="Update fetch failed: transient error: fetch failed" time="2021-10-14T08:00:05Z" level=debug msg="Handle fetch install retry state" --- PASS: TestStateUpdateFetchRetry (0.00s) === RUN TestStateUpdateStore time="2021-10-14T08:00:05Z" level=error msg="fatal error: test failure" time="2021-10-14T08:00:05Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:05Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:05Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:05Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" time="2021-10-14T08:00:05Z" level=debug msg="Handling update install state" --- PASS: TestStateUpdateStore (0.01s) === RUN TestUpdateStoreDependencies time="2021-10-14T08:00:05Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:05Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:05Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:05Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" time="2021-10-14T08:00:05Z" level=error msg="Artifact dependency \"artifact_name\" not satisfied by currently installed artifact ([OtherArtifact] != )." time="2021-10-14T08:00:05Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:05Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:05Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" time="2021-10-14T08:00:05Z" level=error msg="Artifact dependency \"artifact_name\" not satisfied by currently installed artifact ([OtherArtifact] != NonExistingArtie)." time="2021-10-14T08:00:05Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:05Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:05Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" time="2021-10-14T08:00:05Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([TestGroup] != )." time="2021-10-14T08:00:05Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:05Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:05Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" time="2021-10-14T08:00:05Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([TestGroup] != WrongGroup)." time="2021-10-14T08:00:05Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:05Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:05Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" --- PASS: TestUpdateStoreDependencies (0.01s) === RUN TestStateWrongArtifactNameFromServer time="2021-10-14T08:00:05Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:05Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:05Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:05Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" time="2021-10-14T08:00:05Z" level=error msg="Artifact name in artifact is not what the server claims (TestName != WrongName)." --- PASS: TestStateWrongArtifactNameFromServer (0.01s) === RUN TestStateUpdateInstallRetry time="2021-10-14T08:00:05Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:05Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:05Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:05Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" time="2021-10-14T08:00:05Z" level=debug msg="Handle fetch install retry state" time="2021-10-14T08:00:05Z" level=debug msg="Wait 1m0s before next fetch/install attempt" time="2021-10-14T08:00:05Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2021-10-14T08:00:05Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:05Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:05Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:05Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" time="2021-10-14T08:00:05Z" level=debug msg="Handle fetch install retry state" time="2021-10-14T08:00:05Z" level=debug msg="Wait 1m0s before next fetch/install attempt" time="2021-10-14T08:00:05Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2021-10-14T08:00:05Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:05Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:05Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:05Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" time="2021-10-14T08:00:05Z" level=debug msg="Handle fetch install retry state" time="2021-10-14T08:00:05Z" level=debug msg="Wait 1m0s before next fetch/install attempt" time="2021-10-14T08:00:05Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2021-10-14T08:00:05Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:05Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:05Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:05Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" time="2021-10-14T08:00:05Z" level=debug msg="Handle fetch install retry state" time="2021-10-14T08:00:05Z" level=debug msg="Wait 2m0s before next fetch/install attempt" time="2021-10-14T08:00:05Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2021-10-14T08:00:05Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:05Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:05Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:05Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" time="2021-10-14T08:00:05Z" level=debug msg="Handle fetch install retry state" time="2021-10-14T08:00:05Z" level=debug msg="Wait 2m0s before next fetch/install attempt" time="2021-10-14T08:00:05Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2021-10-14T08:00:05Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:05Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:05Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:05Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" time="2021-10-14T08:00:05Z" level=debug msg="Handle fetch install retry state" time="2021-10-14T08:00:05Z" level=debug msg="Wait 2m0s before next fetch/install attempt" time="2021-10-14T08:00:05Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2021-10-14T08:00:05Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:05Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:05Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:05Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" time="2021-10-14T08:00:05Z" level=debug msg="Handle fetch install retry state" time="2021-10-14T08:00:05Z" level=debug msg="Wait 4m0s before next fetch/install attempt" time="2021-10-14T08:00:05Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2021-10-14T08:00:05Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:05Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:05Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:05Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" time="2021-10-14T08:00:05Z" level=debug msg="Handle fetch install retry state" time="2021-10-14T08:00:05Z" level=debug msg="Wait 4m0s before next fetch/install attempt" time="2021-10-14T08:00:05Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2021-10-14T08:00:05Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:05Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:05Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:05Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" time="2021-10-14T08:00:05Z" level=debug msg="Handle fetch install retry state" time="2021-10-14T08:00:05Z" level=debug msg="Wait 4m0s before next fetch/install attempt" time="2021-10-14T08:00:05Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2021-10-14T08:00:05Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:05Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:05Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:05Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" time="2021-10-14T08:00:05Z" level=debug msg="Handle fetch install retry state" time="2021-10-14T08:00:05Z" level=debug msg="Wait 5m0s before next fetch/install attempt" time="2021-10-14T08:00:05Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2021-10-14T08:00:05Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:05Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:05Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:05Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" time="2021-10-14T08:00:05Z" level=debug msg="Handle fetch install retry state" time="2021-10-14T08:00:05Z" level=debug msg="Wait 5m0s before next fetch/install attempt" time="2021-10-14T08:00:05Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2021-10-14T08:00:05Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:05Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:05Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:05Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" time="2021-10-14T08:00:05Z" level=debug msg="Handle fetch install retry state" time="2021-10-14T08:00:05Z" level=debug msg="Wait 5m0s before next fetch/install attempt" time="2021-10-14T08:00:05Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" time="2021-10-14T08:00:05Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:05Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:05Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:05Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" time="2021-10-14T08:00:05Z" level=debug msg="Handle fetch install retry state" --- PASS: TestStateUpdateInstallRetry (0.00s) === RUN TestStateFinal --- PASS: TestStateFinal (0.00s) === RUN TestStateData --- PASS: TestStateData (0.00s) === RUN TestStateReportError time="2021-10-14T08:00:05Z" level=error msg="Handling report error state with status: success" time="2021-10-14T08:00:05Z" level=error msg="Handling report error state with status: failure" time="2021-10-14T08:00:05Z" level=error msg="Error while performing update: failure ({{{ } [] [] map[]} foobar [] 0 false})" time="2021-10-14T08:00:05Z" 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="2021-10-14T08:00:05Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:05Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:05Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:05Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:05Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:05Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:05Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:05Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules035703019/device_type" time="2021-10-14T08:00:05Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:05Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:05Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:05Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:05Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:05Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules035703019/artifact_info file." time="2021-10-14T08:00:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules035703019/artifact_info" time="2021-10-14T08:00:05Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:05Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules035703019/artifact_info" time="2021-10-14T08:00:05Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules035703019/device_type" time="2021-10-14T08:00:05Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:05Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:05Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules035703019/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules035703019/work/payloads/0000/tree" time="2021-10-14T08:00:05Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules035703019/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules035703019/work/payloads/0000/tree" time="2021-10-14T08:00:05Z" level=debug msg="Update module output: No" time="2021-10-14T08:00:05Z" level=debug msg="Module does not support rollback" time="2021-10-14T08:00:05Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:05Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:05Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:05Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:05Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules035703019/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules035703019/work/payloads/0000/tree" time="2021-10-14T08:00:05Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules035703019/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules035703019/work/payloads/0000/tree" time="2021-10-14T08:00:05Z" level=debug msg="Update module output: No" time="2021-10-14T08:00:05Z" level=debug msg="Module does not need reboot" time="2021-10-14T08:00:05Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" time="2021-10-14T08:00:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:05Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:05Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:05Z" level=debug msg="Handle update commit state" time="2021-10-14T08:00:05Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2021-10-14T08:00:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules035703019/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules035703019/work/payloads/0000/tree" time="2021-10-14T08:00:05Z" level=debug msg="Committing new artifact name: artifact-name" time="2021-10-14T08:00:05Z" level=debug msg="Committing new artifact group name: " time="2021-10-14T08:00:05Z" level=debug msg="Committing new artifact type-info provides" time="2021-10-14T08:00:05Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" time="2021-10-14T08:00:05Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" time="2021-10-14T08:00:05Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2021-10-14T08:00:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:05Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:05Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:05Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules035703019/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules035703019/work/payloads/0000/tree" time="2021-10-14T08:00:05Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" time="2021-10-14T08:00:05Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:05Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:05Z" level=debug msg="Returning artifact name artifact-name from database." --- PASS: TestStateTransitionsWithUpdateModules (0.62s) PASS === RUN TestStateTransitionsWithUpdateModules/Normal_install,_no_rollback state_test.go:4717: Normal install, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:05Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:05Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:05Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:05Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:05Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:05Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:05Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:05Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules646190000/device_type" time="2021-10-14T08:00:05Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:05Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:05Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:05Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:05Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:05Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules646190000/artifact_info file." time="2021-10-14T08:00:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules646190000/artifact_info" time="2021-10-14T08:00:05Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:05Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules646190000/artifact_info" time="2021-10-14T08:00:05Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules646190000/device_type" time="2021-10-14T08:00:05Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:05Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:05Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:05Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules646190000/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules646190000/work/payloads/0000/tree" time="2021-10-14T08:00:05Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules646190000/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules646190000/work/payloads/0000/tree" time="2021-10-14T08:00:05Z" level=debug msg="Update module output: No" time="2021-10-14T08:00:05Z" level=debug msg="Module does not support rollback" time="2021-10-14T08:00:05Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:05Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:05Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:06Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:06Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules646190000/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules646190000/work/payloads/0000/tree" time="2021-10-14T08:00:06Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules646190000/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules646190000/work/payloads/0000/tree" time="2021-10-14T08:00:06Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:06Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:06Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:06Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:06Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:06Z" level=debug msg="Handling reboot state" time="2021-10-14T08:00:06Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:00:06Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2021-10-14T08:00:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules646190000/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules646190000/work/payloads/0000/tree" time="2021-10-14T08:00:06Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:06Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2021-10-14T08:00:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules646190000/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules646190000/work/payloads/0000/tree" time="2021-10-14T08:00:06Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:06Z" level=debug msg="Handling state after reboot" time="2021-10-14T08:00:06Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2021-10-14T08:00:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:06Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:06Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:06Z" level=debug msg="Handle update commit state" time="2021-10-14T08:00:06Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2021-10-14T08:00:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules646190000/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules646190000/work/payloads/0000/tree" time="2021-10-14T08:00:06Z" level=debug msg="Committing new artifact name: artifact-name" time="2021-10-14T08:00:06Z" level=debug msg="Committing new artifact group name: " time="2021-10-14T08:00:06Z" level=debug msg="Committing new artifact type-info provides" time="2021-10-14T08:00:06Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" time="2021-10-14T08:00:06Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" time="2021-10-14T08:00:06Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2021-10-14T08:00:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:06Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:06Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:06Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules646190000/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules646190000/work/payloads/0000/tree" time="2021-10-14T08:00:06Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" time="2021-10-14T08:00:06Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:06Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:06Z" level=debug msg="Returning artifact name artifact-name from database." --- PASS: TestStateTransitionsWithUpdateModules (0.20s) PASS === RUN TestStateTransitionsWithUpdateModules/Normal_install state_test.go:4717: Normal install state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:06Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:06Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:06Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:06Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:06Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:06Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:06Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:06Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules009990233/device_type" time="2021-10-14T08:00:06Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:06Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:06Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:06Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:06Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:06Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules009990233/artifact_info file." time="2021-10-14T08:00:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules009990233/artifact_info" time="2021-10-14T08:00:06Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:06Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules009990233/artifact_info" time="2021-10-14T08:00:06Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules009990233/device_type" time="2021-10-14T08:00:06Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:06Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:06Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules009990233/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules009990233/work/payloads/0000/tree" time="2021-10-14T08:00:06Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:06Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules009990233/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules009990233/work/payloads/0000/tree" time="2021-10-14T08:00:06Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:06Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:06Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:06Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:06Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:06Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:06Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules009990233/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules009990233/work/payloads/0000/tree" time="2021-10-14T08:00:06Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules009990233/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules009990233/work/payloads/0000/tree" time="2021-10-14T08:00:06Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:06Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:06Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:06Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:06Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:06Z" level=debug msg="Handling reboot state" time="2021-10-14T08:00:06Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:00:06Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2021-10-14T08:00:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules009990233/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules009990233/work/payloads/0000/tree" time="2021-10-14T08:00:06Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:06Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2021-10-14T08:00:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules009990233/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules009990233/work/payloads/0000/tree" time="2021-10-14T08:00:06Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:06Z" level=debug msg="Handling state after reboot" time="2021-10-14T08:00:06Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2021-10-14T08:00:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:06Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:06Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:06Z" level=debug msg="Handle update commit state" time="2021-10-14T08:00:06Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2021-10-14T08:00:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules009990233/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules009990233/work/payloads/0000/tree" time="2021-10-14T08:00:06Z" level=debug msg="Committing new artifact name: artifact-name" time="2021-10-14T08:00:06Z" level=debug msg="Committing new artifact group name: " time="2021-10-14T08:00:06Z" level=debug msg="Committing new artifact type-info provides" time="2021-10-14T08:00:06Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" time="2021-10-14T08:00:06Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" time="2021-10-14T08:00:06Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2021-10-14T08:00:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:06Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:06Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:06Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules009990233/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules009990233/work/payloads/0000/tree" time="2021-10-14T08:00:06Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" time="2021-10-14T08:00:06Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:06Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:06Z" level=debug msg="Returning artifact name artifact-name from database." --- PASS: TestStateTransitionsWithUpdateModules (0.24s) 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="2021-10-14T08:00:06Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:06Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:06Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:06Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:06Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:06Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:06Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:06Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules283094198/device_type" time="2021-10-14T08:00:06Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:06Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:06Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:06Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:06Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:06Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules283094198/artifact_info file." time="2021-10-14T08:00:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules283094198/artifact_info" time="2021-10-14T08:00:06Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:06Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules283094198/artifact_info" time="2021-10-14T08:00:06Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules283094198/device_type" time="2021-10-14T08:00:06Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:06Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:06Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules283094198/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules283094198/work/payloads/0000/tree" time="2021-10-14T08:00:06Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:06Z" level=error msg="Artifact install failed: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:06Z" level=info msg="State transition: update-store [Download_Enter] -> cleanup [Error]" time="2021-10-14T08:00:06Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:06Z" level=debug msg="Executing script: Download_Error_00" time="2021-10-14T08:00:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:06Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:06Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules283094198/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules283094198/work/payloads/0000/tree" time="2021-10-14T08:00:06Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:06Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:06Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:06Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:06Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules283094198/artifact_info file." time="2021-10-14T08:00:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules283094198/artifact_info" time="2021-10-14T08:00:06Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:06Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.13s) 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="2021-10-14T08:00:06Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:06Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:06Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:06Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:06Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:06Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:06Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:06Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules720705239/device_type" time="2021-10-14T08:00:06Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:06Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:06Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:06Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:06Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:06Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules720705239/artifact_info file." time="2021-10-14T08:00:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules720705239/artifact_info" time="2021-10-14T08:00:06Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:06Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules720705239/artifact_info" time="2021-10-14T08:00:06Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules720705239/device_type" time="2021-10-14T08:00:06Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:06Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:06Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:06Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules720705239/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules720705239/work/payloads/0000/tree" time="2021-10-14T08:00:06Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 2 (*app.updateCleanupState) time="2021-10-14T08:00:06Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:06Z" level=info msg="Handling loaded state: update-store" time="2021-10-14T08:00:06Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:06Z" level=error msg="Mender shut down in state: update-store" time="2021-10-14T08:00:06Z" level=info msg="State transition: init [none] -> cleanup [Error]" time="2021-10-14T08:00:06Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:06Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:06Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules720705239/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules720705239/work/payloads/0000/tree" time="2021-10-14T08:00:06Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:06Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:06Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:06Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:06Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules720705239/artifact_info file." time="2021-10-14T08:00:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules720705239/artifact_info" time="2021-10-14T08:00:06Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:06Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.01s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_state,_no_rollback state_test.go:4717: Error in ArtifactInstall state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:06Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:06Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:06Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:06Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:06Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:06Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:06Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:06Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules950155788/device_type" time="2021-10-14T08:00:06Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:06Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:06Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:07Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:07Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:07Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules950155788/artifact_info file." time="2021-10-14T08:00:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules950155788/artifact_info" time="2021-10-14T08:00:07Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:07Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules950155788/artifact_info" time="2021-10-14T08:00:07Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules950155788/device_type" time="2021-10-14T08:00:07Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:07Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:07Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules950155788/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules950155788/work/payloads/0000/tree" time="2021-10-14T08:00:07Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:07Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules950155788/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules950155788/work/payloads/0000/tree" time="2021-10-14T08:00:07Z" level=debug msg="Update module output: No" time="2021-10-14T08:00:07Z" level=debug msg="Module does not support rollback" time="2021-10-14T08:00:07Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:07Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:07Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:07Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:07Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules950155788/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules950155788/work/payloads/0000/tree" time="2021-10-14T08:00:07Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:07Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:07Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" time="2021-10-14T08:00:07Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:07Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:07Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:07Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:07Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:07Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules950155788/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules950155788/work/payloads/0000/tree" time="2021-10-14T08:00:07Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:07Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:07Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:07Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules950155788/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules950155788/work/payloads/0000/tree" time="2021-10-14T08:00:07Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:07Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:07Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:07Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:07Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." --- PASS: TestStateTransitionsWithUpdateModules (0.15s) 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="2021-10-14T08:00:07Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:07Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:07Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:07Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:07Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:07Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:07Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:07Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules756603365/device_type" time="2021-10-14T08:00:07Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:07Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:07Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:07Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:07Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:07Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules756603365/artifact_info file." time="2021-10-14T08:00:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules756603365/artifact_info" time="2021-10-14T08:00:07Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:07Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules756603365/artifact_info" time="2021-10-14T08:00:07Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules756603365/device_type" time="2021-10-14T08:00:07Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:07Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:07Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules756603365/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules756603365/work/payloads/0000/tree" time="2021-10-14T08:00:07Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:07Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules756603365/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules756603365/work/payloads/0000/tree" time="2021-10-14T08:00:07Z" level=debug msg="Update module output: No" time="2021-10-14T08:00:07Z" level=debug msg="Module does not support rollback" time="2021-10-14T08:00:07Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:07Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:07Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:07Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:07Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules756603365/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules756603365/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="2021-10-14T08:00:07Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:07Z" level=info msg="Handling loaded state: update-install" time="2021-10-14T08:00:07Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:07Z" level=error msg="Mender shut down in state: update-install" time="2021-10-14T08:00:07Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" time="2021-10-14T08:00:07Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:07Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:07Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:07Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:07Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules756603365/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules756603365/work/payloads/0000/tree" time="2021-10-14T08:00:07Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:07Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:07Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:07Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules756603365/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules756603365/work/payloads/0000/tree" time="2021-10-14T08:00:07Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:07Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:07Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:07Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:07Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." --- PASS: TestStateTransitionsWithUpdateModules (0.02s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall state_test.go:4717: Error in ArtifactInstall state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:07Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:07Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:07Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:07Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:07Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:07Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:07Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:07Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules154538802/device_type" time="2021-10-14T08:00:07Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:07Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:07Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:07Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:07Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:07Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules154538802/artifact_info file." time="2021-10-14T08:00:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules154538802/artifact_info" time="2021-10-14T08:00:07Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:07Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules154538802/artifact_info" time="2021-10-14T08:00:07Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules154538802/device_type" time="2021-10-14T08:00:07Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:07Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:07Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules154538802/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules154538802/work/payloads/0000/tree" time="2021-10-14T08:00:07Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:07Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules154538802/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules154538802/work/payloads/0000/tree" time="2021-10-14T08:00:07Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:07Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:07Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:07Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:07Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:07Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:07Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules154538802/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules154538802/work/payloads/0000/tree" time="2021-10-14T08:00:07Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:07Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:07Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:07Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:07Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:07Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:07Z" level=info msg="Performing rollback" time="2021-10-14T08:00:07Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules154538802/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules154538802/work/payloads/0000/tree" time="2021-10-14T08:00:07Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:07Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:07Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:07Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:07Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules154538802/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules154538802/work/payloads/0000/tree" time="2021-10-14T08:00:07Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:07Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:07Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:07Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules154538802/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules154538802/work/payloads/0000/tree" time="2021-10-14T08:00:07Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:07Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:07Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:07Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:07Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules154538802/artifact_info file." time="2021-10-14T08:00:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules154538802/artifact_info" time="2021-10-14T08:00:07Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:07Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.13s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall state_test.go:4717: Killed in ArtifactInstall state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:07Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:07Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:07Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:07Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:07Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:07Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:07Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:07Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules147825923/device_type" time="2021-10-14T08:00:07Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:07Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:07Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:07Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:07Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:07Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules147825923/artifact_info file." time="2021-10-14T08:00:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules147825923/artifact_info" time="2021-10-14T08:00:07Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:07Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules147825923/artifact_info" time="2021-10-14T08:00:07Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules147825923/device_type" time="2021-10-14T08:00:07Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:07Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:07Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:07Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules147825923/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules147825923/work/payloads/0000/tree" time="2021-10-14T08:00:07Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:07Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules147825923/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules147825923/work/payloads/0000/tree" time="2021-10-14T08:00:07Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:07Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:07Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:07Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:07Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:07Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:07Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules147825923/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules147825923/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="2021-10-14T08:00:08Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:08Z" level=info msg="Handling loaded state: update-install" time="2021-10-14T08:00:08Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:08Z" level=error msg="Mender shut down in state: update-install" time="2021-10-14T08:00:08Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:08Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=info msg="Performing rollback" time="2021-10-14T08:00:08Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules147825923/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules147825923/work/payloads/0000/tree" time="2021-10-14T08:00:08Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:08Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules147825923/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules147825923/work/payloads/0000/tree" time="2021-10-14T08:00:08Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:08Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules147825923/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules147825923/work/payloads/0000/tree" time="2021-10-14T08:00:08Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:08Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:08Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:08Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules147825923/artifact_info file." time="2021-10-14T08:00:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules147825923/artifact_info" time="2021-10-14T08:00:08Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:08Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.05s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot state_test.go:4717: Error in ArtifactReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:08Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:08Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:08Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:08Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:08Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules246272936/device_type" time="2021-10-14T08:00:08Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:08Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:08Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:08Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:08Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:08Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules246272936/artifact_info file." time="2021-10-14T08:00:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules246272936/artifact_info" time="2021-10-14T08:00:08Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:08Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules246272936/artifact_info" time="2021-10-14T08:00:08Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules246272936/device_type" time="2021-10-14T08:00:08Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:08Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:08Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules246272936/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules246272936/work/payloads/0000/tree" time="2021-10-14T08:00:08Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:08Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules246272936/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules246272936/work/payloads/0000/tree" time="2021-10-14T08:00:08Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:08Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:08Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:08Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules246272936/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules246272936/work/payloads/0000/tree" time="2021-10-14T08:00:08Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules246272936/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules246272936/work/payloads/0000/tree" time="2021-10-14T08:00:08Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:08Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:08Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=debug msg="Handling reboot state" time="2021-10-14T08:00:08Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:00:08Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2021-10-14T08:00:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules246272936/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules246272936/work/payloads/0000/tree" time="2021-10-14T08:00:08Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:08Z" level=error msg="Error rebooting device: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:08Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:08Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=info msg="Performing rollback" time="2021-10-14T08:00:08Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules246272936/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules246272936/work/payloads/0000/tree" time="2021-10-14T08:00:08Z" level=debug msg="Will try to rollback reboot the device" time="2021-10-14T08:00:08Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:08Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules246272936/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules246272936/work/payloads/0000/tree" time="2021-10-14T08:00:08Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:08Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules246272936/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules246272936/work/payloads/0000/tree" time="2021-10-14T08:00:08Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:08Z" level=debug msg="Handling state after rollback reboot" time="2021-10-14T08:00:08Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:08Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules246272936/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules246272936/work/payloads/0000/tree" time="2021-10-14T08:00:08Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:08Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules246272936/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules246272936/work/payloads/0000/tree" time="2021-10-14T08:00:08Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:08Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:08Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:08Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules246272936/artifact_info file." time="2021-10-14T08:00:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules246272936/artifact_info" time="2021-10-14T08:00:08Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:08Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.22s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot state_test.go:4717: Killed in ArtifactReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:08Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:08Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:08Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:08Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:08Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules136108977/device_type" time="2021-10-14T08:00:08Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:08Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:08Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:08Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:08Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:08Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules136108977/artifact_info file." time="2021-10-14T08:00:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules136108977/artifact_info" time="2021-10-14T08:00:08Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:08Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules136108977/artifact_info" time="2021-10-14T08:00:08Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules136108977/device_type" time="2021-10-14T08:00:08Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:08Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:08Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules136108977/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules136108977/work/payloads/0000/tree" time="2021-10-14T08:00:08Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:08Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules136108977/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules136108977/work/payloads/0000/tree" time="2021-10-14T08:00:08Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:08Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:08Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:08Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules136108977/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules136108977/work/payloads/0000/tree" time="2021-10-14T08:00:08Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules136108977/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules136108977/work/payloads/0000/tree" time="2021-10-14T08:00:08Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:08Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:08Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=debug msg="Handling reboot state" time="2021-10-14T08:00:08Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:00:08Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2021-10-14T08:00:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules136108977/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules136108977/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="2021-10-14T08:00:08Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:08Z" level=info msg="Handling loaded state: reboot" time="2021-10-14T08:00:08Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:08Z" level=info msg="State transition: init [none] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:08Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2021-10-14T08:00:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules136108977/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules136108977/work/payloads/0000/tree" time="2021-10-14T08:00:08Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:08Z" level=debug msg="Handling state after reboot" time="2021-10-14T08:00:08Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=debug msg="Handle update commit state" time="2021-10-14T08:00:08Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2021-10-14T08:00:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules136108977/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules136108977/work/payloads/0000/tree" time="2021-10-14T08:00:08Z" level=debug msg="Committing new artifact name: artifact-name" time="2021-10-14T08:00:08Z" level=debug msg="Committing new artifact group name: " time="2021-10-14T08:00:08Z" level=debug msg="Committing new artifact type-info provides" time="2021-10-14T08:00:08Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" time="2021-10-14T08:00:08Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" time="2021-10-14T08:00:08Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:08Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:08Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules136108977/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules136108977/work/payloads/0000/tree" time="2021-10-14T08:00:08Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" time="2021-10-14T08:00:08Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:08Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:08Z" level=debug msg="Returning artifact name artifact-name from database." --- PASS: TestStateTransitionsWithUpdateModules (0.09s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyReboot state_test.go:4717: Error in ArtifactVerifyReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:08Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:08Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:08Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:08Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:08Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:08Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:08Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules336327918/device_type" time="2021-10-14T08:00:08Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:08Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:08Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:08Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:08Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:08Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules336327918/artifact_info file." time="2021-10-14T08:00:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules336327918/artifact_info" time="2021-10-14T08:00:08Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:08Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules336327918/artifact_info" time="2021-10-14T08:00:08Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules336327918/device_type" time="2021-10-14T08:00:08Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:08Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:08Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:08Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336327918/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules336327918/work/payloads/0000/tree" time="2021-10-14T08:00:08Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:08Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336327918/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules336327918/work/payloads/0000/tree" time="2021-10-14T08:00:09Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:09Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:09Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:09Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:09Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336327918/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules336327918/work/payloads/0000/tree" time="2021-10-14T08:00:09Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336327918/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules336327918/work/payloads/0000/tree" time="2021-10-14T08:00:09Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:09Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:09Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:09Z" level=debug msg="Handling reboot state" time="2021-10-14T08:00:09Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:00:09Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2021-10-14T08:00:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336327918/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules336327918/work/payloads/0000/tree" time="2021-10-14T08:00:09Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:09Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2021-10-14T08:00:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336327918/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules336327918/work/payloads/0000/tree" time="2021-10-14T08:00:09Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:09Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:09Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:09Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:09Z" level=info msg="Performing rollback" time="2021-10-14T08:00:09Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336327918/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules336327918/work/payloads/0000/tree" time="2021-10-14T08:00:09Z" level=debug msg="Will try to rollback reboot the device" time="2021-10-14T08:00:09Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:09Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:09Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336327918/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules336327918/work/payloads/0000/tree" time="2021-10-14T08:00:09Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:09Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336327918/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules336327918/work/payloads/0000/tree" time="2021-10-14T08:00:09Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:09Z" level=debug msg="Handling state after rollback reboot" time="2021-10-14T08:00:09Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:09Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:09Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336327918/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules336327918/work/payloads/0000/tree" time="2021-10-14T08:00:09Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:09Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules336327918/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules336327918/work/payloads/0000/tree" time="2021-10-14T08:00:09Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:09Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:09Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:09Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules336327918/artifact_info file." time="2021-10-14T08:00:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules336327918/artifact_info" time="2021-10-14T08:00:09Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:09Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.24s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyReboot state_test.go:4717: Killed in ArtifactVerifyReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:09Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:09Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:09Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:09Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:09Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:09Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules576521583/device_type" time="2021-10-14T08:00:09Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:09Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:09Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:09Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:09Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:09Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules576521583/artifact_info file." time="2021-10-14T08:00:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules576521583/artifact_info" time="2021-10-14T08:00:09Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:09Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules576521583/artifact_info" time="2021-10-14T08:00:09Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules576521583/device_type" time="2021-10-14T08:00:09Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:09Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:09Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules576521583/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules576521583/work/payloads/0000/tree" time="2021-10-14T08:00:09Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:09Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules576521583/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules576521583/work/payloads/0000/tree" time="2021-10-14T08:00:09Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:09Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:09Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:09Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:09Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules576521583/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules576521583/work/payloads/0000/tree" time="2021-10-14T08:00:09Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules576521583/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules576521583/work/payloads/0000/tree" time="2021-10-14T08:00:09Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:09Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:09Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:09Z" level=debug msg="Handling reboot state" time="2021-10-14T08:00:09Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:00:09Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2021-10-14T08:00:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules576521583/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules576521583/work/payloads/0000/tree" time="2021-10-14T08:00:09Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:09Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2021-10-14T08:00:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules576521583/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules576521583/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="2021-10-14T08:00:09Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:09Z" level=info msg="Handling loaded state: after-reboot" time="2021-10-14T08:00:09Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:09Z" level=error msg="Mender shut down in state: after-reboot" time="2021-10-14T08:00:09Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:09Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:09Z" level=info msg="Performing rollback" time="2021-10-14T08:00:09Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules576521583/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules576521583/work/payloads/0000/tree" time="2021-10-14T08:00:09Z" level=debug msg="Will try to rollback reboot the device" time="2021-10-14T08:00:09Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:09Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:09Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules576521583/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules576521583/work/payloads/0000/tree" time="2021-10-14T08:00:09Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:09Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules576521583/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules576521583/work/payloads/0000/tree" time="2021-10-14T08:00:09Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:09Z" level=debug msg="Handling state after rollback reboot" time="2021-10-14T08:00:09Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:09Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:09Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules576521583/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules576521583/work/payloads/0000/tree" time="2021-10-14T08:00:09Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:09Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules576521583/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules576521583/work/payloads/0000/tree" time="2021-10-14T08:00:09Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:09Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:09Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:09Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules576521583/artifact_info file." time="2021-10-14T08:00:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules576521583/artifact_info" time="2021-10-14T08:00:09Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:09Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.15s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback state_test.go:4717: Error in ArtifactRollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:09Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:09Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:09Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:09Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:09Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:09Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules871419524/device_type" time="2021-10-14T08:00:09Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:09Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:09Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:09Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:09Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:09Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules871419524/artifact_info file." time="2021-10-14T08:00:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules871419524/artifact_info" time="2021-10-14T08:00:09Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:09Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules871419524/artifact_info" time="2021-10-14T08:00:09Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules871419524/device_type" time="2021-10-14T08:00:09Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:09Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:09Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules871419524/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules871419524/work/payloads/0000/tree" time="2021-10-14T08:00:09Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:09Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules871419524/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules871419524/work/payloads/0000/tree" time="2021-10-14T08:00:09Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:09Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:09Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:09Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:09Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules871419524/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules871419524/work/payloads/0000/tree" time="2021-10-14T08:00:09Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules871419524/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules871419524/work/payloads/0000/tree" time="2021-10-14T08:00:09Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:09Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:09Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:09Z" level=debug msg="Handling reboot state" time="2021-10-14T08:00:09Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:00:09Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2021-10-14T08:00:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules871419524/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules871419524/work/payloads/0000/tree" time="2021-10-14T08:00:09Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:09Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2021-10-14T08:00:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules871419524/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules871419524/work/payloads/0000/tree" time="2021-10-14T08:00:09Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:09Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:09Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:09Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:09Z" level=info msg="Performing rollback" time="2021-10-14T08:00:09Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules871419524/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules871419524/work/payloads/0000/tree" time="2021-10-14T08:00:09Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:09Z" level=error msg="Rollback failed: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:09Z" level=error msg="fatal error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:09Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" time="2021-10-14T08:00:09Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:09Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:09Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules871419524/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules871419524/work/payloads/0000/tree" time="2021-10-14T08:00:09Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:09Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules871419524/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules871419524/work/payloads/0000/tree" time="2021-10-14T08:00:09Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:09Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:09Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:09Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." --- PASS: TestStateTransitionsWithUpdateModules (0.16s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback state_test.go:4717: Killed in ArtifactRollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:09Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:09Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:09Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:09Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:09Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:09Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:09Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules577205181/device_type" time="2021-10-14T08:00:09Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:09Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:09Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:09Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:09Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:09Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules577205181/artifact_info file." time="2021-10-14T08:00:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules577205181/artifact_info" time="2021-10-14T08:00:09Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:09Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules577205181/artifact_info" time="2021-10-14T08:00:09Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules577205181/device_type" time="2021-10-14T08:00:09Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:09Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules577205181/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules577205181/work/payloads/0000/tree" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules577205181/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules577205181/work/payloads/0000/tree" time="2021-10-14T08:00:10Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:10Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:10Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:10Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules577205181/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules577205181/work/payloads/0000/tree" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules577205181/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules577205181/work/payloads/0000/tree" time="2021-10-14T08:00:10Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:10Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:10Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:10Z" level=debug msg="Handling reboot state" time="2021-10-14T08:00:10Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2021-10-14T08:00:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules577205181/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules577205181/work/payloads/0000/tree" time="2021-10-14T08:00:10Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2021-10-14T08:00:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules577205181/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules577205181/work/payloads/0000/tree" time="2021-10-14T08:00:10Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:10Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:10Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:10Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:10Z" level=info msg="Performing rollback" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules577205181/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules577205181/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="2021-10-14T08:00:10Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:10Z" level=info msg="Handling loaded state: rollback" time="2021-10-14T08:00:10Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:10Z" level=error msg="Mender shut down in state: rollback" time="2021-10-14T08:00:10Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:10Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:10Z" level=info msg="Performing rollback" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules577205181/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules577205181/work/payloads/0000/tree" time="2021-10-14T08:00:10Z" level=debug msg="Will try to rollback reboot the device" time="2021-10-14T08:00:10Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:10Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules577205181/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules577205181/work/payloads/0000/tree" time="2021-10-14T08:00:10Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules577205181/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules577205181/work/payloads/0000/tree" time="2021-10-14T08:00:10Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:10Z" level=debug msg="Handling state after rollback reboot" time="2021-10-14T08:00:10Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:10Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules577205181/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules577205181/work/payloads/0000/tree" time="2021-10-14T08:00:10Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules577205181/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules577205181/work/payloads/0000/tree" time="2021-10-14T08:00:10Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:10Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:10Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:10Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules577205181/artifact_info file." time="2021-10-14T08:00:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules577205181/artifact_info" time="2021-10-14T08:00:10Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:10Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.10s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot state_test.go:4717: Error in ArtifactRollbackReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:10Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:10Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:10Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:10Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:10Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:10Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules294943722/device_type" time="2021-10-14T08:00:10Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:10Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:10Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:10Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:10Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules294943722/artifact_info file." time="2021-10-14T08:00:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules294943722/artifact_info" time="2021-10-14T08:00:10Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:10Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules294943722/artifact_info" time="2021-10-14T08:00:10Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules294943722/device_type" time="2021-10-14T08:00:10Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:10Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules294943722/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules294943722/work/payloads/0000/tree" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules294943722/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules294943722/work/payloads/0000/tree" time="2021-10-14T08:00:10Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:10Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:10Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:10Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules294943722/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules294943722/work/payloads/0000/tree" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules294943722/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules294943722/work/payloads/0000/tree" time="2021-10-14T08:00:10Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:10Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:10Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:10Z" level=debug msg="Handling reboot state" time="2021-10-14T08:00:10Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2021-10-14T08:00:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules294943722/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules294943722/work/payloads/0000/tree" time="2021-10-14T08:00:10Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2021-10-14T08:00:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules294943722/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules294943722/work/payloads/0000/tree" time="2021-10-14T08:00:10Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:10Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:10Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:10Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:10Z" level=info msg="Performing rollback" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules294943722/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules294943722/work/payloads/0000/tree" time="2021-10-14T08:00:10Z" level=debug msg="Will try to rollback reboot the device" time="2021-10-14T08:00:10Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:10Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules294943722/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules294943722/work/payloads/0000/tree" time="2021-10-14T08:00:10Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:10Z" level=error msg="Error rebooting device: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:10Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules294943722/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules294943722/work/payloads/0000/tree" time="2021-10-14T08:00:10Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:10Z" level=debug msg="Handling state after rollback reboot" time="2021-10-14T08:00:10Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:10Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules294943722/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules294943722/work/payloads/0000/tree" time="2021-10-14T08:00:10Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules294943722/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules294943722/work/payloads/0000/tree" time="2021-10-14T08:00:10Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:10Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:10Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:10Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules294943722/artifact_info file." time="2021-10-14T08:00:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules294943722/artifact_info" time="2021-10-14T08:00:10Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:10Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.21s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot state_test.go:4717: Killed in ArtifactRollbackReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:10Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:10Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:10Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:10Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:10Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:10Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules717025307/device_type" time="2021-10-14T08:00:10Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:10Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:10Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:10Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:10Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules717025307/artifact_info file." time="2021-10-14T08:00:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules717025307/artifact_info" time="2021-10-14T08:00:10Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:10Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules717025307/artifact_info" time="2021-10-14T08:00:10Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules717025307/device_type" time="2021-10-14T08:00:10Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:10Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717025307/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules717025307/work/payloads/0000/tree" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717025307/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules717025307/work/payloads/0000/tree" time="2021-10-14T08:00:10Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:10Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:10Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:10Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717025307/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules717025307/work/payloads/0000/tree" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717025307/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules717025307/work/payloads/0000/tree" time="2021-10-14T08:00:10Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:10Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:10Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:10Z" level=debug msg="Handling reboot state" time="2021-10-14T08:00:10Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2021-10-14T08:00:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717025307/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules717025307/work/payloads/0000/tree" time="2021-10-14T08:00:10Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2021-10-14T08:00:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717025307/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules717025307/work/payloads/0000/tree" time="2021-10-14T08:00:10Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:10Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:10Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:10Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:10Z" level=info msg="Performing rollback" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717025307/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules717025307/work/payloads/0000/tree" time="2021-10-14T08:00:10Z" level=debug msg="Will try to rollback reboot the device" time="2021-10-14T08:00:10Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:10Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717025307/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules717025307/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="2021-10-14T08:00:10Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:10Z" level=info msg="Handling loaded state: rollback-reboot" time="2021-10-14T08:00:10Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:10Z" level=info msg="Mender shut down in state: rollback-reboot" time="2021-10-14T08:00:10Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:10Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717025307/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules717025307/work/payloads/0000/tree" time="2021-10-14T08:00:10Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:10Z" level=debug msg="Handling state after rollback reboot" time="2021-10-14T08:00:10Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:10Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717025307/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules717025307/work/payloads/0000/tree" time="2021-10-14T08:00:10Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:10Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717025307/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules717025307/work/payloads/0000/tree" time="2021-10-14T08:00:10Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:10Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:10Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:10Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules717025307/artifact_info file." time="2021-10-14T08:00:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules717025307/artifact_info" time="2021-10-14T08:00:10Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:10Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.04s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyRollbackReboot state_test.go:4717: Error in ArtifactVerifyRollbackReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:10Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:10Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:10Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:10Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:10Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:10Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:10Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules292396192/device_type" time="2021-10-14T08:00:10Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:10Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:10Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:10Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:11Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules292396192/artifact_info file." time="2021-10-14T08:00:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules292396192/artifact_info" time="2021-10-14T08:00:11Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:11Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules292396192/artifact_info" time="2021-10-14T08:00:11Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules292396192/device_type" time="2021-10-14T08:00:11Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:11Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules292396192/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules292396192/work/payloads/0000/tree" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules292396192/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules292396192/work/payloads/0000/tree" time="2021-10-14T08:00:11Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:11Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:11Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:11Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules292396192/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules292396192/work/payloads/0000/tree" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules292396192/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules292396192/work/payloads/0000/tree" time="2021-10-14T08:00:11Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:11Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:11Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:11Z" level=debug msg="Handling reboot state" time="2021-10-14T08:00:11Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2021-10-14T08:00:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules292396192/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules292396192/work/payloads/0000/tree" time="2021-10-14T08:00:11Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2021-10-14T08:00:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules292396192/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules292396192/work/payloads/0000/tree" time="2021-10-14T08:00:11Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:11Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:11Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:11Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:11Z" level=info msg="Performing rollback" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules292396192/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules292396192/work/payloads/0000/tree" time="2021-10-14T08:00:11Z" level=debug msg="Will try to rollback reboot the device" time="2021-10-14T08:00:11Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:11Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules292396192/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules292396192/work/payloads/0000/tree" time="2021-10-14T08:00:11Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules292396192/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules292396192/work/payloads/0000/tree" time="2021-10-14T08:00:11Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:11Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:11Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:11Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules292396192/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules292396192/work/payloads/0000/tree" time="2021-10-14T08:00:11Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules292396192/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules292396192/work/payloads/0000/tree" time="2021-10-14T08:00:11Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:11Z" level=debug msg="Handling state after rollback reboot" time="2021-10-14T08:00:11Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:11Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules292396192/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules292396192/work/payloads/0000/tree" time="2021-10-14T08:00:11Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules292396192/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules292396192/work/payloads/0000/tree" time="2021-10-14T08:00:11Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:11Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:11Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:11Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules292396192/artifact_info file." time="2021-10-14T08:00:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules292396192/artifact_info" time="2021-10-14T08:00:11Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:11Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.25s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyRollbackReboot state_test.go:4717: Killed in ArtifactVerifyRollbackReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:11Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:11Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:11Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:11Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:11Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:11Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules756028425/device_type" time="2021-10-14T08:00:11Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:11Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:11Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:11Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:11Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules756028425/artifact_info file." time="2021-10-14T08:00:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules756028425/artifact_info" time="2021-10-14T08:00:11Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:11Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules756028425/artifact_info" time="2021-10-14T08:00:11Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules756028425/device_type" time="2021-10-14T08:00:11Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:11Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules756028425/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules756028425/work/payloads/0000/tree" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules756028425/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules756028425/work/payloads/0000/tree" time="2021-10-14T08:00:11Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:11Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:11Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:11Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules756028425/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules756028425/work/payloads/0000/tree" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules756028425/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules756028425/work/payloads/0000/tree" time="2021-10-14T08:00:11Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:11Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:11Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:11Z" level=debug msg="Handling reboot state" time="2021-10-14T08:00:11Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2021-10-14T08:00:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules756028425/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules756028425/work/payloads/0000/tree" time="2021-10-14T08:00:11Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2021-10-14T08:00:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules756028425/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules756028425/work/payloads/0000/tree" time="2021-10-14T08:00:11Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:11Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:11Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:11Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:11Z" level=info msg="Performing rollback" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules756028425/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules756028425/work/payloads/0000/tree" time="2021-10-14T08:00:11Z" level=debug msg="Will try to rollback reboot the device" time="2021-10-14T08:00:11Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:11Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules756028425/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules756028425/work/payloads/0000/tree" time="2021-10-14T08:00:11Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules756028425/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules756028425/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="2021-10-14T08:00:11Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:11Z" level=info msg="Handling loaded state: verify-rollback-reboot" time="2021-10-14T08:00:11Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:11Z" level=error msg="Mender shut down in state: verify-rollback-reboot" time="2021-10-14T08:00:11Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:11Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules756028425/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules756028425/work/payloads/0000/tree" time="2021-10-14T08:00:11Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:11Z" level=debug msg="Handling state after rollback reboot" time="2021-10-14T08:00:11Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:11Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules756028425/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules756028425/work/payloads/0000/tree" time="2021-10-14T08:00:11Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules756028425/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules756028425/work/payloads/0000/tree" time="2021-10-14T08:00:11Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:11Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:11Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:11Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules756028425/artifact_info file." time="2021-10-14T08:00:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules756028425/artifact_info" time="2021-10-14T08:00:11Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:11Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.08s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure state_test.go:4717: Error in ArtifactFailure state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:11Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:11Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:11Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:11Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:11Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:11Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules947461670/device_type" time="2021-10-14T08:00:11Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:11Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:11Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:11Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:11Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules947461670/artifact_info file." time="2021-10-14T08:00:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules947461670/artifact_info" time="2021-10-14T08:00:11Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:11Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules947461670/artifact_info" time="2021-10-14T08:00:11Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules947461670/device_type" time="2021-10-14T08:00:11Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:11Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:11Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules947461670/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules947461670/work/payloads/0000/tree" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules947461670/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules947461670/work/payloads/0000/tree" time="2021-10-14T08:00:11Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:11Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:11Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:11Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules947461670/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules947461670/work/payloads/0000/tree" time="2021-10-14T08:00:11Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:11Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:11Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:11Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:11Z" level=info msg="Performing rollback" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules947461670/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules947461670/work/payloads/0000/tree" time="2021-10-14T08:00:11Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:11Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules947461670/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules947461670/work/payloads/0000/tree" time="2021-10-14T08:00:11Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:11Z" level=error msg="ArtifactFailure failed: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:11Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:11Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules947461670/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules947461670/work/payloads/0000/tree" time="2021-10-14T08:00:11Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:11Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:11Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:11Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:11Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules947461670/artifact_info file." time="2021-10-14T08:00:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules947461670/artifact_info" time="2021-10-14T08:00:11Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:11Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.24s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure state_test.go:4717: Killed in ArtifactFailure state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:12Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:12Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:12Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:12Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:12Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:12Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules266589959/device_type" time="2021-10-14T08:00:12Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:12Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:12Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:12Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:12Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules266589959/artifact_info file." time="2021-10-14T08:00:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules266589959/artifact_info" time="2021-10-14T08:00:12Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:12Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules266589959/artifact_info" time="2021-10-14T08:00:12Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules266589959/device_type" time="2021-10-14T08:00:12Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:12Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules266589959/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules266589959/work/payloads/0000/tree" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules266589959/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules266589959/work/payloads/0000/tree" time="2021-10-14T08:00:12Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:12Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:12Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:12Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules266589959/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules266589959/work/payloads/0000/tree" time="2021-10-14T08:00:12Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:12Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:12Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:12Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:12Z" level=info msg="Performing rollback" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules266589959/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules266589959/work/payloads/0000/tree" time="2021-10-14T08:00:12Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:12Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules266589959/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules266589959/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="2021-10-14T08:00:12Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:12Z" level=info msg="Handling loaded state: update-error" time="2021-10-14T08:00:12Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:12Z" level=error msg="Mender shut down in state: update-error" time="2021-10-14T08:00:12Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:12Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:12Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules266589959/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules266589959/work/payloads/0000/tree" time="2021-10-14T08:00:12Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules266589959/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules266589959/work/payloads/0000/tree" time="2021-10-14T08:00:12Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:12Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:12Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:12Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules266589959/artifact_info file." time="2021-10-14T08:00:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules266589959/artifact_info" time="2021-10-14T08:00:12Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:12Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.03s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_Cleanup state_test.go:4717: Error in Cleanup state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:12Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:12Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:12Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:12Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:12Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:12Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules841081340/device_type" time="2021-10-14T08:00:12Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:12Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:12Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:12Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:12Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules841081340/artifact_info file." time="2021-10-14T08:00:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules841081340/artifact_info" time="2021-10-14T08:00:12Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:12Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules841081340/artifact_info" time="2021-10-14T08:00:12Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules841081340/device_type" time="2021-10-14T08:00:12Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:12Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules841081340/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules841081340/work/payloads/0000/tree" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules841081340/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules841081340/work/payloads/0000/tree" time="2021-10-14T08:00:12Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:12Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:12Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:12Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules841081340/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules841081340/work/payloads/0000/tree" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules841081340/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules841081340/work/payloads/0000/tree" time="2021-10-14T08:00:12Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:12Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:12Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:12Z" level=debug msg="Handling reboot state" time="2021-10-14T08:00:12Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2021-10-14T08:00:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules841081340/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules841081340/work/payloads/0000/tree" time="2021-10-14T08:00:12Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2021-10-14T08:00:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules841081340/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules841081340/work/payloads/0000/tree" time="2021-10-14T08:00:12Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:12Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:12Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:12Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:12Z" level=info msg="Performing rollback" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules841081340/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules841081340/work/payloads/0000/tree" time="2021-10-14T08:00:12Z" level=debug msg="Will try to rollback reboot the device" time="2021-10-14T08:00:12Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:12Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules841081340/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules841081340/work/payloads/0000/tree" time="2021-10-14T08:00:12Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules841081340/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules841081340/work/payloads/0000/tree" time="2021-10-14T08:00:12Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:12Z" level=debug msg="Handling state after rollback reboot" time="2021-10-14T08:00:12Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:12Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules841081340/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules841081340/work/payloads/0000/tree" time="2021-10-14T08:00:12Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules841081340/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules841081340/work/payloads/0000/tree" time="2021-10-14T08:00:12Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:12Z" level=error msg="Cleanup failed: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:12Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:12Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:12Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:12Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules841081340/artifact_info file." time="2021-10-14T08:00:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules841081340/artifact_info" time="2021-10-14T08:00:12Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:12Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.22s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_Cleanup state_test.go:4717: Killed in Cleanup state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:12Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:12Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:12Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:12Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:12Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:12Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules580263573/device_type" time="2021-10-14T08:00:12Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:12Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:12Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:12Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:12Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules580263573/artifact_info file." time="2021-10-14T08:00:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules580263573/artifact_info" time="2021-10-14T08:00:12Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:12Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules580263573/artifact_info" time="2021-10-14T08:00:12Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules580263573/device_type" time="2021-10-14T08:00:12Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:12Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:12Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules580263573/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules580263573/work/payloads/0000/tree" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules580263573/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules580263573/work/payloads/0000/tree" time="2021-10-14T08:00:12Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:12Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:12Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:12Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules580263573/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules580263573/work/payloads/0000/tree" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules580263573/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules580263573/work/payloads/0000/tree" time="2021-10-14T08:00:12Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:12Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:12Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:12Z" level=debug msg="Handling reboot state" time="2021-10-14T08:00:12Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2021-10-14T08:00:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules580263573/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules580263573/work/payloads/0000/tree" time="2021-10-14T08:00:12Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2021-10-14T08:00:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules580263573/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules580263573/work/payloads/0000/tree" time="2021-10-14T08:00:12Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:12Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:12Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:12Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:12Z" level=info msg="Performing rollback" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules580263573/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules580263573/work/payloads/0000/tree" time="2021-10-14T08:00:12Z" level=debug msg="Will try to rollback reboot the device" time="2021-10-14T08:00:12Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:12Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules580263573/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules580263573/work/payloads/0000/tree" time="2021-10-14T08:00:12Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules580263573/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules580263573/work/payloads/0000/tree" time="2021-10-14T08:00:12Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:12Z" level=debug msg="Handling state after rollback reboot" time="2021-10-14T08:00:12Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:12Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules580263573/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules580263573/work/payloads/0000/tree" time="2021-10-14T08:00:12Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules580263573/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules580263573/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="2021-10-14T08:00:12Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:12Z" level=info msg="Handling loaded state: cleanup" time="2021-10-14T08:00:12Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:12Z" level=error msg="Mender shut down in state: cleanup" time="2021-10-14T08:00:12Z" level=info msg="State transition: init [none] -> cleanup [Error]" time="2021-10-14T08:00:12Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:12Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules580263573/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules580263573/work/payloads/0000/tree" time="2021-10-14T08:00:12Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:12Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:12Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:12Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:12Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules580263573/artifact_info file." time="2021-10-14T08:00:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules580263573/artifact_info" time="2021-10-14T08:00:12Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:12Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.01s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit state_test.go:4717: Error in ArtifactCommit state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:13Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:13Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:13Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:13Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:13Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:13Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules134662562/device_type" time="2021-10-14T08:00:13Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:13Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:13Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:13Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:13Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules134662562/artifact_info file." time="2021-10-14T08:00:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules134662562/artifact_info" time="2021-10-14T08:00:13Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:13Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules134662562/artifact_info" time="2021-10-14T08:00:13Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules134662562/device_type" time="2021-10-14T08:00:13Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:13Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134662562/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules134662562/work/payloads/0000/tree" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134662562/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules134662562/work/payloads/0000/tree" time="2021-10-14T08:00:13Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:13Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:13Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:13Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134662562/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules134662562/work/payloads/0000/tree" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134662562/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules134662562/work/payloads/0000/tree" time="2021-10-14T08:00:13Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:13Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:13Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:13Z" level=debug msg="Handling reboot state" time="2021-10-14T08:00:13Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2021-10-14T08:00:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134662562/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules134662562/work/payloads/0000/tree" time="2021-10-14T08:00:13Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2021-10-14T08:00:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134662562/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules134662562/work/payloads/0000/tree" time="2021-10-14T08:00:13Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:13Z" level=debug msg="Handling state after reboot" time="2021-10-14T08:00:13Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:13Z" level=debug msg="Handle update commit state" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2021-10-14T08:00:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134662562/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules134662562/work/payloads/0000/tree" time="2021-10-14T08:00:13Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:13Z" level=error msg="transient error: update commit failed: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:13Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:13Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:13Z" level=info msg="Performing rollback" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134662562/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules134662562/work/payloads/0000/tree" time="2021-10-14T08:00:13Z" level=debug msg="Will try to rollback reboot the device" time="2021-10-14T08:00:13Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:13Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134662562/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules134662562/work/payloads/0000/tree" time="2021-10-14T08:00:13Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134662562/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules134662562/work/payloads/0000/tree" time="2021-10-14T08:00:13Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:13Z" level=debug msg="Handling state after rollback reboot" time="2021-10-14T08:00:13Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:13Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134662562/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules134662562/work/payloads/0000/tree" time="2021-10-14T08:00:13Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134662562/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules134662562/work/payloads/0000/tree" time="2021-10-14T08:00:13Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:13Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:13Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:13Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules134662562/artifact_info file." time="2021-10-14T08:00:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules134662562/artifact_info" time="2021-10-14T08:00:13Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:13Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.23s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit state_test.go:4717: Killed in ArtifactCommit state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:13Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:13Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:13Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:13Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:13Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:13Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules063265843/device_type" time="2021-10-14T08:00:13Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:13Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:13Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:13Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:13Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules063265843/artifact_info file." time="2021-10-14T08:00:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules063265843/artifact_info" time="2021-10-14T08:00:13Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:13Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules063265843/artifact_info" time="2021-10-14T08:00:13Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules063265843/device_type" time="2021-10-14T08:00:13Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:13Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063265843/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules063265843/work/payloads/0000/tree" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063265843/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules063265843/work/payloads/0000/tree" time="2021-10-14T08:00:13Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:13Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:13Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:13Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063265843/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules063265843/work/payloads/0000/tree" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063265843/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules063265843/work/payloads/0000/tree" time="2021-10-14T08:00:13Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:13Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:13Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:13Z" level=debug msg="Handling reboot state" time="2021-10-14T08:00:13Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2021-10-14T08:00:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063265843/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules063265843/work/payloads/0000/tree" time="2021-10-14T08:00:13Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2021-10-14T08:00:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063265843/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules063265843/work/payloads/0000/tree" time="2021-10-14T08:00:13Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:13Z" level=debug msg="Handling state after reboot" time="2021-10-14T08:00:13Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:13Z" level=debug msg="Handle update commit state" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2021-10-14T08:00:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063265843/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules063265843/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="2021-10-14T08:00:13Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:13Z" level=info msg="Handling loaded state: update-commit" time="2021-10-14T08:00:13Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:13Z" level=error msg="Mender shut down in state: update-commit" time="2021-10-14T08:00:13Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:13Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:13Z" level=info msg="Performing rollback" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063265843/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules063265843/work/payloads/0000/tree" time="2021-10-14T08:00:13Z" level=debug msg="Will try to rollback reboot the device" time="2021-10-14T08:00:13Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:13Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063265843/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules063265843/work/payloads/0000/tree" time="2021-10-14T08:00:13Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063265843/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules063265843/work/payloads/0000/tree" time="2021-10-14T08:00:13Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:13Z" level=debug msg="Handling state after rollback reboot" time="2021-10-14T08:00:13Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:13Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063265843/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules063265843/work/payloads/0000/tree" time="2021-10-14T08:00:13Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063265843/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules063265843/work/payloads/0000/tree" time="2021-10-14T08:00:13Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:13Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:13Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:13Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules063265843/artifact_info file." time="2021-10-14T08:00:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules063265843/artifact_info" time="2021-10-14T08:00:13Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:13Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.13s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit,_no_reboot state_test.go:4717: Error in ArtifactCommit, no reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:13Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:13Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:13Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:13Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:13Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:13Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules771768472/device_type" time="2021-10-14T08:00:13Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:13Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:13Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:13Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:13Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules771768472/artifact_info file." time="2021-10-14T08:00:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules771768472/artifact_info" time="2021-10-14T08:00:13Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:13Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules771768472/artifact_info" time="2021-10-14T08:00:13Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules771768472/device_type" time="2021-10-14T08:00:13Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:13Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:13Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules771768472/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules771768472/work/payloads/0000/tree" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules771768472/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules771768472/work/payloads/0000/tree" time="2021-10-14T08:00:13Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:13Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:13Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:13Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules771768472/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules771768472/work/payloads/0000/tree" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules771768472/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules771768472/work/payloads/0000/tree" time="2021-10-14T08:00:13Z" level=debug msg="Update module output: No" time="2021-10-14T08:00:13Z" level=debug msg="Module does not need reboot" time="2021-10-14T08:00:13Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:13Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:13Z" level=debug msg="Handle update commit state" time="2021-10-14T08:00:13Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2021-10-14T08:00:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules771768472/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules771768472/work/payloads/0000/tree" time="2021-10-14T08:00:14Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:14Z" level=error msg="transient error: update commit failed: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:14Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:14Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:14Z" level=info msg="Performing rollback" time="2021-10-14T08:00:14Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules771768472/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules771768472/work/payloads/0000/tree" time="2021-10-14T08:00:14Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:14Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:14Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules771768472/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules771768472/work/payloads/0000/tree" time="2021-10-14T08:00:14Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:14Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules771768472/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules771768472/work/payloads/0000/tree" time="2021-10-14T08:00:14Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:14Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:14Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:14Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules771768472/artifact_info file." time="2021-10-14T08:00:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules771768472/artifact_info" time="2021-10-14T08:00:14Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:14Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.20s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit,_no_reboot state_test.go:4717: Killed in ArtifactCommit, no reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:14Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:14Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:14Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:14Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:14Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:14Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules072879457/device_type" time="2021-10-14T08:00:14Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:14Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:14Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:14Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:14Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:14Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules072879457/artifact_info file." time="2021-10-14T08:00:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules072879457/artifact_info" time="2021-10-14T08:00:14Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:14Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules072879457/artifact_info" time="2021-10-14T08:00:14Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules072879457/device_type" time="2021-10-14T08:00:14Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:14Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:14Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules072879457/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules072879457/work/payloads/0000/tree" time="2021-10-14T08:00:14Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:14Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules072879457/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules072879457/work/payloads/0000/tree" time="2021-10-14T08:00:14Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:14Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:14Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:14Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:14Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules072879457/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules072879457/work/payloads/0000/tree" time="2021-10-14T08:00:14Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules072879457/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules072879457/work/payloads/0000/tree" time="2021-10-14T08:00:14Z" level=debug msg="Update module output: No" time="2021-10-14T08:00:14Z" level=debug msg="Module does not need reboot" time="2021-10-14T08:00:14Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:14Z" level=debug msg="Handle update commit state" time="2021-10-14T08:00:14Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2021-10-14T08:00:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules072879457/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules072879457/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="2021-10-14T08:00:14Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:14Z" level=info msg="Handling loaded state: update-commit" time="2021-10-14T08:00:14Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:14Z" level=error msg="Mender shut down in state: update-commit" time="2021-10-14T08:00:14Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:14Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:14Z" level=info msg="Performing rollback" time="2021-10-14T08:00:14Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules072879457/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules072879457/work/payloads/0000/tree" time="2021-10-14T08:00:14Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:14Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:14Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules072879457/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules072879457/work/payloads/0000/tree" time="2021-10-14T08:00:14Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:14Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules072879457/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules072879457/work/payloads/0000/tree" time="2021-10-14T08:00:14Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:14Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:14Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:14Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules072879457/artifact_info file." time="2021-10-14T08:00:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules072879457/artifact_info" time="2021-10-14T08:00:14Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:14Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.13s) 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="2021-10-14T08:00:14Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:14Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:14Z" level=error msg="transient error: error calling enter script for (error) update-fetch state: error running enter state script(s) for Download_Enter state: statescript: error executing 'Download_Enter_00': 1 : exit status 1" time="2021-10-14T08:00:14Z" level=info msg="State transition: update-fetch [Download_Enter] -> error [Error]" time="2021-10-14T08:00:14Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="Executing script: Download_Error_00" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=info msg="Handling error state, current error: transient error: error calling enter script for (error) update-fetch state: error running enter state script(s) for Download_Enter state: statescript: error executing 'Download_Enter_00': 1 : exit status 1" time="2021-10-14T08:00:14Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules160368734/artifact_info file." time="2021-10-14T08:00:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules160368734/artifact_info" time="2021-10-14T08:00:14Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:14Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.01s) 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="2021-10-14T08:00:14Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:14Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" 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="2021-10-14T08:00:14Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:14Z" level=info msg="Handling loaded state: update-fetch" time="2021-10-14T08:00:14Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:14Z" level=error msg="Mender shut down in state: update-fetch" time="2021-10-14T08:00:14Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules096398239/artifact_info file." time="2021-10-14T08:00:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules096398239/artifact_info" time="2021-10-14T08:00:14Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:14Z" 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="2021-10-14T08:00:14Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:14Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:14Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:14Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:14Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:14Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules697645684/device_type" time="2021-10-14T08:00:14Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:14Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:14Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:14Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:14Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:14Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules697645684/artifact_info file." time="2021-10-14T08:00:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules697645684/artifact_info" time="2021-10-14T08:00:14Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:14Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules697645684/artifact_info" time="2021-10-14T08:00:14Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules697645684/device_type" time="2021-10-14T08:00:14Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:14Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:14Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:14Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules697645684/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules697645684/work/payloads/0000/tree" time="2021-10-14T08:00:14Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:14Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules697645684/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules697645684/work/payloads/0000/tree" time="2021-10-14T08:00:14Z" level=debug msg="Update module output: No" time="2021-10-14T08:00:14Z" level=debug msg="Module does not support rollback" time="2021-10-14T08:00:14Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:14Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:14Z" level=error msg="transient error: error calling enter script for (error) update-install state: error running enter state script(s) for ArtifactInstall state: statescript: error executing 'ArtifactInstall_Enter_00': 1 : exit status 1" time="2021-10-14T08:00:14Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" time="2021-10-14T08:00:14Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:14Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:14Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:14Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules697645684/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules697645684/work/payloads/0000/tree" time="2021-10-14T08:00:14Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:14Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules697645684/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules697645684/work/payloads/0000/tree" time="2021-10-14T08:00:14Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:14Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:14Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:14Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:14Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." --- PASS: TestStateTransitionsWithUpdateModules (0.12s) 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="2021-10-14T08:00:15Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:15Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:15Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:15Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:15Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:15Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules589749357/device_type" time="2021-10-14T08:00:15Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:15Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:15Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:15Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:15Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:15Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules589749357/artifact_info file." time="2021-10-14T08:00:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules589749357/artifact_info" time="2021-10-14T08:00:15Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:15Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules589749357/artifact_info" time="2021-10-14T08:00:15Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules589749357/device_type" time="2021-10-14T08:00:15Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:15Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:15Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules589749357/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules589749357/work/payloads/0000/tree" time="2021-10-14T08:00:15Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:15Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules589749357/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules589749357/work/payloads/0000/tree" time="2021-10-14T08:00:15Z" level=debug msg="Update module output: No" time="2021-10-14T08:00:15Z" level=debug msg="Module does not support rollback" time="2021-10-14T08:00:15Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:15Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" 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="2021-10-14T08:00:15Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:15Z" level=info msg="Handling loaded state: update-install" time="2021-10-14T08:00:15Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:15Z" level=error msg="Mender shut down in state: update-install" time="2021-10-14T08:00:15Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" time="2021-10-14T08:00:15Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:15Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:15Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:15Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules589749357/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules589749357/work/payloads/0000/tree" time="2021-10-14T08:00:15Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:15Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules589749357/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules589749357/work/payloads/0000/tree" time="2021-10-14T08:00:15Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:15Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:15Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:15Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." --- PASS: TestStateTransitionsWithUpdateModules (0.03s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00 state_test.go:4717: Error in ArtifactInstall_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:15Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:15Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:15Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:15Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:15Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:15Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules789527130/device_type" time="2021-10-14T08:00:15Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:15Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:15Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:15Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:15Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:15Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules789527130/artifact_info file." time="2021-10-14T08:00:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules789527130/artifact_info" time="2021-10-14T08:00:15Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:15Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules789527130/artifact_info" time="2021-10-14T08:00:15Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules789527130/device_type" time="2021-10-14T08:00:15Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:15Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:15Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules789527130/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules789527130/work/payloads/0000/tree" time="2021-10-14T08:00:15Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:15Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules789527130/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules789527130/work/payloads/0000/tree" time="2021-10-14T08:00:15Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:15Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:15Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:15Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:15Z" level=error msg="transient error: error calling enter script for (error) update-install state: error running enter state script(s) for ArtifactInstall state: statescript: error executing 'ArtifactInstall_Enter_00': 1 : exit status 1" time="2021-10-14T08:00:15Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:15Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:15Z" level=info msg="Performing rollback" time="2021-10-14T08:00:15Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules789527130/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules789527130/work/payloads/0000/tree" time="2021-10-14T08:00:15Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:15Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:15Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules789527130/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules789527130/work/payloads/0000/tree" time="2021-10-14T08:00:15Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:15Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules789527130/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules789527130/work/payloads/0000/tree" time="2021-10-14T08:00:15Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:15Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:15Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:15Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules789527130/artifact_info file." time="2021-10-14T08:00:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules789527130/artifact_info" time="2021-10-14T08:00:15Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:15Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.17s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00 state_test.go:4717: Killed in ArtifactInstall_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:15Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:15Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:15Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:15Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:15Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:15Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules154159435/device_type" time="2021-10-14T08:00:15Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:15Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:15Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:15Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:15Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:15Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules154159435/artifact_info file." time="2021-10-14T08:00:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules154159435/artifact_info" time="2021-10-14T08:00:15Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:15Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules154159435/artifact_info" time="2021-10-14T08:00:15Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules154159435/device_type" time="2021-10-14T08:00:15Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:15Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:15Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:15Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules154159435/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules154159435/work/payloads/0000/tree" time="2021-10-14T08:00:15Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:15Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules154159435/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules154159435/work/payloads/0000/tree" time="2021-10-14T08:00:15Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:15Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:15Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:15Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" 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="2021-10-14T08:00:15Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:15Z" level=info msg="Handling loaded state: update-install" time="2021-10-14T08:00:15Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:15Z" level=error msg="Mender shut down in state: update-install" time="2021-10-14T08:00:15Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:15Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:15Z" level=info msg="Performing rollback" time="2021-10-14T08:00:15Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules154159435/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules154159435/work/payloads/0000/tree" time="2021-10-14T08:00:15Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:15Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:15Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules154159435/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules154159435/work/payloads/0000/tree" time="2021-10-14T08:00:15Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:15Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules154159435/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules154159435/work/payloads/0000/tree" time="2021-10-14T08:00:15Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:15Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:15Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:15Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules154159435/artifact_info file." time="2021-10-14T08:00:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules154159435/artifact_info" time="2021-10-14T08:00:15Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:15Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.04s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Enter_00 state_test.go:4717: Error in ArtifactReboot_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:15Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:15Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:15Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:15Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:15Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:15Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:15Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules501236112/device_type" time="2021-10-14T08:00:15Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:15Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:15Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:16Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:16Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules501236112/artifact_info file." time="2021-10-14T08:00:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules501236112/artifact_info" time="2021-10-14T08:00:16Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:16Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules501236112/artifact_info" time="2021-10-14T08:00:16Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules501236112/device_type" time="2021-10-14T08:00:16Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:16Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:16Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules501236112/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules501236112/work/payloads/0000/tree" time="2021-10-14T08:00:16Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:16Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules501236112/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules501236112/work/payloads/0000/tree" time="2021-10-14T08:00:16Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:16Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:16Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:16Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:16Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:16Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:16Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules501236112/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules501236112/work/payloads/0000/tree" time="2021-10-14T08:00:16Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules501236112/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules501236112/work/payloads/0000/tree" time="2021-10-14T08:00:16Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:16Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:16Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:16Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:16Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:16Z" level=error msg="transient error: error calling enter script for (error) reboot state: error running enter state script(s) for ArtifactReboot_Enter state: statescript: error executing 'ArtifactReboot_Enter_00': 1 : exit status 1" time="2021-10-14T08:00:16Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:16Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:16Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:16Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:16Z" level=info msg="Performing rollback" time="2021-10-14T08:00:16Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules501236112/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules501236112/work/payloads/0000/tree" time="2021-10-14T08:00:16Z" level=debug msg="Will try to rollback reboot the device" time="2021-10-14T08:00:16Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:16Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:16Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:16Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:16Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules501236112/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules501236112/work/payloads/0000/tree" time="2021-10-14T08:00:16Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:16Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules501236112/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules501236112/work/payloads/0000/tree" time="2021-10-14T08:00:16Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:16Z" level=debug msg="Handling state after rollback reboot" time="2021-10-14T08:00:16Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:16Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:16Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:16Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:16Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules501236112/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules501236112/work/payloads/0000/tree" time="2021-10-14T08:00:16Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:16Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:16Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:16Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules501236112/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules501236112/work/payloads/0000/tree" time="2021-10-14T08:00:16Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:16Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:16Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:16Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules501236112/artifact_info file." time="2021-10-14T08:00:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules501236112/artifact_info" time="2021-10-14T08:00:16Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:16Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.45s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Enter_00 state_test.go:4717: Killed in ArtifactReboot_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:16Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:16Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:16Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:16Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:16Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:16Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:16Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:16Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules353994169/device_type" time="2021-10-14T08:00:16Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:16Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:16Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:16Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:16Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules353994169/artifact_info file." time="2021-10-14T08:00:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules353994169/artifact_info" time="2021-10-14T08:00:16Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:16Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules353994169/artifact_info" time="2021-10-14T08:00:16Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules353994169/device_type" time="2021-10-14T08:00:16Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:16Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:16Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules353994169/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules353994169/work/payloads/0000/tree" time="2021-10-14T08:00:16Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:16Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules353994169/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules353994169/work/payloads/0000/tree" time="2021-10-14T08:00:16Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:16Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:16Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:16Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:16Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:16Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:16Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules353994169/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules353994169/work/payloads/0000/tree" time="2021-10-14T08:00:16Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules353994169/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules353994169/work/payloads/0000/tree" time="2021-10-14T08:00:16Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:16Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:16Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:16Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:16Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" 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="2021-10-14T08:00:16Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:16Z" level=info msg="Handling loaded state: reboot" time="2021-10-14T08:00:16Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:16Z" level=info msg="State transition: init [none] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:16Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2021-10-14T08:00:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules353994169/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules353994169/work/payloads/0000/tree" time="2021-10-14T08:00:16Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:16Z" level=debug msg="Handling state after reboot" time="2021-10-14T08:00:16Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2021-10-14T08:00:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:16Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:16Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:16Z" level=debug msg="Handle update commit state" time="2021-10-14T08:00:16Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2021-10-14T08:00:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules353994169/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules353994169/work/payloads/0000/tree" time="2021-10-14T08:00:16Z" level=debug msg="Committing new artifact name: artifact-name" time="2021-10-14T08:00:16Z" level=debug msg="Committing new artifact group name: " time="2021-10-14T08:00:16Z" level=debug msg="Committing new artifact type-info provides" time="2021-10-14T08:00:16Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" time="2021-10-14T08:00:16Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" time="2021-10-14T08:00:16Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2021-10-14T08:00:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:16Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:16Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:16Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules353994169/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules353994169/work/payloads/0000/tree" time="2021-10-14T08:00:16Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" time="2021-10-14T08:00:16Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:16Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:16Z" level=debug msg="Returning artifact name artifact-name from database." --- PASS: TestStateTransitionsWithUpdateModules (0.10s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Enter_00 state_test.go:4717: Error in ArtifactRollback_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:16Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:16Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:16Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:16Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:16Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:16Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:16Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:16Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules063200662/device_type" time="2021-10-14T08:00:16Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:16Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:16Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:16Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:16Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules063200662/artifact_info file." time="2021-10-14T08:00:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules063200662/artifact_info" time="2021-10-14T08:00:16Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:16Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules063200662/artifact_info" time="2021-10-14T08:00:16Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules063200662/device_type" time="2021-10-14T08:00:16Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:16Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:16Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:16Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063200662/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules063200662/work/payloads/0000/tree" time="2021-10-14T08:00:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063200662/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules063200662/work/payloads/0000/tree" time="2021-10-14T08:00:17Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:17Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:17Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:17Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:17Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:17Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:17Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063200662/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules063200662/work/payloads/0000/tree" time="2021-10-14T08:00:17Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063200662/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules063200662/work/payloads/0000/tree" time="2021-10-14T08:00:17Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:17Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:17Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:17Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:17Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:17Z" level=debug msg="Handling reboot state" time="2021-10-14T08:00:17Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:00:17Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2021-10-14T08:00:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063200662/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules063200662/work/payloads/0000/tree" time="2021-10-14T08:00:17Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:17Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2021-10-14T08:00:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063200662/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules063200662/work/payloads/0000/tree" time="2021-10-14T08:00:17Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:17Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:17Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:17Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:17Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:17Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:17Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollback_Enter_00': 1: exit status 1" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:17Z" level=info msg="Performing rollback" time="2021-10-14T08:00:17Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063200662/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules063200662/work/payloads/0000/tree" time="2021-10-14T08:00:17Z" level=debug msg="Will try to rollback reboot the device" time="2021-10-14T08:00:17Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:17Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:17Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:17Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:17Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063200662/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules063200662/work/payloads/0000/tree" time="2021-10-14T08:00:17Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:17Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063200662/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules063200662/work/payloads/0000/tree" time="2021-10-14T08:00:17Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:17Z" level=debug msg="Handling state after rollback reboot" time="2021-10-14T08:00:17Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:17Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:17Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:17Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:17Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063200662/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules063200662/work/payloads/0000/tree" time="2021-10-14T08:00:17Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:17Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:17Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063200662/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules063200662/work/payloads/0000/tree" time="2021-10-14T08:00:17Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:17Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:17Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:17Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules063200662/artifact_info file." time="2021-10-14T08:00:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules063200662/artifact_info" time="2021-10-14T08:00:17Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:17Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.25s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Enter_00 state_test.go:4717: Killed in ArtifactRollback_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:17Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:17Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:17Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:17Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:17Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:17Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:17Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:17Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules984064823/device_type" time="2021-10-14T08:00:17Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:17Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:17Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:17Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules984064823/artifact_info file." time="2021-10-14T08:00:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules984064823/artifact_info" time="2021-10-14T08:00:17Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:17Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules984064823/artifact_info" time="2021-10-14T08:00:17Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules984064823/device_type" time="2021-10-14T08:00:17Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:17Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:17Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:17Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules984064823/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules984064823/work/payloads/0000/tree" time="2021-10-14T08:00:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules984064823/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules984064823/work/payloads/0000/tree" time="2021-10-14T08:00:17Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:17Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:17Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:17Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:17Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:17Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:17Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules984064823/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules984064823/work/payloads/0000/tree" time="2021-10-14T08:00:17Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules984064823/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules984064823/work/payloads/0000/tree" time="2021-10-14T08:00:17Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:17Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:17Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:17Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:17Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:17Z" level=debug msg="Handling reboot state" time="2021-10-14T08:00:17Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:00:17Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2021-10-14T08:00:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules984064823/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules984064823/work/payloads/0000/tree" time="2021-10-14T08:00:17Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:17Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2021-10-14T08:00:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules984064823/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules984064823/work/payloads/0000/tree" time="2021-10-14T08:00:17Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:17Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:17Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:17Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:17Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:17Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" 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="2021-10-14T08:00:17Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:17Z" level=info msg="Handling loaded state: rollback" time="2021-10-14T08:00:17Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:17Z" level=error msg="Mender shut down in state: rollback" time="2021-10-14T08:00:17Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:17Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:17Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:17Z" level=info msg="Performing rollback" time="2021-10-14T08:00:17Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules984064823/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules984064823/work/payloads/0000/tree" time="2021-10-14T08:00:17Z" level=debug msg="Will try to rollback reboot the device" time="2021-10-14T08:00:17Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:17Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:17Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:17Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:17Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules984064823/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules984064823/work/payloads/0000/tree" time="2021-10-14T08:00:17Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:17Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules984064823/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules984064823/work/payloads/0000/tree" time="2021-10-14T08:00:17Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:17Z" level=debug msg="Handling state after rollback reboot" time="2021-10-14T08:00:17Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:17Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:17Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:17Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:17Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules984064823/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules984064823/work/payloads/0000/tree" time="2021-10-14T08:00:17Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:17Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:17Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules984064823/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules984064823/work/payloads/0000/tree" time="2021-10-14T08:00:17Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:17Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:17Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:17Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules984064823/artifact_info file." time="2021-10-14T08:00:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules984064823/artifact_info" time="2021-10-14T08:00:17Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:17Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.14s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Enter_00 state_test.go:4717: Error in ArtifactRollbackReboot_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:17Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:17Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:17Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:17Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:17Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:17Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:17Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:17Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules858471916/device_type" time="2021-10-14T08:00:17Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:17Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:17Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:18Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules858471916/artifact_info file." time="2021-10-14T08:00:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules858471916/artifact_info" time="2021-10-14T08:00:18Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:18Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules858471916/artifact_info" time="2021-10-14T08:00:18Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules858471916/device_type" time="2021-10-14T08:00:18Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:18Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:18Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:18Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules858471916/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules858471916/work/payloads/0000/tree" time="2021-10-14T08:00:18Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules858471916/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules858471916/work/payloads/0000/tree" time="2021-10-14T08:00:18Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:18Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:18Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:18Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:18Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:18Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules858471916/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules858471916/work/payloads/0000/tree" time="2021-10-14T08:00:18Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules858471916/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules858471916/work/payloads/0000/tree" time="2021-10-14T08:00:18Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:18Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:18Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:18Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:18Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=debug msg="Handling reboot state" time="2021-10-14T08:00:18Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:00:18Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2021-10-14T08:00:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules858471916/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules858471916/work/payloads/0000/tree" time="2021-10-14T08:00:18Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:18Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2021-10-14T08:00:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules858471916/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules858471916/work/payloads/0000/tree" time="2021-10-14T08:00:18Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:18Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:18Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:18Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:18Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:18Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=info msg="Performing rollback" time="2021-10-14T08:00:18Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules858471916/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules858471916/work/payloads/0000/tree" time="2021-10-14T08:00:18Z" level=debug msg="Will try to rollback reboot the device" time="2021-10-14T08:00:18Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:18Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollbackReboot_Enter_00': 1: exit status 1" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules858471916/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules858471916/work/payloads/0000/tree" time="2021-10-14T08:00:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules858471916/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules858471916/work/payloads/0000/tree" time="2021-10-14T08:00:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:18Z" level=debug msg="Handling state after rollback reboot" time="2021-10-14T08:00:18Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:18Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:18Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules858471916/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules858471916/work/payloads/0000/tree" time="2021-10-14T08:00:18Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:18Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:18Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:18Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules858471916/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules858471916/work/payloads/0000/tree" time="2021-10-14T08:00:18Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:18Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:18Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:18Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules858471916/artifact_info file." time="2021-10-14T08:00:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules858471916/artifact_info" time="2021-10-14T08:00:18Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:18Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.68s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Enter_00 state_test.go:4717: Killed in ArtifactRollbackReboot_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:18Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:18Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:18Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:18Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:18Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:18Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:18Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules104543557/device_type" time="2021-10-14T08:00:18Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:18Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:18Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:18Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:18Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules104543557/artifact_info file." time="2021-10-14T08:00:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules104543557/artifact_info" time="2021-10-14T08:00:18Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:18Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules104543557/artifact_info" time="2021-10-14T08:00:18Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules104543557/device_type" time="2021-10-14T08:00:18Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:18Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:18Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:18Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules104543557/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules104543557/work/payloads/0000/tree" time="2021-10-14T08:00:18Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules104543557/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules104543557/work/payloads/0000/tree" time="2021-10-14T08:00:18Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:18Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:18Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:18Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:18Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:18Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules104543557/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules104543557/work/payloads/0000/tree" time="2021-10-14T08:00:18Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules104543557/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules104543557/work/payloads/0000/tree" time="2021-10-14T08:00:18Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:18Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:18Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:18Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:18Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=debug msg="Handling reboot state" time="2021-10-14T08:00:18Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:00:18Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2021-10-14T08:00:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules104543557/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules104543557/work/payloads/0000/tree" time="2021-10-14T08:00:18Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:18Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2021-10-14T08:00:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules104543557/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules104543557/work/payloads/0000/tree" time="2021-10-14T08:00:18Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:18Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:18Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:18Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:18Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:18Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=info msg="Performing rollback" time="2021-10-14T08:00:18Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules104543557/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules104543557/work/payloads/0000/tree" time="2021-10-14T08:00:18Z" level=debug msg="Will try to rollback reboot the device" time="2021-10-14T08:00:18Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:18Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" 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="2021-10-14T08:00:19Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:19Z" level=info msg="Handling loaded state: rollback-reboot" time="2021-10-14T08:00:19Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:19Z" level=info msg="Mender shut down in state: rollback-reboot" time="2021-10-14T08:00:19Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:19Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:19Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules104543557/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules104543557/work/payloads/0000/tree" time="2021-10-14T08:00:19Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:19Z" level=debug msg="Handling state after rollback reboot" time="2021-10-14T08:00:19Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:19Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:19Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:19Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules104543557/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules104543557/work/payloads/0000/tree" time="2021-10-14T08:00:19Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:19Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:19Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:19Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules104543557/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules104543557/work/payloads/0000/tree" time="2021-10-14T08:00:19Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:19Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:19Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:19Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules104543557/artifact_info file." time="2021-10-14T08:00:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules104543557/artifact_info" time="2021-10-14T08:00:19Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:19Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.11s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Enter_00 state_test.go:4717: Error in ArtifactFailure_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:19Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:19Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:19Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:19Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:19Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:19Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:19Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:19Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules045964818/device_type" time="2021-10-14T08:00:19Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:19Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:19Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:19Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:19Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules045964818/artifact_info file." time="2021-10-14T08:00:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules045964818/artifact_info" time="2021-10-14T08:00:19Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:19Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules045964818/artifact_info" time="2021-10-14T08:00:19Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules045964818/device_type" time="2021-10-14T08:00:19Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:19Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:19Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules045964818/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules045964818/work/payloads/0000/tree" time="2021-10-14T08:00:19Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules045964818/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules045964818/work/payloads/0000/tree" time="2021-10-14T08:00:19Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:19Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:19Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:19Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:19Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:19Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:19Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules045964818/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules045964818/work/payloads/0000/tree" time="2021-10-14T08:00:19Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:19Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:19Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:19Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:19Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:19Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:19Z" level=info msg="Performing rollback" time="2021-10-14T08:00:19Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules045964818/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules045964818/work/payloads/0000/tree" time="2021-10-14T08:00:19Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:19Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:19Z" level=error msg="statescript: Ignoring error executing 'ArtifactFailure_Enter_00': 1: exit status 1" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:19Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:19Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules045964818/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules045964818/work/payloads/0000/tree" time="2021-10-14T08:00:19Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:19Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:19Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:19Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules045964818/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules045964818/work/payloads/0000/tree" time="2021-10-14T08:00:19Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:19Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:19Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:19Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules045964818/artifact_info file." time="2021-10-14T08:00:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules045964818/artifact_info" time="2021-10-14T08:00:19Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:19Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.20s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Enter_00 state_test.go:4717: Killed in ArtifactFailure_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:19Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:19Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:19Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:19Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:19Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:19Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:19Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:19Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules664075107/device_type" time="2021-10-14T08:00:19Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:19Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:19Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:19Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:19Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules664075107/artifact_info file." time="2021-10-14T08:00:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules664075107/artifact_info" time="2021-10-14T08:00:19Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:19Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules664075107/artifact_info" time="2021-10-14T08:00:19Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules664075107/device_type" time="2021-10-14T08:00:19Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:19Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:19Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules664075107/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules664075107/work/payloads/0000/tree" time="2021-10-14T08:00:19Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules664075107/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules664075107/work/payloads/0000/tree" time="2021-10-14T08:00:19Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:19Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:19Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:19Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:19Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:19Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:19Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules664075107/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules664075107/work/payloads/0000/tree" time="2021-10-14T08:00:19Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:19Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:19Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:19Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:19Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:19Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:19Z" level=info msg="Performing rollback" time="2021-10-14T08:00:19Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules664075107/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules664075107/work/payloads/0000/tree" time="2021-10-14T08:00:19Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:19Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" 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="2021-10-14T08:00:19Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:19Z" level=info msg="Handling loaded state: update-error" time="2021-10-14T08:00:19Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:19Z" level=error msg="Mender shut down in state: update-error" time="2021-10-14T08:00:19Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:19Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:19Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:19Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules664075107/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules664075107/work/payloads/0000/tree" time="2021-10-14T08:00:19Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:19Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:19Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:19Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules664075107/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules664075107/work/payloads/0000/tree" time="2021-10-14T08:00:19Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:19Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:19Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:19Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules664075107/artifact_info file." time="2021-10-14T08:00:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules664075107/artifact_info" time="2021-10-14T08:00:19Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:19Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.02s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00 state_test.go:4717: Error in ArtifactCommit_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:19Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:19Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:19Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:19Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:19Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:19Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:19Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:19Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules079096712/device_type" time="2021-10-14T08:00:19Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:19Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:19Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:19Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:20Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules079096712/artifact_info file." time="2021-10-14T08:00:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules079096712/artifact_info" time="2021-10-14T08:00:20Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:20Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules079096712/artifact_info" time="2021-10-14T08:00:20Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules079096712/device_type" time="2021-10-14T08:00:20Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:20Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:20Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules079096712/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules079096712/work/payloads/0000/tree" time="2021-10-14T08:00:20Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:20Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules079096712/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules079096712/work/payloads/0000/tree" time="2021-10-14T08:00:20Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:20Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:20Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:20Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:20Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules079096712/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules079096712/work/payloads/0000/tree" time="2021-10-14T08:00:20Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules079096712/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules079096712/work/payloads/0000/tree" time="2021-10-14T08:00:20Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:20Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:20Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:20Z" level=debug msg="Handling reboot state" time="2021-10-14T08:00:20Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:00:20Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2021-10-14T08:00:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules079096712/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules079096712/work/payloads/0000/tree" time="2021-10-14T08:00:20Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:20Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2021-10-14T08:00:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules079096712/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules079096712/work/payloads/0000/tree" time="2021-10-14T08:00:20Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:20Z" level=debug msg="Handling state after reboot" time="2021-10-14T08:00:20Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:20Z" level=error msg="transient error: error calling enter script for (error) update-commit state: error running enter state script(s) for ArtifactCommit_Enter state: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" time="2021-10-14T08:00:20Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:20Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:20Z" level=info msg="Performing rollback" time="2021-10-14T08:00:20Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules079096712/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules079096712/work/payloads/0000/tree" time="2021-10-14T08:00:20Z" level=debug msg="Will try to rollback reboot the device" time="2021-10-14T08:00:20Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:20Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:20Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules079096712/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules079096712/work/payloads/0000/tree" time="2021-10-14T08:00:20Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:20Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules079096712/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules079096712/work/payloads/0000/tree" time="2021-10-14T08:00:20Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:20Z" level=debug msg="Handling state after rollback reboot" time="2021-10-14T08:00:20Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:20Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:20Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules079096712/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules079096712/work/payloads/0000/tree" time="2021-10-14T08:00:20Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:20Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules079096712/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules079096712/work/payloads/0000/tree" time="2021-10-14T08:00:20Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:20Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:20Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules079096712/artifact_info file." time="2021-10-14T08:00:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules079096712/artifact_info" time="2021-10-14T08:00:20Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:20Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.21s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00 state_test.go:4717: Killed in ArtifactCommit_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:20Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:20Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:20Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:20Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:20Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:20Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules694269201/device_type" time="2021-10-14T08:00:20Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:20Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:20Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:20Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:20Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules694269201/artifact_info file." time="2021-10-14T08:00:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules694269201/artifact_info" time="2021-10-14T08:00:20Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:20Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules694269201/artifact_info" time="2021-10-14T08:00:20Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules694269201/device_type" time="2021-10-14T08:00:20Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:20Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:20Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules694269201/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules694269201/work/payloads/0000/tree" time="2021-10-14T08:00:20Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:20Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules694269201/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules694269201/work/payloads/0000/tree" time="2021-10-14T08:00:20Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:20Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:20Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:20Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:20Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules694269201/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules694269201/work/payloads/0000/tree" time="2021-10-14T08:00:20Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules694269201/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules694269201/work/payloads/0000/tree" time="2021-10-14T08:00:20Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:20Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:20Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:20Z" level=debug msg="Handling reboot state" time="2021-10-14T08:00:20Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:00:20Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2021-10-14T08:00:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules694269201/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules694269201/work/payloads/0000/tree" time="2021-10-14T08:00:20Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:20Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2021-10-14T08:00:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules694269201/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules694269201/work/payloads/0000/tree" time="2021-10-14T08:00:20Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:20Z" level=debug msg="Handling state after reboot" time="2021-10-14T08:00:20Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" 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="2021-10-14T08:00:20Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:20Z" level=info msg="Handling loaded state: update-commit" time="2021-10-14T08:00:20Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:20Z" level=error msg="Mender shut down in state: update-commit" time="2021-10-14T08:00:20Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:20Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:20Z" level=info msg="Performing rollback" time="2021-10-14T08:00:20Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules694269201/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules694269201/work/payloads/0000/tree" time="2021-10-14T08:00:20Z" level=debug msg="Will try to rollback reboot the device" time="2021-10-14T08:00:20Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:20Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:20Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules694269201/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules694269201/work/payloads/0000/tree" time="2021-10-14T08:00:20Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:20Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules694269201/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules694269201/work/payloads/0000/tree" time="2021-10-14T08:00:20Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:20Z" level=debug msg="Handling state after rollback reboot" time="2021-10-14T08:00:20Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:20Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:20Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules694269201/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules694269201/work/payloads/0000/tree" time="2021-10-14T08:00:20Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:20Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules694269201/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules694269201/work/payloads/0000/tree" time="2021-10-14T08:00:20Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:20Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:20Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules694269201/artifact_info file." time="2021-10-14T08:00:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules694269201/artifact_info" time="2021-10-14T08:00:20Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:20Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.10s) 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="2021-10-14T08:00:20Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:20Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:20Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:20Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:20Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:20Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules270438862/device_type" time="2021-10-14T08:00:20Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:20Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:20Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:20Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:20Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules270438862/artifact_info file." time="2021-10-14T08:00:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules270438862/artifact_info" time="2021-10-14T08:00:20Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:20Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules270438862/artifact_info" time="2021-10-14T08:00:20Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules270438862/device_type" time="2021-10-14T08:00:20Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:20Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:20Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:20Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules270438862/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules270438862/work/payloads/0000/tree" time="2021-10-14T08:00:20Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:20Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules270438862/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules270438862/work/payloads/0000/tree" time="2021-10-14T08:00:20Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:20Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:20Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:20Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:20Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules270438862/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules270438862/work/payloads/0000/tree" time="2021-10-14T08:00:20Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules270438862/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules270438862/work/payloads/0000/tree" time="2021-10-14T08:00:20Z" level=debug msg="Update module output: No" time="2021-10-14T08:00:20Z" level=debug msg="Module does not need reboot" time="2021-10-14T08:00:20Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:20Z" level=error msg="transient error: error calling enter script for (error) update-commit state: error running enter state script(s) for ArtifactCommit_Enter state: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" time="2021-10-14T08:00:20Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:20Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:20Z" level=info msg="Performing rollback" time="2021-10-14T08:00:20Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules270438862/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules270438862/work/payloads/0000/tree" time="2021-10-14T08:00:20Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:20Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:20Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules270438862/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules270438862/work/payloads/0000/tree" time="2021-10-14T08:00:20Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:20Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:21Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:21Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules270438862/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules270438862/work/payloads/0000/tree" time="2021-10-14T08:00:21Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:21Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:21Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:21Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:21Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules270438862/artifact_info file." time="2021-10-14T08:00:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules270438862/artifact_info" time="2021-10-14T08:00:21Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:21Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.31s) 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="2021-10-14T08:00:21Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:21Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:21Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:21Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:21Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:21Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:21Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:21Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules653666255/device_type" time="2021-10-14T08:00:21Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:21Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:21Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:21Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:21Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:21Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules653666255/artifact_info file." time="2021-10-14T08:00:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules653666255/artifact_info" time="2021-10-14T08:00:21Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:21Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules653666255/artifact_info" time="2021-10-14T08:00:21Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules653666255/device_type" time="2021-10-14T08:00:21Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:21Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:21Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules653666255/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules653666255/work/payloads/0000/tree" time="2021-10-14T08:00:21Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:21Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules653666255/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules653666255/work/payloads/0000/tree" time="2021-10-14T08:00:21Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:21Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:21Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:21Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:21Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:21Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:21Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules653666255/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules653666255/work/payloads/0000/tree" time="2021-10-14T08:00:21Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules653666255/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules653666255/work/payloads/0000/tree" time="2021-10-14T08:00:21Z" level=debug msg="Update module output: No" time="2021-10-14T08:00:21Z" level=debug msg="Module does not need reboot" time="2021-10-14T08:00:21Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" time="2021-10-14T08:00:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:21Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:21Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" 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="2021-10-14T08:00:21Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:21Z" level=info msg="Handling loaded state: update-commit" time="2021-10-14T08:00:21Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:21Z" level=error msg="Mender shut down in state: update-commit" time="2021-10-14T08:00:21Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:21Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:21Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:21Z" level=info msg="Performing rollback" time="2021-10-14T08:00:21Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules653666255/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules653666255/work/payloads/0000/tree" time="2021-10-14T08:00:21Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:21Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:21Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:21Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:21Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules653666255/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules653666255/work/payloads/0000/tree" time="2021-10-14T08:00:21Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:21Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:21Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:21Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules653666255/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules653666255/work/payloads/0000/tree" time="2021-10-14T08:00:21Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:21Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:21Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:21Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:21Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules653666255/artifact_info file." time="2021-10-14T08:00:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules653666255/artifact_info" time="2021-10-14T08:00:21Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:21Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.20s) 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="2021-10-14T08:00:21Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:21Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:21Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:21Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:21Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:21Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:21Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:21Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules154931300/device_type" time="2021-10-14T08:00:21Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:21Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:21Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:21Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:21Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:21Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules154931300/artifact_info file." time="2021-10-14T08:00:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules154931300/artifact_info" time="2021-10-14T08:00:21Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:21Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules154931300/artifact_info" time="2021-10-14T08:00:21Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules154931300/device_type" time="2021-10-14T08:00:21Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:21Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:21Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:21Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules154931300/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules154931300/work/payloads/0000/tree" time="2021-10-14T08:00:21Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:21Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules154931300/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules154931300/work/payloads/0000/tree" time="2021-10-14T08:00:21Z" level=debug msg="Update module output: No" time="2021-10-14T08:00:21Z" level=debug msg="Module does not support rollback" time="2021-10-14T08:00:21Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:21Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:21Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:21Z" level=error msg="transient error: error executing leave script for update-after-store state: error running leave state script(s) for Download_Leave state: statescript: error executing 'Download_Leave_00': 1 : exit status 1" time="2021-10-14T08:00:21Z" level=info msg="State transition: update-after-store [Download_Leave] -> cleanup [Error]" time="2021-10-14T08:00:21Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:21Z" level=debug msg="Executing script: Download_Error_00" time="2021-10-14T08:00:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:21Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:21Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules154931300/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules154931300/work/payloads/0000/tree" time="2021-10-14T08:00:21Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:21Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:21Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:21Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:21Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules154931300/artifact_info file." time="2021-10-14T08:00:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules154931300/artifact_info" time="2021-10-14T08:00:21Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:21Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.07s) 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="2021-10-14T08:00:22Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:22Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:22Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:22Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:22Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:22Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:22Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:22Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules007178525/device_type" time="2021-10-14T08:00:22Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:22Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:22Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:22Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:22Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:22Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules007178525/artifact_info file." time="2021-10-14T08:00:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules007178525/artifact_info" time="2021-10-14T08:00:22Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:22Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules007178525/artifact_info" time="2021-10-14T08:00:22Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules007178525/device_type" time="2021-10-14T08:00:22Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:22Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:22Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules007178525/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules007178525/work/payloads/0000/tree" time="2021-10-14T08:00:22Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:22Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules007178525/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules007178525/work/payloads/0000/tree" time="2021-10-14T08:00:22Z" level=debug msg="Update module output: No" time="2021-10-14T08:00:22Z" level=debug msg="Module does not support rollback" time="2021-10-14T08:00:22Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:22Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:22Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" 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="2021-10-14T08:00:22Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:22Z" level=info msg="Handling loaded state: update-after-store" time="2021-10-14T08:00:22Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:22Z" level=error msg="Mender shut down in state: update-after-store" time="2021-10-14T08:00:22Z" level=info msg="State transition: init [none] -> cleanup [Error]" time="2021-10-14T08:00:22Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:22Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:22Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules007178525/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules007178525/work/payloads/0000/tree" time="2021-10-14T08:00:22Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:22Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:22Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:22Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:22Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules007178525/artifact_info file." time="2021-10-14T08:00:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules007178525/artifact_info" time="2021-10-14T08:00:22Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:22Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.01s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00_state,_no_rollback state_test.go:4717: Error in ArtifactInstall_Leave_00 state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:22Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:22Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:22Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:22Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:22Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:22Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:22Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:22Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules702978762/device_type" time="2021-10-14T08:00:22Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:22Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:22Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:22Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:22Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:22Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules702978762/artifact_info file." time="2021-10-14T08:00:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules702978762/artifact_info" time="2021-10-14T08:00:22Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:22Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules702978762/artifact_info" time="2021-10-14T08:00:22Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules702978762/device_type" time="2021-10-14T08:00:22Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:22Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:22Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules702978762/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules702978762/work/payloads/0000/tree" time="2021-10-14T08:00:22Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:22Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules702978762/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules702978762/work/payloads/0000/tree" time="2021-10-14T08:00:22Z" level=debug msg="Update module output: No" time="2021-10-14T08:00:22Z" level=debug msg="Module does not support rollback" time="2021-10-14T08:00:22Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:22Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:22Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:22Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:22Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules702978762/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules702978762/work/payloads/0000/tree" time="2021-10-14T08:00:22Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules702978762/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules702978762/work/payloads/0000/tree" time="2021-10-14T08:00:22Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:22Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:22Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:22Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:22Z" level=error msg="transient error: error executing leave script for update-install state: error running leave state script(s) for ArtifactInstall state: statescript: error executing 'ArtifactInstall_Leave_00': 1 : exit status 1" time="2021-10-14T08:00:22Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" time="2021-10-14T08:00:22Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:22Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:22Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:22Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:22Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules702978762/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules702978762/work/payloads/0000/tree" time="2021-10-14T08:00:22Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:22Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:22Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:22Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules702978762/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules702978762/work/payloads/0000/tree" time="2021-10-14T08:00:22Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:22Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:22Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:22Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:22Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." --- PASS: TestStateTransitionsWithUpdateModules (0.17s) 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="2021-10-14T08:00:22Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:22Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:22Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:22Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:22Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:22Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:22Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:22Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules513939067/device_type" time="2021-10-14T08:00:22Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:22Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:22Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:22Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:22Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:22Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules513939067/artifact_info file." time="2021-10-14T08:00:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules513939067/artifact_info" time="2021-10-14T08:00:22Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:22Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules513939067/artifact_info" time="2021-10-14T08:00:22Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules513939067/device_type" time="2021-10-14T08:00:22Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:22Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:22Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513939067/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules513939067/work/payloads/0000/tree" time="2021-10-14T08:00:22Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:22Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513939067/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules513939067/work/payloads/0000/tree" time="2021-10-14T08:00:22Z" level=debug msg="Update module output: No" time="2021-10-14T08:00:22Z" level=debug msg="Module does not support rollback" time="2021-10-14T08:00:22Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:22Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:22Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:22Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:22Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513939067/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules513939067/work/payloads/0000/tree" time="2021-10-14T08:00:22Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513939067/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules513939067/work/payloads/0000/tree" time="2021-10-14T08:00:22Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:22Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:22Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:22Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" 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="2021-10-14T08:00:22Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:22Z" level=info msg="Handling loaded state: update-install" time="2021-10-14T08:00:22Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:22Z" level=error msg="Mender shut down in state: update-install" time="2021-10-14T08:00:22Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" time="2021-10-14T08:00:22Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:22Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:22Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:22Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513939067/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules513939067/work/payloads/0000/tree" time="2021-10-14T08:00:22Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:22Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:22Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:22Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules513939067/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules513939067/work/payloads/0000/tree" time="2021-10-14T08:00:22Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:22Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:22Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:22Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:22Z" 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="2021-10-14T08:00:22Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:22Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:22Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:22Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:22Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:22Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:22Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:22Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules031606400/device_type" time="2021-10-14T08:00:22Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:22Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:22Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:22Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:22Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:22Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules031606400/artifact_info file." time="2021-10-14T08:00:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules031606400/artifact_info" time="2021-10-14T08:00:22Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:22Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules031606400/artifact_info" time="2021-10-14T08:00:22Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules031606400/device_type" time="2021-10-14T08:00:22Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:22Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:22Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:22Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules031606400/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules031606400/work/payloads/0000/tree" time="2021-10-14T08:00:22Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:22Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules031606400/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules031606400/work/payloads/0000/tree" time="2021-10-14T08:00:22Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:22Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:22Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:22Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:22Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:23Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules031606400/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules031606400/work/payloads/0000/tree" time="2021-10-14T08:00:23Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules031606400/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules031606400/work/payloads/0000/tree" time="2021-10-14T08:00:23Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:23Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:23Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:23Z" level=error msg="transient error: error executing leave script for update-install state: error running leave state script(s) for ArtifactInstall state: statescript: error executing 'ArtifactInstall_Leave_00': 1 : exit status 1" time="2021-10-14T08:00:23Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:23Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:23Z" level=info msg="Performing rollback" time="2021-10-14T08:00:23Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules031606400/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules031606400/work/payloads/0000/tree" time="2021-10-14T08:00:23Z" level=debug msg="Will try to rollback reboot the device" time="2021-10-14T08:00:23Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:23Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:23Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules031606400/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules031606400/work/payloads/0000/tree" time="2021-10-14T08:00:23Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:23Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules031606400/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules031606400/work/payloads/0000/tree" time="2021-10-14T08:00:23Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:23Z" level=debug msg="Handling state after rollback reboot" time="2021-10-14T08:00:23Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:23Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:23Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules031606400/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules031606400/work/payloads/0000/tree" time="2021-10-14T08:00:23Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:23Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules031606400/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules031606400/work/payloads/0000/tree" time="2021-10-14T08:00:23Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:23Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:23Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:23Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules031606400/artifact_info file." time="2021-10-14T08:00:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules031606400/artifact_info" time="2021-10-14T08:00:23Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:23Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.22s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00 state_test.go:4717: Killed in ArtifactInstall_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:23Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:23Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:23Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:23Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:23Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:23Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules163062633/device_type" time="2021-10-14T08:00:23Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:23Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:23Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:23Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:23Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:23Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules163062633/artifact_info file." time="2021-10-14T08:00:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules163062633/artifact_info" time="2021-10-14T08:00:23Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:23Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules163062633/artifact_info" time="2021-10-14T08:00:23Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules163062633/device_type" time="2021-10-14T08:00:23Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:23Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:23Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules163062633/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules163062633/work/payloads/0000/tree" time="2021-10-14T08:00:23Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:23Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules163062633/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules163062633/work/payloads/0000/tree" time="2021-10-14T08:00:23Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:23Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:23Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:23Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:23Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules163062633/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules163062633/work/payloads/0000/tree" time="2021-10-14T08:00:23Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules163062633/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules163062633/work/payloads/0000/tree" time="2021-10-14T08:00:23Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:23Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:23Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" 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="2021-10-14T08:00:23Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:23Z" level=info msg="Handling loaded state: update-install" time="2021-10-14T08:00:23Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:23Z" level=error msg="Mender shut down in state: update-install" time="2021-10-14T08:00:23Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:23Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:23Z" level=info msg="Performing rollback" time="2021-10-14T08:00:23Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules163062633/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules163062633/work/payloads/0000/tree" time="2021-10-14T08:00:23Z" level=debug msg="Will try to rollback reboot the device" time="2021-10-14T08:00:23Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:23Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:23Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules163062633/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules163062633/work/payloads/0000/tree" time="2021-10-14T08:00:23Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:23Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules163062633/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules163062633/work/payloads/0000/tree" time="2021-10-14T08:00:23Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:23Z" level=debug msg="Handling state after rollback reboot" time="2021-10-14T08:00:23Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:23Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:23Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules163062633/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules163062633/work/payloads/0000/tree" time="2021-10-14T08:00:23Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:23Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules163062633/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules163062633/work/payloads/0000/tree" time="2021-10-14T08:00:23Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:23Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:23Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:23Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules163062633/artifact_info file." time="2021-10-14T08:00:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules163062633/artifact_info" time="2021-10-14T08:00:23Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:23Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.12s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Leave_00 state_test.go:4717: Error in ArtifactReboot_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:23Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:23Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:23Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:23Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:23Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:23Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules337058054/device_type" time="2021-10-14T08:00:23Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:23Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:23Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:23Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:23Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:23Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules337058054/artifact_info file." time="2021-10-14T08:00:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules337058054/artifact_info" time="2021-10-14T08:00:23Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:23Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules337058054/artifact_info" time="2021-10-14T08:00:23Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules337058054/device_type" time="2021-10-14T08:00:23Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:23Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:23Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:23Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules337058054/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules337058054/work/payloads/0000/tree" time="2021-10-14T08:00:23Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:23Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules337058054/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules337058054/work/payloads/0000/tree" time="2021-10-14T08:00:23Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:23Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:23Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:23Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:23Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules337058054/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules337058054/work/payloads/0000/tree" time="2021-10-14T08:00:23Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules337058054/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules337058054/work/payloads/0000/tree" time="2021-10-14T08:00:23Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:23Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:23Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:23Z" level=debug msg="Handling reboot state" time="2021-10-14T08:00:23Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:00:23Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2021-10-14T08:00:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules337058054/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules337058054/work/payloads/0000/tree" time="2021-10-14T08:00:23Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:23Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2021-10-14T08:00:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules337058054/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules337058054/work/payloads/0000/tree" time="2021-10-14T08:00:23Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:23Z" level=debug msg="Handling state after reboot" time="2021-10-14T08:00:23Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:23Z" level=error msg="transient error: error executing leave script for after-reboot state: error running leave state script(s) for ArtifactReboot_Leave state: statescript: error executing 'ArtifactReboot_Leave_00': 1 : exit status 1" time="2021-10-14T08:00:23Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:23Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:23Z" level=info msg="Performing rollback" time="2021-10-14T08:00:23Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules337058054/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules337058054/work/payloads/0000/tree" time="2021-10-14T08:00:23Z" level=debug msg="Will try to rollback reboot the device" time="2021-10-14T08:00:23Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:23Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:23Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules337058054/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules337058054/work/payloads/0000/tree" time="2021-10-14T08:00:23Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:23Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules337058054/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules337058054/work/payloads/0000/tree" time="2021-10-14T08:00:23Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:23Z" level=debug msg="Handling state after rollback reboot" time="2021-10-14T08:00:23Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:23Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:23Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules337058054/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules337058054/work/payloads/0000/tree" time="2021-10-14T08:00:23Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:23Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules337058054/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules337058054/work/payloads/0000/tree" time="2021-10-14T08:00:23Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:23Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:23Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:23Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:23Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules337058054/artifact_info file." time="2021-10-14T08:00:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules337058054/artifact_info" time="2021-10-14T08:00:23Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:23Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.29s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Leave_00 state_test.go:4717: Killed in ArtifactReboot_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:24Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:24Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:24Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:24Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:24Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:24Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:24Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:24Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules424353127/device_type" time="2021-10-14T08:00:24Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:24Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:24Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:24Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:24Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:24Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules424353127/artifact_info file." time="2021-10-14T08:00:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules424353127/artifact_info" time="2021-10-14T08:00:24Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:24Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules424353127/artifact_info" time="2021-10-14T08:00:24Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules424353127/device_type" time="2021-10-14T08:00:24Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:24Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:24Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules424353127/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules424353127/work/payloads/0000/tree" time="2021-10-14T08:00:24Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:24Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules424353127/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules424353127/work/payloads/0000/tree" time="2021-10-14T08:00:24Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:24Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:24Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:24Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:24Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:24Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:24Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules424353127/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules424353127/work/payloads/0000/tree" time="2021-10-14T08:00:24Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules424353127/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules424353127/work/payloads/0000/tree" time="2021-10-14T08:00:24Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:24Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:24Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:24Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:24Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:24Z" level=debug msg="Handling reboot state" time="2021-10-14T08:00:24Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:00:24Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2021-10-14T08:00:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules424353127/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules424353127/work/payloads/0000/tree" time="2021-10-14T08:00:24Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:24Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2021-10-14T08:00:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules424353127/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules424353127/work/payloads/0000/tree" time="2021-10-14T08:00:24Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:24Z" level=debug msg="Handling state after reboot" time="2021-10-14T08:00:24Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2021-10-14T08:00:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:24Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" 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="2021-10-14T08:00:24Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:24Z" level=info msg="Handling loaded state: after-reboot" time="2021-10-14T08:00:24Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:24Z" level=error msg="Mender shut down in state: after-reboot" time="2021-10-14T08:00:24Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:24Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:24Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:24Z" level=info msg="Performing rollback" time="2021-10-14T08:00:24Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules424353127/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules424353127/work/payloads/0000/tree" time="2021-10-14T08:00:24Z" level=debug msg="Will try to rollback reboot the device" time="2021-10-14T08:00:24Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:24Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:24Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:24Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:24Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules424353127/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules424353127/work/payloads/0000/tree" time="2021-10-14T08:00:24Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:24Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules424353127/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules424353127/work/payloads/0000/tree" time="2021-10-14T08:00:24Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:24Z" level=debug msg="Handling state after rollback reboot" time="2021-10-14T08:00:24Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:24Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:24Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:24Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:24Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules424353127/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules424353127/work/payloads/0000/tree" time="2021-10-14T08:00:24Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:24Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:24Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:24Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules424353127/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules424353127/work/payloads/0000/tree" time="2021-10-14T08:00:24Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:24Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:24Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:24Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:24Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules424353127/artifact_info file." time="2021-10-14T08:00:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules424353127/artifact_info" time="2021-10-14T08:00:24Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:24Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.15s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Leave_00 state_test.go:4717: Error in ArtifactRollback_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:24Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:24Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:24Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:24Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:24Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:24Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:24Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:24Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules617617372/device_type" time="2021-10-14T08:00:24Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:24Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:24Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:24Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:24Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:24Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules617617372/artifact_info file." time="2021-10-14T08:00:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules617617372/artifact_info" time="2021-10-14T08:00:24Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:24Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules617617372/artifact_info" time="2021-10-14T08:00:24Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules617617372/device_type" time="2021-10-14T08:00:24Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:24Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:24Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:24Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules617617372/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules617617372/work/payloads/0000/tree" time="2021-10-14T08:00:24Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:24Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules617617372/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules617617372/work/payloads/0000/tree" time="2021-10-14T08:00:24Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:24Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:24Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:24Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:24Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:24Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:24Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules617617372/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules617617372/work/payloads/0000/tree" time="2021-10-14T08:00:24Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules617617372/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules617617372/work/payloads/0000/tree" time="2021-10-14T08:00:24Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:24Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:24Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:24Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:24Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:24Z" level=debug msg="Handling reboot state" time="2021-10-14T08:00:24Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:00:24Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2021-10-14T08:00:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules617617372/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules617617372/work/payloads/0000/tree" time="2021-10-14T08:00:24Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:24Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2021-10-14T08:00:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules617617372/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules617617372/work/payloads/0000/tree" time="2021-10-14T08:00:24Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:24Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:24Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:24Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:24Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:24Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:24Z" level=info msg="Performing rollback" time="2021-10-14T08:00:24Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules617617372/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules617617372/work/payloads/0000/tree" time="2021-10-14T08:00:24Z" level=debug msg="Will try to rollback reboot the device" time="2021-10-14T08:00:24Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:24Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:24Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollback_Leave_00': 1: exit status 1" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:24Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:24Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:24Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules617617372/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules617617372/work/payloads/0000/tree" time="2021-10-14T08:00:24Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:24Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules617617372/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules617617372/work/payloads/0000/tree" time="2021-10-14T08:00:24Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:24Z" level=debug msg="Handling state after rollback reboot" time="2021-10-14T08:00:24Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:24Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:24Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:24Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:24Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules617617372/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules617617372/work/payloads/0000/tree" time="2021-10-14T08:00:24Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:24Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:24Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:24Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules617617372/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules617617372/work/payloads/0000/tree" time="2021-10-14T08:00:24Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:24Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:24Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:24Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:24Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules617617372/artifact_info file." time="2021-10-14T08:00:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules617617372/artifact_info" time="2021-10-14T08:00:24Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:24Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.22s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Leave_00 state_test.go:4717: Killed in ArtifactRollback_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:25Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:25Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:25Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:25Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:25Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:25Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules066178037/device_type" time="2021-10-14T08:00:25Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:25Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:25Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:25Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:25Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:25Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules066178037/artifact_info file." time="2021-10-14T08:00:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules066178037/artifact_info" time="2021-10-14T08:00:25Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:25Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules066178037/artifact_info" time="2021-10-14T08:00:25Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules066178037/device_type" time="2021-10-14T08:00:25Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:25Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:25Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066178037/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules066178037/work/payloads/0000/tree" time="2021-10-14T08:00:25Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:25Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066178037/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules066178037/work/payloads/0000/tree" time="2021-10-14T08:00:25Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:25Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:25Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:25Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:25Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066178037/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules066178037/work/payloads/0000/tree" time="2021-10-14T08:00:25Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066178037/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules066178037/work/payloads/0000/tree" time="2021-10-14T08:00:25Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:25Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:25Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:25Z" level=debug msg="Handling reboot state" time="2021-10-14T08:00:25Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:00:25Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2021-10-14T08:00:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066178037/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules066178037/work/payloads/0000/tree" time="2021-10-14T08:00:25Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:25Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2021-10-14T08:00:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066178037/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules066178037/work/payloads/0000/tree" time="2021-10-14T08:00:25Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:25Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:25Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:25Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:25Z" level=info msg="Performing rollback" time="2021-10-14T08:00:25Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066178037/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules066178037/work/payloads/0000/tree" time="2021-10-14T08:00:25Z" level=debug msg="Will try to rollback reboot the device" time="2021-10-14T08:00:25Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" 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="2021-10-14T08:00:25Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:25Z" level=info msg="Handling loaded state: rollback" time="2021-10-14T08:00:25Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:25Z" level=error msg="Mender shut down in state: rollback" time="2021-10-14T08:00:25Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:25Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:25Z" level=info msg="Performing rollback" time="2021-10-14T08:00:25Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066178037/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules066178037/work/payloads/0000/tree" time="2021-10-14T08:00:25Z" level=debug msg="Will try to rollback reboot the device" time="2021-10-14T08:00:25Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:25Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:25Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066178037/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules066178037/work/payloads/0000/tree" time="2021-10-14T08:00:25Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:25Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066178037/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules066178037/work/payloads/0000/tree" time="2021-10-14T08:00:25Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:25Z" level=debug msg="Handling state after rollback reboot" time="2021-10-14T08:00:25Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:25Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:25Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066178037/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules066178037/work/payloads/0000/tree" time="2021-10-14T08:00:25Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:25Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules066178037/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules066178037/work/payloads/0000/tree" time="2021-10-14T08:00:25Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:25Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:25Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:25Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules066178037/artifact_info file." time="2021-10-14T08:00:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules066178037/artifact_info" time="2021-10-14T08:00:25Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:25Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.13s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Leave_00 state_test.go:4717: Error in ArtifactRollbackReboot_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:25Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:25Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:25Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:25Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:25Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:25Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules321076354/device_type" time="2021-10-14T08:00:25Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:25Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:25Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:25Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:25Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:25Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules321076354/artifact_info file." time="2021-10-14T08:00:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules321076354/artifact_info" time="2021-10-14T08:00:25Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:25Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules321076354/artifact_info" time="2021-10-14T08:00:25Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules321076354/device_type" time="2021-10-14T08:00:25Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:25Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:25Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules321076354/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules321076354/work/payloads/0000/tree" time="2021-10-14T08:00:25Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:25Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules321076354/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules321076354/work/payloads/0000/tree" time="2021-10-14T08:00:25Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:25Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:25Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:25Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:25Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules321076354/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules321076354/work/payloads/0000/tree" time="2021-10-14T08:00:25Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules321076354/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules321076354/work/payloads/0000/tree" time="2021-10-14T08:00:25Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:25Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:25Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:25Z" level=debug msg="Handling reboot state" time="2021-10-14T08:00:25Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:00:25Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2021-10-14T08:00:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules321076354/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules321076354/work/payloads/0000/tree" time="2021-10-14T08:00:25Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:25Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2021-10-14T08:00:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules321076354/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules321076354/work/payloads/0000/tree" time="2021-10-14T08:00:25Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:25Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:25Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:25Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:25Z" level=info msg="Performing rollback" time="2021-10-14T08:00:25Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules321076354/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules321076354/work/payloads/0000/tree" time="2021-10-14T08:00:25Z" level=debug msg="Will try to rollback reboot the device" time="2021-10-14T08:00:25Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:25Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:25Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules321076354/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules321076354/work/payloads/0000/tree" time="2021-10-14T08:00:25Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:25Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules321076354/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules321076354/work/payloads/0000/tree" time="2021-10-14T08:00:25Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:25Z" level=debug msg="Handling state after rollback reboot" time="2021-10-14T08:00:25Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:25Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollbackReboot_Leave_00': 1: exit status 1" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:25Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:25Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules321076354/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules321076354/work/payloads/0000/tree" time="2021-10-14T08:00:25Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:25Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules321076354/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules321076354/work/payloads/0000/tree" time="2021-10-14T08:00:25Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:25Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:25Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:25Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules321076354/artifact_info file." time="2021-10-14T08:00:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules321076354/artifact_info" time="2021-10-14T08:00:25Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:25Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.23s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Leave_00 state_test.go:4717: Killed in ArtifactRollbackReboot_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:25Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:25Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:25Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:25Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:25Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:25Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules582313619/device_type" time="2021-10-14T08:00:25Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:25Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:25Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:25Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:25Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:25Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules582313619/artifact_info file." time="2021-10-14T08:00:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules582313619/artifact_info" time="2021-10-14T08:00:25Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:25Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules582313619/artifact_info" time="2021-10-14T08:00:25Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules582313619/device_type" time="2021-10-14T08:00:25Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:25Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:25Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:25Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules582313619/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules582313619/work/payloads/0000/tree" time="2021-10-14T08:00:25Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:25Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules582313619/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules582313619/work/payloads/0000/tree" time="2021-10-14T08:00:25Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:25Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:25Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:25Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:25Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules582313619/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules582313619/work/payloads/0000/tree" time="2021-10-14T08:00:25Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules582313619/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules582313619/work/payloads/0000/tree" time="2021-10-14T08:00:25Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:25Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:25Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:25Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:26Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:26Z" level=debug msg="Handling reboot state" time="2021-10-14T08:00:26Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:00:26Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2021-10-14T08:00:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules582313619/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules582313619/work/payloads/0000/tree" time="2021-10-14T08:00:26Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:26Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2021-10-14T08:00:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules582313619/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules582313619/work/payloads/0000/tree" time="2021-10-14T08:00:26Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:26Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:26Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:26Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:26Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:26Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:26Z" level=info msg="Performing rollback" time="2021-10-14T08:00:26Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules582313619/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules582313619/work/payloads/0000/tree" time="2021-10-14T08:00:26Z" level=debug msg="Will try to rollback reboot the device" time="2021-10-14T08:00:26Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:26Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:26Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:26Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:26Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules582313619/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules582313619/work/payloads/0000/tree" time="2021-10-14T08:00:26Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:26Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules582313619/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules582313619/work/payloads/0000/tree" time="2021-10-14T08:00:26Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:26Z" level=debug msg="Handling state after rollback reboot" time="2021-10-14T08:00:26Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:26Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" 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="2021-10-14T08:00:26Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:26Z" level=info msg="Handling loaded state: after-rollback-reboot" time="2021-10-14T08:00:26Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:26Z" level=error msg="Mender shut down in state: after-rollback-reboot" time="2021-10-14T08:00:26Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:26Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:26Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules582313619/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules582313619/work/payloads/0000/tree" time="2021-10-14T08:00:26Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:26Z" level=debug msg="Handling state after rollback reboot" time="2021-10-14T08:00:26Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:26Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:26Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:26Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:26Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules582313619/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules582313619/work/payloads/0000/tree" time="2021-10-14T08:00:26Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:26Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:26Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:26Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules582313619/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules582313619/work/payloads/0000/tree" time="2021-10-14T08:00:26Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:26Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:26Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:26Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:26Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules582313619/artifact_info file." time="2021-10-14T08:00:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules582313619/artifact_info" time="2021-10-14T08:00:26Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:26Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.04s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Leave_00 state_test.go:4717: Error in ArtifactFailure_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:26Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:26Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:26Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:26Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:26Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:26Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:26Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:26Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules629017208/device_type" time="2021-10-14T08:00:26Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:26Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:26Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:26Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:26Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:26Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules629017208/artifact_info file." time="2021-10-14T08:00:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules629017208/artifact_info" time="2021-10-14T08:00:26Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:26Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules629017208/artifact_info" time="2021-10-14T08:00:26Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules629017208/device_type" time="2021-10-14T08:00:26Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:26Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:26Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules629017208/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules629017208/work/payloads/0000/tree" time="2021-10-14T08:00:26Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:26Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules629017208/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules629017208/work/payloads/0000/tree" time="2021-10-14T08:00:26Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:26Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:26Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:26Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:26Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:26Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:26Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules629017208/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules629017208/work/payloads/0000/tree" time="2021-10-14T08:00:26Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:26Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:26Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:26Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:26Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:26Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:26Z" level=info msg="Performing rollback" time="2021-10-14T08:00:26Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules629017208/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules629017208/work/payloads/0000/tree" time="2021-10-14T08:00:26Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:26Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:26Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:26Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:26Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules629017208/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules629017208/work/payloads/0000/tree" time="2021-10-14T08:00:26Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:26Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:26Z" level=error msg="statescript: Ignoring error executing 'ArtifactFailure_Leave_00': 1: exit status 1" time="2021-10-14T08:00:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:26Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:26Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules629017208/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules629017208/work/payloads/0000/tree" time="2021-10-14T08:00:26Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:26Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:26Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:26Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:26Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules629017208/artifact_info file." time="2021-10-14T08:00:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules629017208/artifact_info" time="2021-10-14T08:00:26Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:26Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.21s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Leave_00 state_test.go:4717: Killed in ArtifactFailure_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:26Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:26Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:26Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:26Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:26Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:26Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:26Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:26Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules579264705/device_type" time="2021-10-14T08:00:26Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:26Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:26Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:26Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:26Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:26Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules579264705/artifact_info file." time="2021-10-14T08:00:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules579264705/artifact_info" time="2021-10-14T08:00:26Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:26Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules579264705/artifact_info" time="2021-10-14T08:00:26Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules579264705/device_type" time="2021-10-14T08:00:26Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:26Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:26Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:26Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules579264705/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules579264705/work/payloads/0000/tree" time="2021-10-14T08:00:26Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:26Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules579264705/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules579264705/work/payloads/0000/tree" time="2021-10-14T08:00:26Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:26Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:26Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:26Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:26Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:26Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:26Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules579264705/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules579264705/work/payloads/0000/tree" time="2021-10-14T08:00:26Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:26Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:26Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:26Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:26Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:26Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:26Z" level=info msg="Performing rollback" time="2021-10-14T08:00:26Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules579264705/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules579264705/work/payloads/0000/tree" time="2021-10-14T08:00:26Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:26Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:26Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:26Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:26Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules579264705/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules579264705/work/payloads/0000/tree" time="2021-10-14T08:00:26Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:26Z" 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="2021-10-14T08:00:27Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:27Z" level=info msg="Handling loaded state: update-error" time="2021-10-14T08:00:27Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:27Z" level=error msg="Mender shut down in state: update-error" time="2021-10-14T08:00:27Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:27Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:27Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:27Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules579264705/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules579264705/work/payloads/0000/tree" time="2021-10-14T08:00:27Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:27Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules579264705/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules579264705/work/payloads/0000/tree" time="2021-10-14T08:00:27Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:27Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:27Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:27Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules579264705/artifact_info file." time="2021-10-14T08:00:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules579264705/artifact_info" time="2021-10-14T08:00:27Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:27Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.02s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00 state_test.go:4717: Error in ArtifactCommit_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:27Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:27Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:27Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:27Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:27Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:27Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules809834302/device_type" time="2021-10-14T08:00:27Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:27Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:27Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:27Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:27Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:27Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules809834302/artifact_info file." time="2021-10-14T08:00:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules809834302/artifact_info" time="2021-10-14T08:00:27Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:27Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules809834302/artifact_info" time="2021-10-14T08:00:27Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules809834302/device_type" time="2021-10-14T08:00:27Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:27Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:27Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules809834302/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules809834302/work/payloads/0000/tree" time="2021-10-14T08:00:27Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:27Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules809834302/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules809834302/work/payloads/0000/tree" time="2021-10-14T08:00:27Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:27Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:27Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:27Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:27Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules809834302/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules809834302/work/payloads/0000/tree" time="2021-10-14T08:00:27Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules809834302/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules809834302/work/payloads/0000/tree" time="2021-10-14T08:00:27Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:27Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:27Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:27Z" level=debug msg="Handling reboot state" time="2021-10-14T08:00:27Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:00:27Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2021-10-14T08:00:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules809834302/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules809834302/work/payloads/0000/tree" time="2021-10-14T08:00:27Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:27Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2021-10-14T08:00:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules809834302/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules809834302/work/payloads/0000/tree" time="2021-10-14T08:00:27Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:27Z" level=debug msg="Handling state after reboot" time="2021-10-14T08:00:27Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:27Z" level=debug msg="Handle update commit state" time="2021-10-14T08:00:27Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2021-10-14T08:00:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules809834302/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules809834302/work/payloads/0000/tree" time="2021-10-14T08:00:27Z" level=debug msg="Committing new artifact name: artifact-name" time="2021-10-14T08:00:27Z" level=debug msg="Committing new artifact group name: " time="2021-10-14T08:00:27Z" level=debug msg="Committing new artifact type-info provides" time="2021-10-14T08:00:27Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" time="2021-10-14T08:00:27Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" time="2021-10-14T08:00:27Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:27Z" level=error msg="transient error: error executing leave script for update-after-commit state: error running leave state script(s) for ArtifactCommit_Leave state: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" time="2021-10-14T08:00:27Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" time="2021-10-14T08:00:27Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [Error]" time="2021-10-14T08:00:27Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:27Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules809834302/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules809834302/work/payloads/0000/tree" time="2021-10-14T08:00:27Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:27Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:27Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:27Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." --- PASS: TestStateTransitionsWithUpdateModules (0.15s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00 state_test.go:4717: Killed in ArtifactCommit_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:27Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:27Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:27Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:27Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:27Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:27Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules760679423/device_type" time="2021-10-14T08:00:27Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:27Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:27Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:27Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:27Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:27Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules760679423/artifact_info file." time="2021-10-14T08:00:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules760679423/artifact_info" time="2021-10-14T08:00:27Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:27Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules760679423/artifact_info" time="2021-10-14T08:00:27Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules760679423/device_type" time="2021-10-14T08:00:27Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:27Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:27Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules760679423/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules760679423/work/payloads/0000/tree" time="2021-10-14T08:00:27Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:27Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules760679423/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules760679423/work/payloads/0000/tree" time="2021-10-14T08:00:27Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:27Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:27Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:27Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:27Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules760679423/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules760679423/work/payloads/0000/tree" time="2021-10-14T08:00:27Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules760679423/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules760679423/work/payloads/0000/tree" time="2021-10-14T08:00:27Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:27Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:27Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:27Z" level=debug msg="Handling reboot state" time="2021-10-14T08:00:27Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:00:27Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2021-10-14T08:00:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules760679423/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules760679423/work/payloads/0000/tree" time="2021-10-14T08:00:27Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:27Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2021-10-14T08:00:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules760679423/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules760679423/work/payloads/0000/tree" time="2021-10-14T08:00:27Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:27Z" level=debug msg="Handling state after reboot" time="2021-10-14T08:00:27Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:27Z" level=debug msg="Handle update commit state" time="2021-10-14T08:00:27Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2021-10-14T08:00:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules760679423/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules760679423/work/payloads/0000/tree" time="2021-10-14T08:00:27Z" level=debug msg="Committing new artifact name: artifact-name" time="2021-10-14T08:00:27Z" level=debug msg="Committing new artifact group name: " time="2021-10-14T08:00:27Z" level=debug msg="Committing new artifact type-info provides" time="2021-10-14T08:00:27Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" time="2021-10-14T08:00:27Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" time="2021-10-14T08:00:27Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" 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="2021-10-14T08:00:27Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:27Z" level=info msg="Handling loaded state: update-after-commit" time="2021-10-14T08:00:27Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:27Z" level=error msg="Mender shut down in state: update-after-commit" time="2021-10-14T08:00:27Z" level=info msg="State transition: init [none] -> update-after-commit [ArtifactCommit_Leave]" time="2021-10-14T08:00:27Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:27Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:27Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules760679423/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules760679423/work/payloads/0000/tree" time="2021-10-14T08:00:27Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" time="2021-10-14T08:00:27Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:27Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:27Z" level=debug msg="Returning artifact name artifact-name from database." --- PASS: TestStateTransitionsWithUpdateModules (0.09s) 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="2021-10-14T08:00:27Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:27Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:27Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:27Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:27Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:27Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules110955604/device_type" time="2021-10-14T08:00:27Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:27Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:27Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:27Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:27Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:27Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules110955604/artifact_info file." time="2021-10-14T08:00:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules110955604/artifact_info" time="2021-10-14T08:00:27Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:27Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules110955604/artifact_info" time="2021-10-14T08:00:27Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules110955604/device_type" time="2021-10-14T08:00:27Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:27Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:27Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:27Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules110955604/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules110955604/work/payloads/0000/tree" time="2021-10-14T08:00:27Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:27Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules110955604/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules110955604/work/payloads/0000/tree" time="2021-10-14T08:00:27Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:27Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:27Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:27Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:27Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules110955604/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules110955604/work/payloads/0000/tree" time="2021-10-14T08:00:27Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules110955604/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules110955604/work/payloads/0000/tree" time="2021-10-14T08:00:27Z" level=debug msg="Update module output: No" time="2021-10-14T08:00:27Z" level=debug msg="Module does not need reboot" time="2021-10-14T08:00:27Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:27Z" level=debug msg="Handle update commit state" time="2021-10-14T08:00:27Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2021-10-14T08:00:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules110955604/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules110955604/work/payloads/0000/tree" time="2021-10-14T08:00:27Z" level=debug msg="Committing new artifact name: artifact-name" time="2021-10-14T08:00:27Z" level=debug msg="Committing new artifact group name: " time="2021-10-14T08:00:27Z" level=debug msg="Committing new artifact type-info provides" time="2021-10-14T08:00:27Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" time="2021-10-14T08:00:27Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" time="2021-10-14T08:00:27Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:27Z" level=error msg="transient error: error executing leave script for update-after-commit state: error running leave state script(s) for ArtifactCommit_Leave state: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" time="2021-10-14T08:00:27Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" time="2021-10-14T08:00:27Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [Error]" time="2021-10-14T08:00:27Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:27Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules110955604/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules110955604/work/payloads/0000/tree" time="2021-10-14T08:00:27Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:27Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:27Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:27Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:27Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." --- PASS: TestStateTransitionsWithUpdateModules (0.19s) 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="2021-10-14T08:00:28Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:28Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:28Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:28Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:28Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:28Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules181669325/device_type" time="2021-10-14T08:00:28Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:28Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:28Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:28Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:28Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:28Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules181669325/artifact_info file." time="2021-10-14T08:00:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules181669325/artifact_info" time="2021-10-14T08:00:28Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:28Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules181669325/artifact_info" time="2021-10-14T08:00:28Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules181669325/device_type" time="2021-10-14T08:00:28Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:28Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:28Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules181669325/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules181669325/work/payloads/0000/tree" time="2021-10-14T08:00:28Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:28Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules181669325/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules181669325/work/payloads/0000/tree" time="2021-10-14T08:00:28Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:28Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:28Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:28Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:28Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules181669325/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules181669325/work/payloads/0000/tree" time="2021-10-14T08:00:28Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules181669325/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules181669325/work/payloads/0000/tree" time="2021-10-14T08:00:28Z" level=debug msg="Update module output: No" time="2021-10-14T08:00:28Z" level=debug msg="Module does not need reboot" time="2021-10-14T08:00:28Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:28Z" level=debug msg="Handle update commit state" time="2021-10-14T08:00:28Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2021-10-14T08:00:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules181669325/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules181669325/work/payloads/0000/tree" time="2021-10-14T08:00:28Z" level=debug msg="Committing new artifact name: artifact-name" time="2021-10-14T08:00:28Z" level=debug msg="Committing new artifact group name: " time="2021-10-14T08:00:28Z" level=debug msg="Committing new artifact type-info provides" time="2021-10-14T08:00:28Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" time="2021-10-14T08:00:28Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" time="2021-10-14T08:00:28Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" 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="2021-10-14T08:00:28Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:28Z" level=info msg="Handling loaded state: update-after-commit" time="2021-10-14T08:00:28Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:28Z" level=error msg="Mender shut down in state: update-after-commit" time="2021-10-14T08:00:28Z" level=info msg="State transition: init [none] -> update-after-commit [ArtifactCommit_Leave]" time="2021-10-14T08:00:28Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:28Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:28Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules181669325/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules181669325/work/payloads/0000/tree" time="2021-10-14T08:00:28Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" time="2021-10-14T08:00:28Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:28Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:28Z" level=debug msg="Returning artifact name artifact-name from database." --- PASS: TestStateTransitionsWithUpdateModules (0.01s) PASS === RUN TestStateTransitionsWithUpdateModules/Break_out_of_error_loop state_test.go:4717: Break out of error loop state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:28Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:28Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:28Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:28Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:28Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:28Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules133505850/device_type" time="2021-10-14T08:00:28Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:28Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:28Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:28Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:28Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:28Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules133505850/artifact_info file." time="2021-10-14T08:00:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules133505850/artifact_info" time="2021-10-14T08:00:28Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:28Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules133505850/artifact_info" time="2021-10-14T08:00:28Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules133505850/device_type" time="2021-10-14T08:00:28Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:28Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:28Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:28Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:28Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:28Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:28Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:28Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:28Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:28Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:28Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:28Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:28Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:28Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:28Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:28Z" level=debug msg="Handling reboot state" time="2021-10-14T08:00:28Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:00:28Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2021-10-14T08:00:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:28Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:28Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2021-10-14T08:00:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:28Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:28Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:28Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:28Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:28Z" level=info msg="Performing rollback" time="2021-10-14T08:00:28Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:28Z" level=debug msg="Will try to rollback reboot the device" time="2021-10-14T08:00:28Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:28Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:28Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:28Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:28Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:28Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:28Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:28Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:28Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:28Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:28Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:28Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:28Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:28Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:28Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:28Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:28Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:28Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:28Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:28Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:28Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:28Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:28Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:28Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:28Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:28Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133505850/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133505850/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=error msg="Could not write state data to persistent storage: State data stored and retrieved maximum number of times" time="2021-10-14T08:00:29Z" level=error msg="State transition loop detected in state rollback-reboot: Forcefully aborting update. The system is likely to be in an inconsistent state after this." time="2021-10-14T08:00:29Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" time="2021-10-14T08:00:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> update-status-report [none]" time="2021-10-14T08:00:29Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:29Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:29Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:29Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." --- PASS: TestStateTransitionsWithUpdateModules (1.09s) 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="2021-10-14T08:00:29Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:29Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:29Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:29Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:29Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules717297067/device_type" time="2021-10-14T08:00:29Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:29Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:29Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:29Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:29Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:29Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:29Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:29Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:29Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:29Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:29Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules717297067/artifact_info file." time="2021-10-14T08:00:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules717297067/artifact_info" time="2021-10-14T08:00:29Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:29Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules717297067/artifact_info" time="2021-10-14T08:00:29Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules717297067/device_type" time="2021-10-14T08:00:29Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:29Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:29Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules717297067/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules717297067/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:29Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:29Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:29Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules717297067/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules717297067/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:29Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:29Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=debug msg="Handling reboot state" time="2021-10-14T08:00:29Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules717297067/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules717297067/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=error msg="Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" time="2021-10-14T08:00:29Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:29Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactReboot_Error_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=info msg="Performing rollback" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules717297067/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=debug msg="Will try to rollback reboot the device" time="2021-10-14T08:00:29Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules717297067/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules717297067/work/payloads/0000/tree" time="2021-10-14T08:00:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:00:29Z" level=debug msg="Handling state after rollback reboot" time="2021-10-14T08:00:29Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:29Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:29Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:29Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules717297067/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="2021-10-14T08:00:30Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:30Z" level=info msg="Handling loaded state: update-error" time="2021-10-14T08:00:30Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:30Z" level=error msg="Mender shut down in state: update-error" time="2021-10-14T08:00:30Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:30Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:30Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:30Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:30Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules717297067/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="2021-10-14T08:00:30Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:30Z" level=info msg="Handling loaded state: update-error" time="2021-10-14T08:00:30Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:30Z" level=error msg="Mender shut down in state: update-error" time="2021-10-14T08:00:30Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:30Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:30Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:30Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:30Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules717297067/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="2021-10-14T08:00:30Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:30Z" level=info msg="Handling loaded state: update-error" time="2021-10-14T08:00:30Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:30Z" level=error msg="Mender shut down in state: update-error" time="2021-10-14T08:00:30Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:30Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:30Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:30Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:30Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules717297067/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="2021-10-14T08:00:30Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:30Z" level=info msg="Handling loaded state: update-error" time="2021-10-14T08:00:30Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:30Z" level=error msg="Mender shut down in state: update-error" time="2021-10-14T08:00:30Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:30Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:30Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:30Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:30Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules717297067/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="2021-10-14T08:00:30Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:30Z" level=info msg="Handling loaded state: update-error" time="2021-10-14T08:00:30Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:30Z" level=error msg="Mender shut down in state: update-error" time="2021-10-14T08:00:30Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:30Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:30Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:30Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:30Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules717297067/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="2021-10-14T08:00:30Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:30Z" level=info msg="Handling loaded state: update-error" time="2021-10-14T08:00:30Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:30Z" level=error msg="Mender shut down in state: update-error" time="2021-10-14T08:00:30Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:30Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:30Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:30Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:30Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules717297067/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="2021-10-14T08:00:30Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:30Z" level=info msg="Handling loaded state: update-error" time="2021-10-14T08:00:30Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:30Z" level=error msg="Mender shut down in state: update-error" time="2021-10-14T08:00:30Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:30Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:30Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:30Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:30Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules717297067/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="2021-10-14T08:00:30Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:30Z" level=info msg="Handling loaded state: update-error" time="2021-10-14T08:00:30Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:30Z" level=error msg="Mender shut down in state: update-error" time="2021-10-14T08:00:30Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:30Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:30Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:30Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:30Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules717297067/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="2021-10-14T08:00:30Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:30Z" level=info msg="Handling loaded state: update-error" time="2021-10-14T08:00:30Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:30Z" level=error msg="Mender shut down in state: update-error" time="2021-10-14T08:00:30Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:30Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:30Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:30Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:30Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules717297067/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="2021-10-14T08:00:30Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:30Z" level=info msg="Handling loaded state: update-error" time="2021-10-14T08:00:30Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:30Z" level=error msg="Mender shut down in state: update-error" time="2021-10-14T08:00:30Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:30Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:30Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:30Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:30Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules717297067/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="2021-10-14T08:00:31Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:31Z" level=info msg="Handling loaded state: update-error" time="2021-10-14T08:00:31Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:31Z" level=error msg="Mender shut down in state: update-error" time="2021-10-14T08:00:31Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:31Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:31Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:31Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules717297067/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="2021-10-14T08:00:31Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:31Z" level=info msg="Handling loaded state: update-error" time="2021-10-14T08:00:31Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:31Z" level=error msg="Mender shut down in state: update-error" time="2021-10-14T08:00:31Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:31Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:31Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:31Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules717297067/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="2021-10-14T08:00:31Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:31Z" level=info msg="Handling loaded state: update-error" time="2021-10-14T08:00:31Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:31Z" level=error msg="Mender shut down in state: update-error" time="2021-10-14T08:00:31Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:31Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:31Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:31Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules717297067/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="2021-10-14T08:00:31Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:31Z" level=info msg="Handling loaded state: update-error" time="2021-10-14T08:00:31Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:31Z" level=error msg="Mender shut down in state: update-error" time="2021-10-14T08:00:31Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:31Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:31Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:31Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules717297067/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="2021-10-14T08:00:31Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:31Z" level=info msg="Handling loaded state: update-error" time="2021-10-14T08:00:31Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:31Z" level=error msg="Mender shut down in state: update-error" time="2021-10-14T08:00:31Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:31Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:31Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:31Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules717297067/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="2021-10-14T08:00:31Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:31Z" level=info msg="Handling loaded state: update-error" time="2021-10-14T08:00:31Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:31Z" level=error msg="Mender shut down in state: update-error" time="2021-10-14T08:00:31Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:31Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:31Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:31Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules717297067/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="2021-10-14T08:00:31Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:31Z" level=info msg="Handling loaded state: update-error" time="2021-10-14T08:00:31Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:31Z" level=error msg="Mender shut down in state: update-error" time="2021-10-14T08:00:31Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:31Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:31Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:31Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules717297067/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="2021-10-14T08:00:31Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:31Z" level=info msg="Handling loaded state: update-error" time="2021-10-14T08:00:31Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:31Z" level=error msg="Mender shut down in state: update-error" time="2021-10-14T08:00:31Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:31Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:31Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:31Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules717297067/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="2021-10-14T08:00:31Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:31Z" level=info msg="Handling loaded state: update-error" time="2021-10-14T08:00:31Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:31Z" level=error msg="Mender shut down in state: update-error" time="2021-10-14T08:00:31Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:31Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:31Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:31Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules717297067/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="2021-10-14T08:00:31Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:31Z" level=info msg="Handling loaded state: update-error" time="2021-10-14T08:00:31Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:31Z" level=error msg="Mender shut down in state: update-error" time="2021-10-14T08:00:31Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:31Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:31Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:31Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules717297067/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="2021-10-14T08:00:31Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:31Z" level=info msg="Handling loaded state: update-error" time="2021-10-14T08:00:31Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:31Z" level=error msg="Mender shut down in state: update-error" time="2021-10-14T08:00:31Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:31Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:32Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:32Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules717297067/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="2021-10-14T08:00:32Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:32Z" level=info msg="Handling loaded state: update-error" time="2021-10-14T08:00:32Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:32Z" level=error msg="Mender shut down in state: update-error" time="2021-10-14T08:00:32Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:32Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:32Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:32Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules717297067/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="2021-10-14T08:00:32Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:32Z" level=info msg="Handling loaded state: update-error" time="2021-10-14T08:00:32Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:32Z" level=error msg="Mender shut down in state: update-error" time="2021-10-14T08:00:32Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:32Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:32Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:32Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules717297067/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="2021-10-14T08:00:32Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:32Z" level=info msg="Handling loaded state: update-error" time="2021-10-14T08:00:32Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:32Z" level=error msg="Mender shut down in state: update-error" time="2021-10-14T08:00:32Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:32Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:32Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:32Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules717297067/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="2021-10-14T08:00:32Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:32Z" level=info msg="Handling loaded state: update-error" time="2021-10-14T08:00:32Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:32Z" level=error msg="Mender shut down in state: update-error" time="2021-10-14T08:00:32Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:32Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:32Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:32Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules717297067/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="2021-10-14T08:00:32Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:32Z" level=info msg="Handling loaded state: update-error" time="2021-10-14T08:00:32Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:32Z" level=error msg="Mender shut down in state: update-error" time="2021-10-14T08:00:32Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:32Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:32Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:32Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules717297067/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="2021-10-14T08:00:32Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:32Z" level=info msg="Handling loaded state: update-error" time="2021-10-14T08:00:32Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:32Z" level=error msg="Mender shut down in state: update-error" time="2021-10-14T08:00:32Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:32Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:32Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:32Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules717297067/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="2021-10-14T08:00:32Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:32Z" level=info msg="Handling loaded state: update-error" time="2021-10-14T08:00:32Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:32Z" level=error msg="Mender shut down in state: update-error" time="2021-10-14T08:00:32Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:32Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:32Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:32Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules717297067/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules717297067/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="2021-10-14T08:00:32Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T08:00:32Z" level=info msg="Handling loaded state: update-error" time="2021-10-14T08:00:32Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:32Z" level=error msg="State transition loop detected in state update-error: Forcefully aborting update. The system is likely to be in an inconsistent state after this." time="2021-10-14T08:00:32Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" time="2021-10-14T08:00:32Z" level=info msg="State transition: init [none] -> update-status-report [none]" time="2021-10-14T08:00:32Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:32Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:32Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:32Z" 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="2021-10-14T08:00:32Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:32Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:32Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:32Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:32Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:32Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:32Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:32Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules831537008/device_type" time="2021-10-14T08:00:32Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:32Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:32Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:32Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:32Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:32Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules831537008/artifact_info file." time="2021-10-14T08:00:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules831537008/artifact_info" time="2021-10-14T08:00:32Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:32Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules831537008/artifact_info" time="2021-10-14T08:00:32Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules831537008/device_type" time="2021-10-14T08:00:32Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:32Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:33Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:33Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules831537008/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules831537008/work/payloads/0000/tree" time="2021-10-14T08:00:33Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:38Z" level=error msg="Process 2465961 timed out. Sending SIGTERM" time="2021-10-14T08:00:38Z" level=error msg="Artifact install failed: Update module terminated abnormally: signal: terminated" time="2021-10-14T08:00:38Z" level=info msg="State transition: update-store [Download_Enter] -> cleanup [Error]" time="2021-10-14T08:00:38Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:38Z" level=debug msg="Executing script: Download_Error_00" time="2021-10-14T08:00:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:38Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:38Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules831537008/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules831537008/work/payloads/0000/tree" time="2021-10-14T08:00:38Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:38Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:38Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:38Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:38Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules831537008/artifact_info file." time="2021-10-14T08:00:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules831537008/artifact_info" time="2021-10-14T08:00:38Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:38Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (5.17s) PASS === RUN TestStateTransitionsWithUpdateModules/Hang_in_ArtifactInstall state_test.go:4717: Hang in ArtifactInstall state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules time="2021-10-14T08:00:38Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:38Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:38Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:38Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00:38Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:38Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:38Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:38Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules720229145/device_type" time="2021-10-14T08:00:38Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:38Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:38Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:38Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:38Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:38Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules720229145/artifact_info file." time="2021-10-14T08:00:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules720229145/artifact_info" time="2021-10-14T08:00:38Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:38Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules720229145/artifact_info" time="2021-10-14T08:00:38Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules720229145/device_type" time="2021-10-14T08:00:38Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:38Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:38Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:38Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules720229145/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules720229145/work/payloads/0000/tree" time="2021-10-14T08:00:38Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:38Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules720229145/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules720229145/work/payloads/0000/tree" time="2021-10-14T08:00:38Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:38Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:38Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:38Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:38Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:38Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00:38Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules720229145/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules720229145/work/payloads/0000/tree" time="2021-10-14T08:00:43Z" level=error msg="Process 2465981 timed out. Sending SIGTERM" time="2021-10-14T08:00:43Z" level=error msg="Update module terminated abnormally: signal: terminated" time="2021-10-14T08:00:43Z" level=error msg="transient error: Update module terminated abnormally: signal: terminated" time="2021-10-14T08:00:43Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" time="2021-10-14T08:00:43Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:00:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:43Z" level=debug msg="Executing script: ArtifactInstall_Error_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:43Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00:43Z" level=info msg="Performing rollback" time="2021-10-14T08:00:43Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:00:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules720229145/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules720229145/work/payloads/0000/tree" time="2021-10-14T08:00:43Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" time="2021-10-14T08:00:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:43Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:43Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00:43Z" level=debug msg="Handle update error state" time="2021-10-14T08:00:43Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:00:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules720229145/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules720229145/work/payloads/0000/tree" time="2021-10-14T08:00:43Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:00:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:43Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:43Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:43Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules720229145/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules720229145/work/payloads/0000/tree" time="2021-10-14T08:00:43Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:00:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:43Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:43Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:00:43Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:43Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules720229145/artifact_info file." time="2021-10-14T08:00:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules720229145/artifact_info" time="2021-10-14T08:00:43Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:43Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (5.17s) 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="2021-10-14T08:00:43Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:43Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:43Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:43Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00:43Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:43Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:43Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:43Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules261091958/device_type" time="2021-10-14T08:00:43Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:43Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:43Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:43Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:43Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:43Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules261091958/artifact_info file." time="2021-10-14T08:00:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules261091958/artifact_info" time="2021-10-14T08:00:43Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:43Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules261091958/artifact_info" time="2021-10-14T08:00:43Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules261091958/device_type" time="2021-10-14T08:00:43Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:43Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:43Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:43Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules261091958/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules261091958/work/payloads/0000/tree" time="2021-10-14T08:00:43Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:43Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules261091958/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules261091958/work/payloads/0000/tree" time="2021-10-14T08:00:43Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:43Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:43Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:43Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:43Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:43Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00:43Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules261091958/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules261091958/work/payloads/0000/tree" time="2021-10-14T08:00:43Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules261091958/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules261091958/work/payloads/0000/tree" time="2021-10-14T08:00:43Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:43Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:43Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:43Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:43Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00:43Z" level=debug msg="Handling reboot state" time="2021-10-14T08:00:43Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:00:43Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2021-10-14T08:00:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules261091958/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules261091958/work/payloads/0000/tree" time="2021-10-14T08:00:43Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:43Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2021-10-14T08:00:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules261091958/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules261091958/work/payloads/0000/tree" time="2021-10-14T08:00:43Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:43Z" level=debug msg="Handling state after reboot" time="2021-10-14T08:00:43Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2021-10-14T08:00:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:43Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:43Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on 127.0.0.11:53: no such host" time="2021-10-14T08:00:43Z" level=debug msg="Handle update commit state" time="2021-10-14T08:00:43Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" time="2021-10-14T08:00:43Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" time="2021-10-14T08:00:48Z" level=debug msg="Wait complete" time="2021-10-14T08:00:48Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" time="2021-10-14T08:00:48Z" level=debug msg="Handle update commit state" time="2021-10-14T08:00:48Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" time="2021-10-14T08:00:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules261091958/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules261091958/work/payloads/0000/tree" time="2021-10-14T08:00:48Z" level=debug msg="Committing new artifact name: artifact-name" time="2021-10-14T08:00:48Z" level=debug msg="Committing new artifact group name: " time="2021-10-14T08:00:48Z" level=debug msg="Committing new artifact type-info provides" time="2021-10-14T08:00:48Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" time="2021-10-14T08:00:48Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" time="2021-10-14T08:00:48Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" time="2021-10-14T08:00:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:48Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:48Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:00:48Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:00:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules261091958/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules261091958/work/payloads/0000/tree" time="2021-10-14T08:00:48Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" time="2021-10-14T08:00:48Z" level=debug msg="Handling update status report state" time="2021-10-14T08:00:48Z" level=debug msg="Reporting complete" time="2021-10-14T08:00:48Z" level=debug msg="Returning artifact name artifact-name from database." --- PASS: TestStateTransitionsWithUpdateModules (5.39s) 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="2021-10-14T08:00:48Z" level=info msg="State transition: init [none] -> update-check [Sync]" time="2021-10-14T08:00:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:48Z" level=debug msg="Handle update check state" time="2021-10-14T08:00:48Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" time="2021-10-14T08:00:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:48Z" level=debug msg="Executing script: Download_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:48Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:00:48Z" level=debug msg="Handling update fetch state" time="2021-10-14T08:00:48Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" time="2021-10-14T08:00:48Z" level=debug msg="Handling update install state" time="2021-10-14T08:00:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules303622039/device_type" time="2021-10-14T08:00:48Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:48Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:48Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T08:00:48Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" time="2021-10-14T08:00:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:00:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" time="2021-10-14T08:00:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" time="2021-10-14T08:00:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" time="2021-10-14T08:00:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" time="2021-10-14T08:00:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" time="2021-10-14T08:00:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:00:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" time="2021-10-14T08:00:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" time="2021-10-14T08:00:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" time="2021-10-14T08:00:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" time="2021-10-14T08:00:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" time="2021-10-14T08:00:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" time="2021-10-14T08:00:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00:48Z" level=debug msg="Executing ModuleInstaller.Initialize" time="2021-10-14T08:00:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules303622039/artifact_info file." time="2021-10-14T08:00:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules303622039/artifact_info" time="2021-10-14T08:00:48Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:48Z" level=debug msg="Current manifest data: old_name" time="2021-10-14T08:00:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules303622039/artifact_info" time="2021-10-14T08:00:48Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:00:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules303622039/device_type" time="2021-10-14T08:00:48Z" level=debug msg="device_type=test-device" time="2021-10-14T08:00:48Z" level=debug msg="Current manifest data: test-device" time="2021-10-14T08:00:48Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" time="2021-10-14T08:00:48Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" time="2021-10-14T08:00:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules303622039/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules303622039/work/payloads/0000/tree" time="2021-10-14T08:00:48Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" time="2021-10-14T08:00:48Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" time="2021-10-14T08:00:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules303622039/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules303622039/work/payloads/0000/tree" time="2021-10-14T08:00:48Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:48Z" level=debug msg="Module supports rollback" time="2021-10-14T08:00:48Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" time="2021-10-14T08:00:48Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" time="2021-10-14T08:00:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:48Z" level=debug msg="Executing script: Download_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:48Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:48Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" time="2021-10-14T08:00:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules303622039/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules303622039/work/payloads/0000/tree" time="2021-10-14T08:00:48Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" time="2021-10-14T08:00:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules303622039/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules303622039/work/payloads/0000/tree" time="2021-10-14T08:00:49Z" level=debug msg="Update module output: Yes" time="2021-10-14T08:00:49Z" level=debug msg="Module needs custom reboot" time="2021-10-14T08:00:49Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" time="2021-10-14T08:00:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:49Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:49Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:49Z" level=debug msg="Handling reboot state" time="2021-10-14T08:00:49Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:00:49Z" level=debug msg="Executing ModuleInstaller.Reboot" time="2021-10-14T08:00:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules303622039/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules303622039/work/payloads/0000/tree" time="2021-10-14T08:00:49Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:49Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" time="2021-10-14T08:00:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules303622039/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules303622039/work/payloads/0000/tree" time="2021-10-14T08:00:49Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" time="2021-10-14T08:00:49Z" level=debug msg="Handling state after reboot" time="2021-10-14T08:00:49Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" time="2021-10-14T08:00:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:49Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:00:49Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00: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 127.0.0.11:53: no such host" time="2021-10-14T08:00:49Z" level=debug msg="Handle update commit state" time="2021-10-14T08:00:49Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" time="2021-10-14T08:00:49Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" time="2021-10-14T08:00:54Z" level=debug msg="Wait complete" time="2021-10-14T08:00:54Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" time="2021-10-14T08:00:54Z" level=debug msg="Handle update commit state" time="2021-10-14T08:00:54Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" time="2021-10-14T08:00:54Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" time="2021-10-14T08:00:59Z" level=debug msg="Wait complete" time="2021-10-14T08:00:59Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" time="2021-10-14T08:00:59Z" level=debug msg="Handle update commit state" time="2021-10-14T08:00:59Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" time="2021-10-14T08:00:59Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" time="2021-10-14T08:01:04Z" level=debug msg="Wait complete" time="2021-10-14T08:01:04Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" time="2021-10-14T08:01:04Z" level=debug msg="Handle update commit state" time="2021-10-14T08:01:04Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" time="2021-10-14T08:01:04Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" time="2021-10-14T08:01:04Z" level=error msg="transient error: Tried sending status report maximum number of times." time="2021-10-14T08:01:04Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" time="2021-10-14T08:01:04Z" level=debug msg="Transitioning to error state" time="2021-10-14T08:01:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:01:04Z" level=debug msg="Executing script: ArtifactCommit_Error_00" time="2021-10-14T08:01: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 127.0.0.11:53: no such host" time="2021-10-14T08:01: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 127.0.0.11:53: no such host" time="2021-10-14T08:01: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 127.0.0.11:53: no such host" time="2021-10-14T08:01: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 127.0.0.11:53: no such host" time="2021-10-14T08:01:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:01:04Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" time="2021-10-14T08:01: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 127.0.0.11:53: no such host" time="2021-10-14T08:01: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 127.0.0.11:53: no such host" time="2021-10-14T08:01: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 127.0.0.11:53: no such host" time="2021-10-14T08:01: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 127.0.0.11:53: no such host" time="2021-10-14T08:01:04Z" level=info msg="Performing rollback" time="2021-10-14T08:01:04Z" level=debug msg="Executing ModuleInstaller.Rollback" time="2021-10-14T08:01:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules303622039/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules303622039/work/payloads/0000/tree" time="2021-10-14T08:01:04Z" level=debug msg="Will try to rollback reboot the device" time="2021-10-14T08:01:04Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" time="2021-10-14T08:01:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:01:04Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" time="2021-10-14T08:01: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 127.0.0.11:53: no such host" time="2021-10-14T08:01: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 127.0.0.11:53: no such host" time="2021-10-14T08:01: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 127.0.0.11:53: no such host" time="2021-10-14T08:01: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 127.0.0.11:53: no such host" time="2021-10-14T08:01:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:01:04Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" time="2021-10-14T08:01: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 127.0.0.11:53: no such host" time="2021-10-14T08:01: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 127.0.0.11:53: no such host" time="2021-10-14T08:01: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 127.0.0.11:53: no such host" time="2021-10-14T08:01: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 127.0.0.11:53: no such host" time="2021-10-14T08:01:04Z" level=info msg="Rebooting device(s) after rollback" time="2021-10-14T08:01:04Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" time="2021-10-14T08:01:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules303622039/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules303622039/work/payloads/0000/tree" time="2021-10-14T08:01:04Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:01:04Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" time="2021-10-14T08:01:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules303622039/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules303622039/work/payloads/0000/tree" time="2021-10-14T08:01:04Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" time="2021-10-14T08:01:04Z" level=debug msg="Handling state after rollback reboot" time="2021-10-14T08:01:04Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" time="2021-10-14T08:01:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:01:04Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" time="2021-10-14T08:01: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 127.0.0.11:53: no such host" time="2021-10-14T08:01: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 127.0.0.11:53: no such host" time="2021-10-14T08:01: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 127.0.0.11:53: no such host" time="2021-10-14T08:01: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 127.0.0.11:53: no such host" time="2021-10-14T08:01:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:01:04Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" time="2021-10-14T08:01: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 127.0.0.11:53: no such host" time="2021-10-14T08:01: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 127.0.0.11:53: no such host" time="2021-10-14T08:01: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 127.0.0.11:53: no such host" time="2021-10-14T08:01: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 127.0.0.11:53: no such host" time="2021-10-14T08:01:04Z" level=debug msg="Handle update error state" time="2021-10-14T08:01:04Z" level=debug msg="Executing ModuleInstaller.Failure" time="2021-10-14T08:01:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules303622039/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules303622039/work/payloads/0000/tree" time="2021-10-14T08:01:04Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" time="2021-10-14T08:01:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:01:04Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" time="2021-10-14T08:01:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:01:04Z" level=debug msg="Handling Cleanup state" time="2021-10-14T08:01:04Z" level=debug msg="Executing ModuleInstaller.Cleanup" time="2021-10-14T08:01:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules303622039/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules303622039/work/payloads/0000/tree" time="2021-10-14T08:01:04Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" time="2021-10-14T08:01:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T08:01:04Z" level=debug msg="Handling update status report state" time="2021-10-14T08:01:04Z" level=debug msg="Attempting to upload deployment logs for failed update" time="2021-10-14T08:01:04Z" level=debug msg="Reporting complete" time="2021-10-14T08:01:04Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules303622039/artifact_info file." time="2021-10-14T08:01:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules303622039/artifact_info" time="2021-10-14T08:01:04Z" level=debug msg="artifact_name=old_name" time="2021-10-14T08:01:04Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (15.25s) PASS --- PASS: TestStateTransitionsWithUpdateModules (59.05s) --- PASS: TestStateTransitionsWithUpdateModules/Normal_install,_no_reboot,_no_rollback (0.73s) --- PASS: TestStateTransitionsWithUpdateModules/Normal_install,_no_rollback (0.26s) --- PASS: TestStateTransitionsWithUpdateModules/Normal_install (0.36s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_state,_no_rollback (0.20s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_state,_no_rollback (0.30s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_state,_no_rollback (0.23s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_state,_no_rollback (0.21s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall (0.26s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall (0.50s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot (0.31s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot (0.43s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyReboot (0.36s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyReboot (0.38s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback (0.24s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback (0.44s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot (0.29s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot (0.36s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyRollbackReboot (0.30s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyRollbackReboot (0.43s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure (0.38s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure (0.28s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Cleanup (0.32s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Cleanup (0.34s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit (0.35s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit (0.51s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit,_no_reboot (0.29s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit,_no_reboot (0.40s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_Enter_00_state,_no_rollback (0.04s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_Enter_00_state,_no_rollback (0.16s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00_state,_no_rollback (0.19s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00_state,_no_rollback (0.40s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00 (0.23s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00 (0.39s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Enter_00 (0.50s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Enter_00 (0.40s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Enter_00 (0.39s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Enter_00 (0.53s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Enter_00 (0.78s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Enter_00 (0.63s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Enter_00 (0.23s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Enter_00 (0.54s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00 (0.32s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00 (0.41s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00,_no_reboot (0.36s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00,_no_reboot (0.75s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_Leave_00_state,_no_rollback (0.19s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_Leave_00_state,_no_rollback (0.39s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00_state,_no_rollback (0.21s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00_state,_no_rollback (0.30s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00 (0.28s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00 (0.50s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Leave_00 (0.33s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Leave_00 (0.58s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Leave_00 (0.37s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Leave_00 (0.54s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Leave_00 (0.36s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Leave_00 (0.52s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Leave_00 (0.38s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Leave_00 (0.40s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00 (0.20s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00 (0.44s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00,_no_reboot (0.26s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00,_no_reboot (0.41s) --- PASS: TestStateTransitionsWithUpdateModules/Break_out_of_error_loop (1.20s) --- PASS: TestStateTransitionsWithUpdateModules/Break_out_of_spontaneous_reboot_loop (3.21s) --- PASS: TestStateTransitionsWithUpdateModules/Hang_in_Download_state (5.21s) --- PASS: TestStateTransitionsWithUpdateModules/Hang_in_ArtifactInstall (5.27s) --- PASS: TestStateTransitionsWithUpdateModules/Temporary_failure_in_report_sending_after_reboot (5.51s) --- PASS: TestStateTransitionsWithUpdateModules/Permanent_failure_in_report_sending_after_reboot (15.30s) === RUN TestDBSchemaUpdate --- PASS: TestDBSchemaUpdate (0.00s) === RUN TestAutomaticReboot time="2021-10-14T08:01:04Z" level=info msg="Running Mender client version: unknown" time="2021-10-14T08:01:04Z" level=debug msg="Handling reboot state" time="2021-10-14T08:01:04Z" level=info msg="Rebooting device(s)" time="2021-10-14T08:01:04Z" level=error msg="transient error: Could not reboot host: exit status 99" time="2021-10-14T08:01:04Z" level=debug msg="Setting artifact name to _INCONSISTENT" --- PASS: TestAutomaticReboot (0.02s) === RUN TestTransitions time="2021-10-14T08:01:04Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" === RUN TestTransitions/0 time="2021-10-14T08:01:04Z" 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="2021-10-14T08:01:04Z" 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="2021-10-14T08:01:04Z" 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="2021-10-14T08:01:04Z" level=info msg="State transition: init [Sync] -> init [Download_Enter]" transition_test.go:194: has: [{Sync Leave}] expect: [{Sync Leave}] === RUN TestTransitions/4 time="2021-10-14T08:01:04Z" 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="2021-10-14T08:01:04Z" level=info msg="State transition: init [ArtifactReboot_Enter] -> init [Error]" time="2021-10-14T08:01:04Z" 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="2021-10-14T08:01:04Z" level=info msg="State transition: init [none] -> init [Idle]" transition_test.go:194: has: [{Idle Enter}] expect: [{Idle Enter}] === RUN TestTransitions/7 time="2021-10-14T08:01:04Z" level=info msg="State transition: init [none] -> init [Error]" time="2021-10-14T08:01:04Z" level=debug msg="Transitioning to error state" transition_test.go:194: has: [{Error Enter}] expect: [{Error Enter}] === RUN TestTransitions/8 time="2021-10-14T08:01:04Z" level=info msg="State transition: init [Idle] -> init [Error]" time="2021-10-14T08:01:04Z" level=debug msg="Transitioning to error state" transition_test.go:194: has: [{Idle Error} {Error Enter}] expect: [{Idle Error} {Error Enter}] --- PASS: TestTransitions (0.00s) --- PASS: TestTransitions/0 (0.00s) --- PASS: TestTransitions/1 (0.00s) --- PASS: TestTransitions/2 (0.00s) --- PASS: TestTransitions/3 (0.00s) --- PASS: TestTransitions/4 (0.00s) --- PASS: TestTransitions/5 (0.00s) --- PASS: TestTransitions/6 (0.00s) --- PASS: TestTransitions/7 (0.00s) --- PASS: TestTransitions/8 (0.00s) === RUN TestGetName --- PASS: TestGetName (0.00s) === RUN TestIgnoreErrors --- PASS: TestIgnoreErrors (0.00s) === RUN TestTransitionReporting transition_test.go:329: Running state: init transition_test.go:329: Running state: idle transition_test.go:329: Running state: authorize transition_test.go:329: Running state: authorize-wait transition_test.go:329: Running state: check-wait transition_test.go:329: Running state: init transition_test.go:329: Running state: update-fetch transition_test.go:329: Running state: update-store transition_test.go:329: Running state: update-install transition_test.go:329: Running state: reboot transition_test.go:329: Running state: after-reboot transition_test.go:329: Running state: update-commit transition_test.go:329: Running state: rollback transition_test.go:329: Running state: after-rollback-reboot transition_test.go:329: Running state: update-error --- PASS: TestTransitionReporting (0.00s) FAIL FAIL github.com/mendersoftware/mender/app 239.070s === RUN TestAmbiguousArgumentsArgs time="2021-10-14T07:57:06Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" --- PASS: TestAmbiguousArgumentsArgs (0.00s) === RUN TestCheckUpdate time="2021-10-14T07:57:06Z" 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="2021-10-14T07:57:06Z" 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="2021-10-14T07:57:06Z" level=debug msg="Private key does not exist" time="2021-10-14T07:57:06Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2021-10-14T07:57:06Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T07:57:06Z" level=debug msg="No state data stored" time="2021-10-14T07:57:06Z" level=info msg="State transition: init [none] -> idle [Idle]" time="2021-10-14T07:57:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:57:06Z" level=info msg="State transition: idle [Idle] -> authorize-wait [Idle]" time="2021-10-14T07:57:06Z" level=debug msg="Handle authorize wait state" time="2021-10-14T07:57:06Z" level=warning msg="RetryPollIntervalSeconds is not defined" time="2021-10-14T07:57:06Z" level=debug msg="Wait 0s before next authorization attempt" time="2021-10-14T07:57:06Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" time="2021-10-14T07:57:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:57:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:57:06Z" level=debug msg="Handle authorize state" time="2021-10-14T07:57:06Z" level=debug msg="Needs keys" time="2021-10-14T07:57:06Z" level=info msg="Device keys not present or bootstrap forced, generating" time="2021-10-14T07:57:07Z" level=debug msg="Tenant token: " time="2021-10-14T07:57:07Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAxD2x1S2UP3mPMAa483B/\n+/U721A5wMjW4Csd9i/bO4g4NueO9vYvEJTBfGvM5ndHJv7DH0tt/sfteTP4GxwT\nHjHhmzPXX3d4zkvQV+vZRFm1qsDYXgSXKT3tifZxl6wBGmKaF8TEmRwakDIbkcvU\n03CKzwjrpsgSfyF0sU22fY9zHq8Ea5GgdfzWs8h3rjGBBy1NkKm223nhHn0X+8oH\ndnVVGb4y/nGcGZDftnf3gR3+dHj+KV3qwzVVxrSBZR4GTdzPXJzdD9GcdR4blk/j\nLoODxtmSJsC+noRORqPhr8cFm2tkJ7uOyvCIh7koIJP6H/obtxWdkNuxWloBdJBk\nsbrkmSNtmt4essiQ9/ApWSjLoiO1/JnSDCVxoCMkp1MLpXCBRkzbJuaAEtu6aWY3\n/pBFejD82ucpwK64Jm6oAg1CNI0/K+libKtAhdp4o9ZS6OAFhjNy+NUJocU1JFK6\nvmh2rRLCYK5AXcNykyNMLNNv/lPFKKqfmA0dqQSFxAmbAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2021-10-14T07:57:07Z" level=debug msg="Making an authorization request () to server " time="2021-10-14T07:57:07Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0xc0001ebf90)}" time="2021-10-14T07:57:07Z" level=error msg="Authorization request error: http: no Host in request URL" time="2021-10-14T07:57:07Z" level=error msg="Authorize failed: transient error: authorization request failed: generic error occurred while executing authorization request: Post \"https:///api/devices/v1/authentication/auth_requests\": http: no Host in request URL" time="2021-10-14T07:57:07Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" time="2021-10-14T07:57:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:57:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:57:07Z" level=debug msg="Handle authorize wait state" time="2021-10-14T07:57:07Z" level=warning msg="RetryPollIntervalSeconds is not defined" time="2021-10-14T07:57:07Z" level=debug msg="Wait 4m58.790540958s before next authorization attempt" time="2021-10-14T07:57:07Z" level=debug msg="SIGUSR1 signal received." time="2021-10-14T07:57:07Z" level=debug msg="Sent wake up!" time="2021-10-14T07:57:07Z" level=info msg="Forced wake-up from sleep" time="2021-10-14T07:57:07Z" level=error msg="Cannot check update or update inventory while in authorize state" time="2021-10-14T07:57:07Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" time="2021-10-14T07:57:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:57:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:57:07Z" level=debug msg="Handle authorize state" time="2021-10-14T07:57:07Z" level=debug msg="Tenant token: " time="2021-10-14T07:57:07Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAxD2x1S2UP3mPMAa483B/\n+/U721A5wMjW4Csd9i/bO4g4NueO9vYvEJTBfGvM5ndHJv7DH0tt/sfteTP4GxwT\nHjHhmzPXX3d4zkvQV+vZRFm1qsDYXgSXKT3tifZxl6wBGmKaF8TEmRwakDIbkcvU\n03CKzwjrpsgSfyF0sU22fY9zHq8Ea5GgdfzWs8h3rjGBBy1NkKm223nhHn0X+8oH\ndnVVGb4y/nGcGZDftnf3gR3+dHj+KV3qwzVVxrSBZR4GTdzPXJzdD9GcdR4blk/j\nLoODxtmSJsC+noRORqPhr8cFm2tkJ7uOyvCIh7koIJP6H/obtxWdkNuxWloBdJBk\nsbrkmSNtmt4essiQ9/ApWSjLoiO1/JnSDCVxoCMkp1MLpXCBRkzbJuaAEtu6aWY3\n/pBFejD82ucpwK64Jm6oAg1CNI0/K+libKtAhdp4o9ZS6OAFhjNy+NUJocU1JFK6\nvmh2rRLCYK5AXcNykyNMLNNv/lPFKKqfmA0dqQSFxAmbAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2021-10-14T07:57:07Z" level=debug msg="Making an authorization request () to server " time="2021-10-14T07:57:07Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0xc0002be1f0)}" time="2021-10-14T07:57:07Z" level=error msg="Authorization request error: http: no Host in request URL" time="2021-10-14T07:57:07Z" level=error msg="Authorize failed: transient error: authorization request failed: generic error occurred while executing authorization request: Post \"https:///api/devices/v1/authentication/auth_requests\": http: no Host in request URL" time="2021-10-14T07:57:07Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" time="2021-10-14T07:57:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:57:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:57:07Z" level=debug msg="Handle authorize wait state" time="2021-10-14T07:57:07Z" level=warning msg="RetryPollIntervalSeconds is not defined" time="2021-10-14T07:57:07Z" level=debug msg="Wait 9m58.419850142s before next authorization attempt" time="2021-10-14T07:57:08Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" time="2021-10-14T07:57:08Z" level=info msg="State transition: init [none] -> init [none]" time="2021-10-14T07:57:08Z" level=debug msg="No state data stored" time="2021-10-14T07:57:08Z" level=info msg="State transition: init [none] -> idle [Idle]" time="2021-10-14T07:57:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:57:08Z" level=info msg="State transition: idle [Idle] -> authorize-wait [Idle]" time="2021-10-14T07:57:08Z" level=debug msg="Handle authorize wait state" time="2021-10-14T07:57:08Z" level=warning msg="RetryPollIntervalSeconds is not defined" time="2021-10-14T07:57:08Z" level=debug msg="Wait 0s before next authorization attempt" time="2021-10-14T07:57:08Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" time="2021-10-14T07:57:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:57:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:57:08Z" level=debug msg="Handle authorize state" time="2021-10-14T07:57:08Z" level=debug msg="Tenant token: " time="2021-10-14T07:57:08Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAxD2x1S2UP3mPMAa483B/\n+/U721A5wMjW4Csd9i/bO4g4NueO9vYvEJTBfGvM5ndHJv7DH0tt/sfteTP4GxwT\nHjHhmzPXX3d4zkvQV+vZRFm1qsDYXgSXKT3tifZxl6wBGmKaF8TEmRwakDIbkcvU\n03CKzwjrpsgSfyF0sU22fY9zHq8Ea5GgdfzWs8h3rjGBBy1NkKm223nhHn0X+8oH\ndnVVGb4y/nGcGZDftnf3gR3+dHj+KV3qwzVVxrSBZR4GTdzPXJzdD9GcdR4blk/j\nLoODxtmSJsC+noRORqPhr8cFm2tkJ7uOyvCIh7koIJP6H/obtxWdkNuxWloBdJBk\nsbrkmSNtmt4essiQ9/ApWSjLoiO1/JnSDCVxoCMkp1MLpXCBRkzbJuaAEtu6aWY3\n/pBFejD82ucpwK64Jm6oAg1CNI0/K+libKtAhdp4o9ZS6OAFhjNy+NUJocU1JFK6\nvmh2rRLCYK5AXcNykyNMLNNv/lPFKKqfmA0dqQSFxAmbAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2021-10-14T07:57:08Z" level=debug msg="Making an authorization request () to server " time="2021-10-14T07:57:08Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0xc000238590)}" time="2021-10-14T07:57:08Z" level=error msg="Authorization request error: http: no Host in request URL" time="2021-10-14T07:57:08Z" level=error msg="Authorize failed: transient error: authorization request failed: generic error occurred while executing authorization request: Post \"https:///api/devices/v1/authentication/auth_requests\": http: no Host in request URL" time="2021-10-14T07:57:08Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" time="2021-10-14T07:57:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:57:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:57:08Z" level=debug msg="Handle authorize wait state" time="2021-10-14T07:57:08Z" level=warning msg="RetryPollIntervalSeconds is not defined" time="2021-10-14T07:57:08Z" level=debug msg="Wait 4m59.804008315s before next authorization attempt" time="2021-10-14T07:57:08Z" level=debug msg="SIGUSR2 signal received." time="2021-10-14T07:57:08Z" level=debug msg="Sent wake up!" time="2021-10-14T07:57:08Z" level=info msg="Forced wake-up from sleep" time="2021-10-14T07:57:08Z" level=error msg="Cannot check update or update inventory while in authorize state" time="2021-10-14T07:57:08Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" time="2021-10-14T07:57:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:57:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:57:08Z" level=debug msg="Handle authorize state" time="2021-10-14T07:57:08Z" level=debug msg="SIGUSR2 signal received." time="2021-10-14T07:57:08Z" level=debug msg="Sent wake up!" time="2021-10-14T07:57:08Z" level=info msg="Forced wake-up from sleep" time="2021-10-14T07:57:08Z" level=debug msg="Tenant token: " time="2021-10-14T07:57:08Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAxD2x1S2UP3mPMAa483B/\n+/U721A5wMjW4Csd9i/bO4g4NueO9vYvEJTBfGvM5ndHJv7DH0tt/sfteTP4GxwT\nHjHhmzPXX3d4zkvQV+vZRFm1qsDYXgSXKT3tifZxl6wBGmKaF8TEmRwakDIbkcvU\n03CKzwjrpsgSfyF0sU22fY9zHq8Ea5GgdfzWs8h3rjGBBy1NkKm223nhHn0X+8oH\ndnVVGb4y/nGcGZDftnf3gR3+dHj+KV3qwzVVxrSBZR4GTdzPXJzdD9GcdR4blk/j\nLoODxtmSJsC+noRORqPhr8cFm2tkJ7uOyvCIh7koIJP6H/obtxWdkNuxWloBdJBk\nsbrkmSNtmt4essiQ9/ApWSjLoiO1/JnSDCVxoCMkp1MLpXCBRkzbJuaAEtu6aWY3\n/pBFejD82ucpwK64Jm6oAg1CNI0/K+libKtAhdp4o9ZS6OAFhjNy+NUJocU1JFK6\nvmh2rRLCYK5AXcNykyNMLNNv/lPFKKqfmA0dqQSFxAmbAgMBAAE=\n-----END PUBLIC KEY-----\n}" time="2021-10-14T07:57:08Z" level=debug msg="Making an authorization request () to server " time="2021-10-14T07:57:08Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0xc0002bee30)}" time="2021-10-14T07:57:08Z" level=error msg="Authorization request error: http: no Host in request URL" time="2021-10-14T07:57:08Z" level=error msg="Authorize failed: transient error: authorization request failed: generic error occurred while executing authorization request: Post \"https:///api/devices/v1/authentication/auth_requests\": http: no Host in request URL" time="2021-10-14T07:57:08Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" time="2021-10-14T07:57:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:57:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" time="2021-10-14T07:57:08Z" level=debug msg="Handle authorize wait state" time="2021-10-14T07:57:08Z" level=warning msg="RetryPollIntervalSeconds is not defined" time="2021-10-14T07:57:08Z" level=debug msg="Wait 9m59.637941577s 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.9 DESCRIPTION: mender integrates both the mender daemon and commands for manually performing tasks performed by the daemon (see list of COMMANDS below). Global flag remarks: - Supported log levels incudes: 'debug', 'info', 'warning', 'error', 'panic' and 'fatal'. COMMANDS: bootstrap Perform bootstrap and exit. check-update Force update check. commit Commit current Artifact. Returns (2) if no update in progress. daemon Start the client as a background service. install Mender Artifact to install - local file or a `URL`. rollback Rollback current Artifact. Returns (2) if no update in progress. send-inventory Force inventory update. setup Perform configuration setup - 'mender setup --help' for command options. snapshot Create filesystem snapshot -'mender snapshot --help' for more. show-artifact Print the current artifact name to the command line and exit. help, h Shows a list of commands or help for one command GLOBAL OPTIONS: --config FILE, -c FILE Configuration FILE path. (default: "mender-default-test.conf") --fallback-config FILE, -b FILE Fallback configuration FILE path. (default: "/var/lib/mender/mender.conf") --data DIR, -d DIR Mender state data DIRECTORY path. (default: "/var/lib/mender") --log-file FILE, -L FILE FILE to log to. --log-level level, -l level Set logging level. (default: "info") --log-modules value, -m value -log-modules is accepted for compatibility but has no effect --trusted-certs FILE, -E FILE Trusted server certificates FILE path. --forcebootstrap, -F Force bootstrap. --no-syslog Disable logging to syslog. --skipverify Skip certificate verification. --help, -h show help --version, -v print the version NAME: mender - manage and start the Mender client. USAGE: [global options] command [command options] [arguments...] VERSION: unknown runtime: go1.15.9 DESCRIPTION: mender integrates both the mender daemon and commands for manually performing tasks performed by the daemon (see list of COMMANDS below). Global flag remarks: - Supported log levels incudes: 'debug', 'info', 'warning', 'error', 'panic' and 'fatal'. COMMANDS: bootstrap Perform bootstrap and exit. check-update Force update check. commit Commit current Artifact. Returns (2) if no update in progress. daemon Start the client as a background service. install Mender Artifact to install - local file or a `URL`. rollback Rollback current Artifact. Returns (2) if no update in progress. send-inventory Force inventory update. setup Perform configuration setup - 'mender setup --help' for command options. snapshot Create filesystem snapshot -'mender snapshot --help' for more. show-artifact Print the current artifact name to the command line and exit. help, h Shows a list of commands or help for one command GLOBAL OPTIONS: --config FILE, -c FILE Configuration FILE path. (default: "mender-default-test.conf") --fallback-config FILE, -b FILE Fallback configuration FILE path. (default: "/var/lib/mender/mender.conf") --data DIR, -d DIR Mender state data DIRECTORY path. (default: "/var/lib/mender") --log-file FILE, -L FILE FILE to log to. --log-level level, -l level Set logging level. (default: "info") --log-modules value, -m value -log-modules is accepted for compatibility but has no effect --trusted-certs FILE, -E FILE Trusted server certificates FILE path. --forcebootstrap, -F Force bootstrap. --no-syslog Disable logging to syslog. --skipverify Skip certificate verification. --help, -h show help --version, -v print the version time="2021-10-14T07:57:09Z" 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-SEfUnR/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.9 DESCRIPTION: mender integrates both the mender daemon and commands for manually performing tasks performed by the daemon (see list of COMMANDS below). Global flag remarks: - Supported log levels incudes: 'debug', 'info', 'warning', 'error', 'panic' and 'fatal'. COMMANDS: bootstrap Perform bootstrap and exit. check-update Force update check. commit Commit current Artifact. Returns (2) if no update in progress. daemon Start the client as a background service. install Mender Artifact to install - local file or a `URL`. rollback Rollback current Artifact. Returns (2) if no update in progress. send-inventory Force inventory update. setup Perform configuration setup - 'mender setup --help' for command options. snapshot Create filesystem snapshot -'mender snapshot --help' for more. show-artifact Print the current artifact name to the command line and exit. help, h Shows a list of commands or help for one command GLOBAL OPTIONS: --config FILE, -c FILE Configuration FILE path. (default: "mender-default-test.conf") --fallback-config FILE, -b FILE Fallback configuration FILE path. (default: "/var/lib/mender/mender.conf") --data DIR, -d DIR Mender state data DIRECTORY path. (default: "/var/lib/mender") --log-file FILE, -L FILE FILE to log to. --log-level level, -l level Set logging level. (default: "info") --log-modules value, -m value -log-modules is accepted for compatibility but has no effect --trusted-certs FILE, -E FILE Trusted server certificates FILE path. --forcebootstrap, -F Force bootstrap. --no-syslog Disable logging to syslog. --skipverify Skip certificate verification. --help, -h show help --version, -v print the version time="2021-10-14T07:57:09Z" level=debug msg="Should show" func=github.com/mendersoftware/mender/cli.TestLoggingOptions file="/build/mender-client-SEfUnR/mender-client-2.4.1/obj-x86_64-linux-gnu/src/github.com/mendersoftware/mender/cli/cli_test.go:172" time="2021-10-14T07:57:09Z" 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-SEfUnR/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.9 DESCRIPTION: mender integrates both the mender daemon and commands for manually performing tasks performed by the daemon (see list of COMMANDS below). Global flag remarks: - Supported log levels incudes: 'debug', 'info', 'warning', 'error', 'panic' and 'fatal'. COMMANDS: bootstrap Perform bootstrap and exit. check-update Force update check. commit Commit current Artifact. Returns (2) if no update in progress. daemon Start the client as a background service. install Mender Artifact to install - local file or a `URL`. rollback Rollback current Artifact. Returns (2) if no update in progress. send-inventory Force inventory update. setup Perform configuration setup - 'mender setup --help' for command options. snapshot Create filesystem snapshot -'mender snapshot --help' for more. show-artifact Print the current artifact name to the command line and exit. help, h Shows a list of commands or help for one command GLOBAL OPTIONS: --config FILE, -c FILE Configuration FILE path. (default: "mender-default-test.conf") --fallback-config FILE, -b FILE Fallback configuration FILE path. (default: "/var/lib/mender/mender.conf") --data DIR, -d DIR Mender state data DIRECTORY path. (default: "/var/lib/mender") --log-file FILE, -L FILE FILE to log to. --log-level level, -l level Set logging level. (default: "info") --log-modules value, -m value -log-modules is accepted for compatibility but has no effect --trusted-certs FILE, -E FILE Trusted server certificates FILE path. --forcebootstrap, -F Force bootstrap. --no-syslog Disable logging to syslog. --skipverify Skip certificate verification. --help, -h show help --version, -v print the version NAME: mender - manage and start the Mender client. USAGE: [global options] command [command options] [arguments...] VERSION: unknown runtime: go1.15.9 DESCRIPTION: mender integrates both the mender daemon and commands for manually performing tasks performed by the daemon (see list of COMMANDS below). Global flag remarks: - Supported log levels incudes: 'debug', 'info', 'warning', 'error', 'panic' and 'fatal'. COMMANDS: bootstrap Perform bootstrap and exit. check-update Force update check. commit Commit current Artifact. Returns (2) if no update in progress. daemon Start the client as a background service. install Mender Artifact to install - local file or a `URL`. rollback Rollback current Artifact. Returns (2) if no update in progress. send-inventory Force inventory update. setup Perform configuration setup - 'mender setup --help' for command options. snapshot Create filesystem snapshot -'mender snapshot --help' for more. show-artifact Print the current artifact name to the command line and exit. help, h Shows a list of commands or help for one command GLOBAL OPTIONS: --config FILE, -c FILE Configuration FILE path. (default: "mender-default-test.conf") --fallback-config FILE, -b FILE Fallback configuration FILE path. (default: "/var/lib/mender/mender.conf") --data DIR, -d DIR Mender state data DIRECTORY path. (default: "/var/lib/mender") --log-file FILE, -L FILE FILE to log to. --log-level level, -l level Set logging level. (default: "info") --log-modules value, -m value -log-modules is accepted for compatibility but has no effect --trusted-certs FILE, -E FILE Trusted server certificates FILE path. --forcebootstrap, -F Force bootstrap. --no-syslog Disable logging to syslog. --skipverify Skip certificate verification. --help, -h show help --version, -v print the version NAME: mender - manage and start the Mender client. USAGE: [global options] command [command options] [arguments...] VERSION: unknown runtime: go1.15.9 DESCRIPTION: mender integrates both the mender daemon and commands for manually performing tasks performed by the daemon (see list of COMMANDS below). Global flag remarks: - Supported log levels incudes: 'debug', 'info', 'warning', 'error', 'panic' and 'fatal'. COMMANDS: bootstrap Perform bootstrap and exit. check-update Force update check. commit Commit current Artifact. Returns (2) if no update in progress. daemon Start the client as a background service. install Mender Artifact to install - local file or a `URL`. rollback Rollback current Artifact. Returns (2) if no update in progress. send-inventory Force inventory update. setup Perform configuration setup - 'mender setup --help' for command options. snapshot Create filesystem snapshot -'mender snapshot --help' for more. show-artifact Print the current artifact name to the command line and exit. help, h Shows a list of commands or help for one command GLOBAL OPTIONS: --config FILE, -c FILE Configuration FILE path. (default: "mender-default-test.conf") --fallback-config FILE, -b FILE Fallback configuration FILE path. (default: "/var/lib/mender/mender.conf") --data DIR, -d DIR Mender state data DIRECTORY path. (default: "/var/lib/mender") --log-file FILE, -L FILE FILE to log to. --log-level level, -l level Set logging level. (default: "info") --log-modules value, -m value -log-modules is accepted for compatibility but has no effect --trusted-certs FILE, -E FILE Trusted server certificates FILE path. --forcebootstrap, -F Force bootstrap. --no-syslog Disable logging to syslog. --skipverify Skip certificate verification. --help, -h show help --version, -v print the version --- PASS: TestLoggingOptions (0.07s) === RUN TestVersion --- PASS: TestVersion (0.00s) === RUN TestMainBootstrap --- PASS: TestMainBootstrap (3.82s) === RUN TestPrintArtifactName foobar db-name foobar --- PASS: TestPrintArtifactName (0.17s) === RUN TestGetMenderDaemonPID --- PASS: TestGetMenderDaemonPID (0.03s) === RUN TestInvalidServerCertificateBoot --- PASS: TestInvalidServerCertificateBoot (1.00s) === RUN TestIgnoreServerConfigVerification Mender Client Setup =================== Setting up the Mender client: The client will regularly poll the server to check for updates and report its inventory data. Get started by first configuring the device type and settings for communicating with the server. Mender setup successfully. --- PASS: TestIgnoreServerConfigVerification (0.00s) === RUN TestCliHelpText cli_test.go:578: Error Trace: cli_test.go:578 Error: "NAME:\n mender snapshot - Creates a snapshot of the currently running rootfs. The snapshots can be passed as a rootfs-image to the mender-artifact tool to create an update based on THIS device's rootfs. Refer to the list of COMMANDS to specify where to stream the image.\n NOTE: If the process gets killed (e.g. by SIGKILL) while a snapshot is in progress, the system may freeze - forcing you to manually hard-reboot the device. Use at your own risk - preferably on a device that is physically accessible.\n\nUSAGE:\n mender snapshot command [command options] [arguments...]\n\nCOMMANDS:\n dump Dumps rootfs to stdout.\n\nOPTIONS:\n --help, -h show help\n \n" does not contain "\nDESCRIPTION" Test: TestCliHelpText --- FAIL: TestCliHelpText (0.07s) === 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): [2a34766571ec] 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): [2a34766571ec] 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): [2a34766571ec] 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): [2a34766571ec] 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.01s) FAIL FAIL github.com/mendersoftware/mender/cli 9.085s === RUN TestClientAuthMakeReq client_auth_test.go:75: data: foobar data --- PASS: TestClientAuthMakeReq (0.00s) === RUN TestClientAuth --- PASS: TestClientAuth (11.51s) === RUN TestClientAuthExpiredCert time="2021-10-14T07:57:06Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:35605/api/devices/v1/authentication/auth_requests\", Err:certificate has expired, openssl verify rc: 10 server cert file: testdata/server.expired.crt}" time="2021-10-14T07:57:06Z" level=error msg="Authorization request error: certificate has expired, openssl verify rc: 10 server cert file: testdata/server.expired.crt" --- PASS: TestClientAuthExpiredCert (2.71s) === RUN TestClientAuthUnknownAuthorityCert time="2021-10-14T07:57:07Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:41365/api/devices/v1/authentication/auth_requests\", Err:certificate signed by unknown authority, openssl verify rc: 20 server cert file: testdata/server.unknown-authority.crt}" time="2021-10-14T07:57:07Z" level=error msg="Authorization request error: certificate signed by unknown authority, openssl verify rc: 20 server cert file: testdata/server.unknown-authority.crt" 2021/10/14 07:57:07 http: TLS handshake error from 127.0.0.1:54118: read tcp 127.0.0.1:41365->127.0.0.1:54118: use of closed network connection --- PASS: TestClientAuthUnknownAuthorityCert (0.88s) === RUN TestClientAuthDepthZeroSelfSignedCert time="2021-10-14T07:57:18Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:34275/api/devices/v1/authentication/auth_requests\", Err:depth zero self-signed certificate, openssl verify rc: 18 server cert file: testdata/server.zero.depth.self.signed.crt}" time="2021-10-14T07:57:18Z" level=error msg="Authorization request error: depth zero self-signed certificate, openssl verify rc: 18 server cert file: testdata/server.zero.depth.self.signed.crt" --- PASS: TestClientAuthDepthZeroSelfSignedCert (10.62s) === RUN TestClientAuthEndEntityKeyTooSmall time="2021-10-14T07:57:19Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:39999/api/devices/v1/authentication/auth_requests\", Err:end entity key too short, openssl verify rc: 66 server cert file: testdata/server.crt}" time="2021-10-14T07:57:19Z" level=error msg="Authorization request error: end entity key too short, openssl verify rc: 66 server cert file: testdata/server.crt" --- PASS: TestClientAuthEndEntityKeyTooSmall (0.81s) === RUN TestClientAuthNoCert time="2021-10-14T07:57:19Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (testdata/server.non-existing.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" time="2021-10-14T07:57:19Z" 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.95s) === RUN TestClientAuthHostValidationNocheck --- PASS: TestClientAuthHostValidationNocheck (9.11s) === RUN TestClientAuthHostValidationError time="2021-10-14T07:57:30Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:40255/api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0xc0000a8cc0)}" time="2021-10-14T07:57:30Z" level=error msg="Authorization request error: Host validation error" 2021/10/14 07:57:30 http: TLS handshake error from 127.0.0.1:36966: read tcp 127.0.0.1:40255->127.0.0.1:36966: use of closed network connection --- PASS: TestClientAuthHostValidationError (0.92s) === RUN TestClientAuthNotValidCertificate time="2021-10-14T07:57:30Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:43119/api/devices/v1/authentication/auth_requests\", Err:not a valid certificate, openssl verify rc: 67 server cert file: testdata/server.ca.key.too.small.crt}" time="2021-10-14T07:57:30Z" level=error msg="Authorization request error: not a valid certificate, openssl verify rc: 67 server cert file: testdata/server.ca.key.too.small.crt" --- PASS: TestClientAuthNotValidCertificate (0.42s) === RUN TestInventoryClient time="2021-10-14T07:57:30Z" level=error msg="Failed to submit inventory data: foo" time="2021-10-14T07:57:34Z" level=error msg="Got unexpected HTTP status when submitting to inventory: 401" --- PASS: TestInventoryClient (4.51s) === RUN TestLogUploadClient time="2021-10-14T07:57:35Z" level=error msg="failed to upload logs: foo" time="2021-10-14T07:57:39Z" level=error msg="Got unexpected HTTP status when uploading log: 401" --- PASS: TestLogUploadClient (4.36s) === RUN TestStatusClient time="2021-10-14T07:57:39Z" level=error msg="Failed to report status: foo" time="2021-10-14T07:57:45Z" level=error msg="Got unexpected HTTP status when reporting status: 401" time="2021-10-14T07:57:45Z" level=warning msg="Status report rejected, deployment aborted at the backend" --- PASS: TestStatusClient (6.54s) === RUN TestHttpClient time="2021-10-14T07:57:46Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (testdata/missing.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" time="2021-10-14T07:57:46Z" 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="2021-10-14T07:57:50Z" level=info msg="Device unauthorized; attempting reauthorization" time="2021-10-14T07:57:50Z" level=warning msg="Reauthorization failed with error: " time="2021-10-14T07:57:50Z" level=info msg="Device unauthorized; attempting reauthorization" --- PASS: TestApiClientRequest (4.38s) === RUN TestClientConnectionTimeout 2021/10/14 07:57:54 http: TLS handshake error from 127.0.0.1:53370: write tcp 127.0.0.1:37231->127.0.0.1:53370: use of closed network connection --- PASS: TestClientConnectionTimeout (4.02s) === RUN TestHttpClientUrl --- PASS: TestHttpClientUrl (0.00s) === RUN TestLoadingTrust === RUN TestLoadingTrust/Test_loading_server_trust time="2021-10-14T07:57:55Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (missing.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" === RUN TestLoadingTrust/Test_loading_client_trust --- PASS: TestLoadingTrust (0.70s) --- PASS: TestLoadingTrust/Test_loading_server_trust (0.69s) --- PASS: TestLoadingTrust/Test_loading_client_trust (0.01s) === RUN TestExponentialBackoffTimeCalculation --- PASS: TestExponentialBackoffTimeCalculation (0.00s) === RUN TestUnMarshalErrorMessage --- PASS: TestUnMarshalErrorMessage (0.00s) === RUN TestFailoverAPICall time="2021-10-14T07:57:56Z" level=warning msg="Server \"fakeURL.404\" failed to serve request \"\". Attempting \"https://127.0.0.1:33885\"" --- PASS: TestFailoverAPICall (4.30s) === RUN TestListSystemCertsFound --- PASS: TestListSystemCertsFound (0.00s) === RUN TestParseUpdateResponse === RUN TestParseUpdateResponse/0 === PAUSE TestParseUpdateResponse/0 === RUN TestParseUpdateResponse/1 === PAUSE TestParseUpdateResponse/1 === RUN TestParseUpdateResponse/2 === PAUSE TestParseUpdateResponse/2 === RUN TestParseUpdateResponse/3 === PAUSE TestParseUpdateResponse/3 === RUN TestParseUpdateResponse/4 === PAUSE TestParseUpdateResponse/4 === RUN TestParseUpdateResponse/5 === PAUSE TestParseUpdateResponse/5 === RUN TestParseUpdateResponse/6 === PAUSE TestParseUpdateResponse/6 === RUN TestParseUpdateResponse/7 === PAUSE TestParseUpdateResponse/7 === RUN TestParseUpdateResponse/8 === PAUSE TestParseUpdateResponse/8 === CONT TestParseUpdateResponse/0 === CONT TestParseUpdateResponse/8 === CONT TestParseUpdateResponse/4 === CONT TestParseUpdateResponse/3 === CONT TestParseUpdateResponse/1 === CONT TestParseUpdateResponse/6 === CONT TestParseUpdateResponse/7 === CONT TestParseUpdateResponse/5 === CONT TestParseUpdateResponse/2 --- PASS: TestParseUpdateResponse (0.00s) --- PASS: TestParseUpdateResponse/0 (0.00s) --- PASS: TestParseUpdateResponse/8 (0.00s) --- PASS: TestParseUpdateResponse/4 (0.00s) --- PASS: TestParseUpdateResponse/3 (0.00s) --- PASS: TestParseUpdateResponse/1 (0.00s) --- PASS: TestParseUpdateResponse/6 (0.00s) --- PASS: TestParseUpdateResponse/7 (0.00s) --- PASS: TestParseUpdateResponse/5 (0.00s) --- PASS: TestParseUpdateResponse/2 (0.00s) === RUN Test_GetScheduledUpdate_errorParsingResponse_UpdateFailing time="2021-10-14T07:58:00Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (test/server.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" time="2021-10-14T07:58:00Z" 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" 2021/10/14 07:58:04 http: TLS handshake error from 127.0.0.1:33166: read tcp 127.0.0.1:33739->127.0.0.1:33166: use of closed network connection --- PASS: Test_GetScheduledUpdate_errorParsingResponse_UpdateFailing (4.37s) === RUN Test_GetScheduledUpdate_responseMissingParameters_UpdateFailing --- PASS: Test_GetScheduledUpdate_responseMissingParameters_UpdateFailing (4.52s) === RUN Test_GetScheduledUpdate_ParsingResponseOK_updateSuccess time="2021-10-14T07:58: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.31s) === RUN Test_FetchUpdate_noContent_UpdateFailing time="2021-10-14T07:58:13Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (server.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" time="2021-10-14T07:58:13Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" time="2021-10-14T07:58:17Z" level=error msg="Can not fetch update image: Get \"https://127.0.0.1:34827\": depth zero self-signed certificate, openssl verify rc: 18 server cert file: server.crt" --- PASS: Test_FetchUpdate_noContent_UpdateFailing (4.10s) === RUN Test_FetchUpdate_invalidRequest_UpdateFailing time="2021-10-14T07:58:17Z" level=error msg="Can not fetch update image: Get \"broken-request\": unsupported protocol scheme \"\"" --- PASS: Test_FetchUpdate_invalidRequest_UpdateFailing (0.40s) === RUN Test_FetchUpdate_correctContent_UpdateFetched --- PASS: Test_FetchUpdate_correctContent_UpdateFetched (4.10s) === RUN Test_UpdateApiClientError time="2021-10-14T07:58:21Z" 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 (13.39s) === RUN TestBrokenReadAndPartialDownload === RUN TestBrokenReadAndPartialDownload/group === RUN TestBrokenReadAndPartialDownload/group/success === PAUSE TestBrokenReadAndPartialDownload/group/success === RUN TestBrokenReadAndPartialDownload/group/earlyRangeStart === PAUSE TestBrokenReadAndPartialDownload/group/earlyRangeStart === RUN TestBrokenReadAndPartialDownload/group/lateRangeStart === PAUSE TestBrokenReadAndPartialDownload/group/lateRangeStart === RUN TestBrokenReadAndPartialDownload/group/brokenContentLength === PAUSE TestBrokenReadAndPartialDownload/group/brokenContentLength === RUN TestBrokenReadAndPartialDownload/group/missingContentLength === PAUSE TestBrokenReadAndPartialDownload/group/missingContentLength === RUN TestBrokenReadAndPartialDownload/group/noPartialContentSupport === PAUSE TestBrokenReadAndPartialDownload/group/noPartialContentSupport === RUN TestBrokenReadAndPartialDownload/group/emptyContentRange === PAUSE TestBrokenReadAndPartialDownload/group/emptyContentRange === RUN TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange === PAUSE TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange === RUN TestBrokenReadAndPartialDownload/group/improperlyFormattedContentRange === PAUSE TestBrokenReadAndPartialDownload/group/improperlyFormattedContentRange === RUN TestBrokenReadAndPartialDownload/group/missingBytesContentRange === PAUSE TestBrokenReadAndPartialDownload/group/missingBytesContentRange === RUN TestBrokenReadAndPartialDownload/group/missingContentRange === PAUSE TestBrokenReadAndPartialDownload/group/missingContentRange === RUN TestBrokenReadAndPartialDownload/group/tooManyContentRanges === PAUSE TestBrokenReadAndPartialDownload/group/tooManyContentRanges === RUN TestBrokenReadAndPartialDownload/group/garbledContentStart === PAUSE TestBrokenReadAndPartialDownload/group/garbledContentStart === RUN TestBrokenReadAndPartialDownload/group/breakAfterShortRange === PAUSE TestBrokenReadAndPartialDownload/group/breakAfterShortRange === RUN TestBrokenReadAndPartialDownload/group/serverDownAndUp === PAUSE TestBrokenReadAndPartialDownload/group/serverDownAndUp === RUN TestBrokenReadAndPartialDownload/group/serverDown === PAUSE TestBrokenReadAndPartialDownload/group/serverDown === CONT TestBrokenReadAndPartialDownload/group/success === CONT TestBrokenReadAndPartialDownload/group/serverDown === CONT TestBrokenReadAndPartialDownload/group/serverDownAndUp === CONT TestBrokenReadAndPartialDownload/group/emptyContentRange === CONT TestBrokenReadAndPartialDownload/group/breakAfterShortRange === CONT TestBrokenReadAndPartialDownload/group/missingBytesContentRange === CONT TestBrokenReadAndPartialDownload/group/improperlyFormattedContentRange === CONT TestBrokenReadAndPartialDownload/group/garbledContentStart === CONT TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange === CONT TestBrokenReadAndPartialDownload/group/tooManyContentRanges === CONT TestBrokenReadAndPartialDownload/group/missingContentRange === CONT TestBrokenReadAndPartialDownload/group/noPartialContentSupport === CONT TestBrokenReadAndPartialDownload/group/missingContentLength === CONT TestBrokenReadAndPartialDownload/group/brokenContentLength === CONT TestBrokenReadAndPartialDownload/group/lateRangeStart === CONT TestBrokenReadAndPartialDownload/group/earlyRangeStart time="2021-10-14T07:58:35Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:35Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:35Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:35Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:35Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:35Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:35Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:35Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:35Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:35Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:35Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:35Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:35Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:35Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:35Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:35Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:35Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:35Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:35Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:35Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:35Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:35Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:35Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:35Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:35Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:35Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:35Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:35Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:35Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:35Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:35Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:35Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:36Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:36Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:36Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:36Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:36Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:36Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:36Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:36Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:36Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:36Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:36Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:36Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:36Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:36Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:36Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:36Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:36Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:36Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:36Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:36Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:36Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:36Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:36Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:36Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:36Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:36Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:36Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:36Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:36Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:36Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:36Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:36Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:36Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:36Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:36Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:36Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:36Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:36Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:36Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:36Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:36Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:36Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:36Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:36Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:36Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:36Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:36Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:36Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:37Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:37Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:37Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:37Z" level=info msg="Attempting to resume artifact download from offset 3406" time="2021-10-14T07:58:37Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:37Z" level=info msg="Attempting to resume artifact download from offset 3406" time="2021-10-14T07:58:37Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:37Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:37Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:37Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:37Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:37Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:37Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:37Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:37Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:37Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:37Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:37Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:37Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:37Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:37Z" level=info msg="Attempting to resume artifact download from offset 3401" time="2021-10-14T07:58:37Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:37Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:37Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:37Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:37Z" level=info msg="Attempting to resume artifact download from offset 3406" time="2021-10-14T07:58:37Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:37Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:37Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:37Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:37Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:37Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:37Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:37Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:37Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:37Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:37Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:37Z" level=info msg="Attempting to resume artifact download from offset 3406" time="2021-10-14T07:58:37Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:37Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:37Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:37Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:37Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:37Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:37Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:37Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:37Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:37Z" level=info msg="Resuming download in 1s" time="2021-10-14T07:58:38Z" level=info msg="Attempting to resume artifact download from offset 3401" time="2021-10-14T07:58:38Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:38Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:38Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2021-10-14T07:58:38Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:38Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2021-10-14T07:58:38Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:38Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:38Z" level=info msg="Attempting to resume artifact download from offset 5099" time="2021-10-14T07:58:38Z" level=info msg="Download resume request failed: Get \"http://localhost:9767/update_resumer_test.go\": dial tcp 127.0.0.1:9767: connect: connection refused" time="2021-10-14T07:58:38Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:38Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:38Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:38Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58: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="2021-10-14T07:58:38Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:38Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:38Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:38Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:38Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:38Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2021-10-14T07:58:38Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:38Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:38Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:38Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:38Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:38Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:38Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:38Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:38Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:38Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:38Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:38Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:38Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:38Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:38Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:38Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:38Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2021-10-14T07:58:38Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:38Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:38Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:38Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:38Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:38Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:38Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:38Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:38Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:38Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:38Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:38Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:40Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:40Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2021-10-14T07:58:40Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2021-10-14T07:58:40Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:40Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:40Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:40Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:40Z" level=info msg="Attempting to resume artifact download from offset 6797" time="2021-10-14T07:58:40Z" level=info msg="Attempting to resume artifact download from offset 5099" time="2021-10-14T07:58:40Z" level=info msg="Attempting to resume artifact download from offset 6812" time="2021-10-14T07:58:40Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:40Z" level=info msg="Download resume request failed: Get \"http://localhost:9767/update_resumer_test.go\": dial tcp 127.0.0.1:9767: connect: connection refused" time="2021-10-14T07:58:40Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:40Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:40Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" time="2021-10-14T07:58:40Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:40Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:40Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:40Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:40Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:40Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:40Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:40Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:40Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:40Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:40Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:40Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:40Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:40Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:40Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:40Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:40Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:40Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:40Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:40Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:40Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:40Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:40Z" level=info msg="Attempting to resume artifact download from offset 6812" time="2021-10-14T07:58:40Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:40Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:40Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:40Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:40Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:40Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:40Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:40Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:40Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:40Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:40Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:40Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:42Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2021-10-14T07:58:42Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2021-10-14T07:58:42Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:42Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:42Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:42Z" level=info msg="Attempting to resume artifact download from offset 8495" time="2021-10-14T07:58:42Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:42Z" level=info msg="Attempting to resume artifact download from offset 8515" time="2021-10-14T07:58:42Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:42Z" level=info msg="Attempting to resume artifact download from offset 6797" time="2021-10-14T07:58:42Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:42Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:42Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:42Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:42Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:42Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" time="2021-10-14T07:58:42Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:42Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:42Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:42Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:42Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:42Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:42Z" level=info msg="Download resume request failed: Get \"http://localhost:9767/update_resumer_test.go\": dial tcp 127.0.0.1:9767: connect: connection refused" time="2021-10-14T07:58:42Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:42Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:42Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:42Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:42Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:42Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:42Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:42Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:42Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:42Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:42Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:42Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:42Z" level=info msg="Attempting to resume artifact download from offset 8515" time="2021-10-14T07:58:42Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:42Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:42Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:42Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:42Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:42Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:42Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:42Z" level=info msg="Resuming download in 2s" time="2021-10-14T07:58:44Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:44Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2021-10-14T07:58:44Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:44Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:44Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2021-10-14T07:58:44Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:44Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:44Z" level=info msg="Attempting to resume artifact download from offset 8495" time="2021-10-14T07:58:44Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:44Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:44Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58:44Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:44Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58: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="2021-10-14T07:58:44Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:44Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58:44Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:44Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58:44Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:44Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58:44Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:44Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58:44Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:44Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58:44Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:44Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58:44Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:44Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:44Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:44Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:44Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:44Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58:44Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:44Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58:44Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:44Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58:44Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:44Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58:47Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:47Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:47Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:47Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58:47Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:47Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58:47Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2021-10-14T07:58:47Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:47Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58: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="2021-10-14T07:58:47Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:47Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58:47Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:47Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58:47Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:47Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58:47Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:47Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:47Z" level=info msg="Attempting to resume artifact download from offset 6812" time="2021-10-14T07:58:47Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:47Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58:47Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:47Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58:47Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:47Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58:47Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:47Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:47Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:47Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:47Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:47Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58:47Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:47Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58:47Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:47Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58:47Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:47Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58:50Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:50Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:50Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2021-10-14T07:58:50Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:50Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58:50Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:50Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58:50Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:50Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:50Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" time="2021-10-14T07:58:50Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:50Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58:50Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:50Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58:50Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:50Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58:50Z" level=info msg="Attempting to resume artifact download from offset 8515" time="2021-10-14T07:58:50Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:50Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:50Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:50Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58:50Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:50Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58:50Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:50Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:50Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:50Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:50Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:50Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58:50Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:50Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58:50Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:50Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58:50Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:50Z" level=info msg="Resuming download in 3s" time="2021-10-14T07:58:53Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:53Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:53Z" level=info msg="Attempting to resume artifact download from offset 5109" time="2021-10-14T07:58:53Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:53Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:53Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:53Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:53Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" time="2021-10-14T07:58:53Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:53Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:53Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:53Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:53Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:53Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:53Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:53Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:53Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:53Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:53Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:53Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:53Z" level=error msg="Download connection broken: unexpected EOF" time="2021-10-14T07:58:53Z" level=info msg="Attempting to resume artifact download from offset 1703" time="2021-10-14T07:58:53Z" level=error msg="Download connection broken: unexpected EOF" --- PASS: TestBrokenReadAndPartialDownload (18.28s) --- PASS: TestBrokenReadAndPartialDownload/group (0.00s) --- PASS: TestBrokenReadAndPartialDownload/group/success (7.12s) --- PASS: TestBrokenReadAndPartialDownload/group/earlyRangeStart (7.11s) --- PASS: TestBrokenReadAndPartialDownload/group/missingContentLength (7.21s) --- PASS: TestBrokenReadAndPartialDownload/group/breakAfterShortRange (9.12s) --- PASS: TestBrokenReadAndPartialDownload/group/serverDownAndUp (15.18s) --- PASS: TestBrokenReadAndPartialDownload/group/improperlyFormattedContentRange (18.13s) --- PASS: TestBrokenReadAndPartialDownload/group/emptyContentRange (18.13s) --- PASS: TestBrokenReadAndPartialDownload/group/serverDown (18.13s) --- PASS: TestBrokenReadAndPartialDownload/group/missingBytesContentRange (18.13s) --- PASS: TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange (18.13s) --- PASS: TestBrokenReadAndPartialDownload/group/brokenContentLength (18.18s) --- PASS: TestBrokenReadAndPartialDownload/group/tooManyContentRanges (18.19s) --- PASS: TestBrokenReadAndPartialDownload/group/garbledContentStart (18.27s) --- PASS: TestBrokenReadAndPartialDownload/group/noPartialContentSupport (18.27s) --- PASS: TestBrokenReadAndPartialDownload/group/lateRangeStart (18.27s) --- PASS: TestBrokenReadAndPartialDownload/group/missingContentRange (18.28s) PASS ok github.com/mendersoftware/mender/client 121.132s ? 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="2021-10-14T07:57:04Z" 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="2021-10-14T07:57:04Z" level=info msg="Loaded configuration file: mender.config" time="2021-10-14T07:57:04Z" level=info msg="Loaded configuration file: mender.config" --- PASS: Test_LoadConfig_correctConfFile_returnsConfiguration (0.01s) === RUN TestServerURLConfig time="2021-10-14T07:57:04Z" level=info msg="Loaded configuration file: mender.config" time="2021-10-14T07:57:04Z" level=info msg="Loaded configuration file: mender.config" time="2021-10-14T07:57:04Z" 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="2021-10-14T07:57:04Z" level=info msg="Loaded configuration file: /tmp/mendertest194132910/mender.conf" --- PASS: TestMultipleServersConfig (0.00s) === RUN TestConfigurationMergeSettings time="2021-10-14T07:57:04Z" level=info msg="Loaded configuration file: fallback.config" time="2021-10-14T07:57:04Z" level=info msg="Loaded configuration file: main.config" --- PASS: TestConfigurationMergeSettings (0.00s) === RUN TestConfigurationNeitherFileExistsIsNotError time="2021-10-14T07:57:04Z" 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.168s === RUN TestMenderState --- PASS: TestMenderState (0.00s) PASS ok github.com/mendersoftware/mender/datastore 0.294s === 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.03s) PASS ok github.com/mendersoftware/mender/device 0.280s === RUN TestBlockDeviceFail --- PASS: TestBlockDeviceFail (0.00s) === RUN TestBlockDeviceWrite time="2021-10-14T07:57:24Z" level=info msg="Opening device \"/tmp/mender-block-device-459434567/foo\" for writing" block_device_test.go:46: block device size called: &{0xc000bc2360} block_device_test.go:56: block device sector-size called: &{0xc000bc23c0} time="2021-10-14T07:57:24Z" level=info msg="Native sector size of block device /tmp/mender-block-device-459434567/foo is 5 bytes. Mender will write in chunks of 1310720 bytes" time="2021-10-14T07:57:24Z" level=error msg="Failed to write 4 bytes to the new partition" time="2021-10-14T07:57:24Z" 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: &{0xc000bc2600} block_device_test.go:46: block device size called: &{0xc000bc2660} --- 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="2021-10-14T07:57:24Z" level=info msg="Probing the Bootloader environment for which separator to use" time="2021-10-14T07:57:24Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " time="2021-10-14T07:57:24Z" 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="2021-10-14T07:57:24Z" level=info msg="Probing the Bootloader environment for which separator to use" time="2021-10-14T07:57:24Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " time="2021-10-14T07:57:24Z" level=error msg="Failed to probe the U-Boot environment for which separator to use. Got error: requires root privileges: exit status 1" time="2021-10-14T07:57:24Z" level=error msg="U-Boot variable malformed or error occurred" time="2021-10-14T07:57:24Z" level=info msg="Probing the Bootloader environment for which separator to use" time="2021-10-14T07:57:24Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " time="2021-10-14T07:57:24Z" 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.18s) === RUN Test_EnvRead_HaveVariable_ReadsVariable --- PASS: Test_EnvRead_HaveVariable_ReadsVariable (0.18s) === RUN Test_EnvRead_HaveEnvWarning_FailsReading time="2021-10-14T07:57:25Z" level=error msg="U-Boot variable malformed or error occurred" time="2021-10-14T07:57:25Z" level=error msg="U-Boot variable malformed or error occurred" --- PASS: Test_EnvRead_HaveEnvWarning_FailsReading (0.01s) === RUN Test_EnvRead_NonExisting_FailsReading time="2021-10-14T07:57:25Z" level=error msg="U-Boot variable malformed or error occurred" time="2021-10-14T07:57:25Z" level=error msg="U-Boot variable malformed or error occurred" --- PASS: Test_EnvRead_NonExisting_FailsReading (0.03s) === RUN Test_EnvCanary --- PASS: Test_EnvCanary (0.47s) === RUN Test_PermissionDenied time="2021-10-14T07:57:25Z" level=info msg="Probing the Bootloader environment for which separator to use" time="2021-10-14T07:57:25Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " time="2021-10-14T07:57:25Z" level=error msg="Could not execute fw_setenv: exec: \"fw_setenv\": executable file not found in $PATH" time="2021-10-14T07:57:25Z" 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="2021-10-14T07:57:25Z" level=info msg="Probing the Bootloader environment for which separator to use" time="2021-10-14T07:57:25Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " time="2021-10-14T07:57:25Z" level=info msg="Probing the Bootloader environment for which separator to use" time="2021-10-14T07:57:25Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " time="2021-10-14T07:57:25Z" level=info msg="Writing map[mender_uboot_separator:] to the U-Boot environment, using separator: " --- PASS: Test_ProbeSeparator (0.14s) === RUN Test_commitUpdate time="2021-10-14T07:57:25Z" 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="2021-10-14T07:57:25Z" level=info msg="Enabling partition with new image installed to be a boot candidate: 2" time="2021-10-14T07:57:25Z" level=info msg="Probing the Bootloader environment for which separator to use" time="2021-10-14T07:57:25Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " time="2021-10-14T07:57:26Z" level=info msg="Writing map[bootcount:0 mender_boot_part:2 mender_boot_part_hex:2 upgrade_available:1] to the U-Boot environment, using separator: =" time="2021-10-14T07:57:26Z" level=info msg="Enabling partition with new image installed to be a boot candidate: 2" time="2021-10-14T07:57:26Z" level=info msg="Probing the Bootloader environment for which separator to use" time="2021-10-14T07:57:26Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " time="2021-10-14T07:57:26Z" 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.47s) === RUN Test_installUpdate_existingAndNonInactivePartition time="2021-10-14T07:57:26Z" level=info msg="Opening device \"/non/existing\" for writing" time="2021-10-14T07:57:26Z" level=error msg="Failed to read size of block device /non/existing: open /non/existing: no such file or directory" time="2021-10-14T07:57:26Z" level=info msg="Opening device \"inactivePart\" for writing" time="2021-10-14T07:57:26Z" level=info msg="Native sector size of block device inactivePart is 12 bytes. Mender will write in chunks of 1572864 bytes" time="2021-10-14T07:57:26Z" level=info msg="All bytes were successfully written to the new partition" time="2021-10-14T07:57:26Z" level=error msg="Failed to read a full frame of size: &{%!d(string=EOF)} from the block-device" time="2021-10-14T07:57:26Z" level=info msg="The optimized block-device writer wrote a total of 0 frames, where 0 frames did need to be rewritten (i.e., skipped)" time="2021-10-14T07:57:26Z" level=info msg="Wrote 12/12 bytes to the inactive partition" time="2021-10-14T07:57:26Z" level=info msg="Opening device \"inactivePart\" for writing" time="2021-10-14T07:57:26Z" 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="2021-10-14T07:57:26Z" level=info msg="No update available, so no rollback needed." time="2021-10-14T07:57:26Z" level=info msg="Rolling back to the active partition: (1)." time="2021-10-14T07:57:26Z" level=info msg="Probing the Bootloader environment for which separator to use" time="2021-10-14T07:57:26Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " time="2021-10-14T07:57:26Z" 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: &{0xc00014e000 map[] 2021-10-14 07:57:26.471425251 +0000 UTC m=+1.933714341 info Rolling back to the active partition: (1). } time="2021-10-14T07:57:26Z" level=info msg="Rolling back to the inactive partition (2)." time="2021-10-14T07:57:26Z" level=info msg="Probing the Bootloader environment for which separator to use" time="2021-10-14T07:57:26Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " time="2021-10-14T07:57:26Z" 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: &{0xc00014e000 map[] 2021-10-14 07:57:26.747464702 +0000 UTC m=+2.209753779 info Rolling back to the inactive partition (2). } --- PASS: Test_Rollback_OK (0.61s) === RUN TestDeviceVerifyReboot time="2021-10-14T07:57:26Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" time="2021-10-14T07:57:26Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" time="2021-10-14T07:57:26Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" time="2021-10-14T07:57:26Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" time="2021-10-14T07:57:27Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" time="2021-10-14T07:57:27Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" --- PASS: TestDeviceVerifyReboot (0.20s) === RUN TestInstall time="2021-10-14T07:57:27Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:57:27Z" level=info msg="No public key was provided for authenticating the artifact" --- PASS: TestInstall (0.09s) === RUN TestInstallSigned time="2021-10-14T07:57:27Z" level=info msg="No public key was provided for authenticating the artifact" time="2021-10-14T07:57:27Z" level=warning msg="Installer: Installing signed artifact without verification as verification key is missing" time="2021-10-14T07:57:27Z" level=info msg="Installer: authenticated digital signature of artifact" time="2021-10-14T07:57:27Z" level=info msg="Installer: authenticated digital signature of artifact" --- PASS: TestInstallSigned (0.19s) === RUN TestInstallNoSignature --- PASS: TestInstallNoSignature (0.10s) === RUN TestInstallWithScripts time="2021-10-14T07:57:27Z" level=info msg="No public key was provided for authenticating the artifact" --- PASS: TestInstallWithScripts (0.10s) === RUN TestCorrectUpdateProducerReturned time="2021-10-14T07:57:27Z" level=info msg="No public key was provided for authenticating the artifact" --- PASS: TestCorrectUpdateProducerReturned (0.03s) === RUN TestMultiplePayloadsRejected time="2021-10-14T07:57:27Z" level=info msg="No public key was provided for authenticating the artifact" --- PASS: TestMultiplePayloadsRejected (0.07s) === RUN TestStreamsTree --- PASS: TestStreamsTree (0.21s) === 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="2021-10-14T07:57:38Z" level=error msg="Process 2463062 timed out. Sending SIGTERM" === RUN TestModulesDownload/Module_download_never_exits time="2021-10-14T07:57:43Z" level=error msg="Process 2463072 timed out. Sending SIGTERM" --- PASS: TestModulesDownload (15.40s) --- PASS: TestModulesDownload/Mender_download (1.12s) --- PASS: TestModulesDownload/Module_download (0.11s) --- PASS: TestModulesDownload/Module_download_failure (0.16s) --- PASS: TestModulesDownload/Module_download_short_read_of_stream-next (0.04s) --- PASS: TestModulesDownload/Module_download_short_read_of_stream (0.16s) --- PASS: TestModulesDownload/Cannot_open_stream_file (0.11s) --- PASS: TestModulesDownload/files_dir_blocked_by_file (1.22s) --- PASS: TestModulesDownload/Mender_download_multiple_files (1.01s) --- PASS: TestModulesDownload/Module_download_multiple_files (0.19s) --- PASS: TestModulesDownload/Module_download_multiple_files,_downloads_only_one (1.08s) --- PASS: TestModulesDownload/Module_downloads_two_entries,_but_one_file (0.03s) --- PASS: TestModulesDownload/Module_download_doesn't_read_final_zero_entry (0.01s) --- PASS: TestModulesDownload/Module_download_fails_final_exit (0.10s) --- PASS: TestModulesDownload/Module_download_hangs (5.05s) --- PASS: TestModulesDownload/Module_download_never_exits (5.01s) === RUN Test_GetInactive_HaveActivePartitionSet_ReturnsInactive time="2021-10-14T07:57:43Z" level=warning msg="Could not resolve path link: /dev/mmc2 Attempting to continue" time="2021-10-14T07:57:43Z" level=warning msg="Could not resolve path link: /dev/mmc3 Attempting to continue" time="2021-10-14T07:57:43Z" level=warning msg="Could not resolve path link: /dev/mmc3 Attempting to continue" time="2021-10-14T07:57:43Z" level=warning msg="Could not resolve path link: /dev/mmc Attempting to continue" time="2021-10-14T07:57:43Z" level=warning msg="Could not resolve path link: /dev/mmc Attempting to continue" time="2021-10-14T07:57:43Z" level=warning msg="Could not resolve path link: /dev/mmc4 Attempting to continue" time="2021-10-14T07:57:43Z" 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="2021-10-14T07:57:43Z" 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="2021-10-14T07:57:44Z" level=error msg="Mounted root '/dev/mmc1' does not match boot environment mender_boot_part: 2" --- PASS: Test_getActivePartition_noActiveInactiveSet (0.83s) === RUN Test_getAllMountedDevices --- PASS: Test_getAllMountedDevices (0.00s) === RUN TestMaybeResolveLink time="2021-10-14T07:57:44Z" 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 19.700s === RUN TestInventoryDataDecoder --- PASS: TestInventoryDataDecoder (0.00s) PASS ok github.com/mendersoftware/mender/inventory 0.024s ? github.com/mendersoftware/mender/log/syslog [no test files] === RUN TestStore --- PASS: TestStore (0.02s) === RUN TestExecutor time="2021-10-14T07:57:30Z" level=error msg="statescript: Ignoring script '/tmp/rootfs_scripts926008902/Download_Enter_00' being not executable" time="2021-10-14T07:57:30Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " time="2021-10-14T07:57:30Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " time="2021-10-14T07:57:30Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " time="2021-10-14T07:57:30Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " time="2021-10-14T07:57:30Z" level=error msg="statescript: Ignoring error executing 'ArtifactInstall_Leave_02': 1: exit status 1" time="2021-10-14T07:57:30Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " time="2021-10-14T07:57:30Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave_100' will not be run " time="2021-10-14T07:57:30Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " time="2021-10-14T07:57:30Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave_100' will not be run " time="2021-10-14T07:57:30Z" level=info msg="Collected output (stderr) while running script /tmp/art_scripts657721795/ArtifactInstall_Leave_00\nerror data\n\n---------- end of script output" time="2021-10-14T07:57:30Z" level=info msg="Collected output (stderr) while running script /tmp/art_scripts657721795/ArtifactInstall_Leave_11 (Truncated to 10KB)\n\x94:\x1fLhX\x92X\u05fc\xf0\xd4\xfb\x004 (\xda\xd1u\x91!y\xd1\x13\x12\xfd^\xa17\x18\xc0/\x98\xfe\x81\x80\x9f&p\x82\xeb\xdc\xc7z\x9d\x01P\x8e\xa9\xf4\xa2Qzu~\xbf\xb3\x1aP\xa4\xf3\xa6\xf0\xc5\xf2\x17\x80P\xab\xaaV\xb2+{\x87\x0f\xe5\x11\xc9Q\x8d\xb6\xfe\xdf C\x0f\xbdn\xe1\x94r\f\xc4\"G\xba\xe66f\x1d+\xbe\xdf\xfbTQ\xe6\xeb\x15\"M\xfal\xc0\xb3\x95=K\x12\xc3Q\xff\xceW\xebeI\xa3\xd6a\fv\x88\xf75<\x9aS\xe4\x1c\xde}ɀ\xe1T\x14Q\x00z\x03\xe3=\x95\xf0\xaf\xf9j\x85\x0e\xa8\x84+\x9d/a>\xa5\x99\x88C\xdesW\xf6\xfb\xdb\x1b\xee\\\xf9\x87\xbe\xf9\xd3{-\xa6Tx\xfd\xb1\r[\xcf<\xc2\x1bG\xcb/\xaa\xedGU\x84\x0e\x97^p\x04\xd1䷔[`Zkpʠ\xb7z\b-\x139\xe8\xa4.,\x10o\xfe\xaeKOm|\xf7dF\xff\xd1>\x90\xe3\x10?ݜIͽ\xe1\xd5\xd0\\\xff\xf4 \x8eٌ\xc5d\x86ך\xa5>\xcd\x1dӅ^\x15sC'\xf5WεI\xe86)\xcbGh\xd2\xe4B\xb7s'y\xef\x93)\xe2xJ\xb5p\x17\x18įK\x044`\x8a\n\xc2[zg\xe5\xb6\xeb\xe4:\x06\xdb}\x06@\x9c\xb9\xb2\xc0=q\xf6\xdb\xd45D\x80\xa3E\xac\xaf<\xdeMZ\xf6ӹ\a\v\xdak\xaf\x90ym\x04\xee\xcc\u007f\v\xef\x9aβ\xef\xf6Pc\xe2\xea\x177\xf6B\xdf\bۻ\xa0\a9f\x15\xa5\xacn\xf8\xfdIT;\xd9e\xa5\xbf2/5\x02\xfa\x8d6}9\n\xad@\xc0 :\xeb(DŽ\xb7h\x98\x9a\t\xb0\xc2ݟ\xa7\xf7\xa3J\xa3ۨ\x9b\xbdx;\xaa\xdb4\x8a\xe2\x92lH\xa5}(\xa8\x94S\x98r\xfd\xc3?\xb9\xf7/\xe5\xf0\xc8f\xb7\xa2\xf3__n\xca)Uzǝ*\xf7a\x89Y\xbf\x98B\x1b\x96\x9bE\x1e3kɵ\x8d\x9aF\x85\xf0\xa7\xf0\a\xe6ng\xffK\x19~\x8f\xafJ\xf6\xb5\x97q\xd9\xded\xc0\xd2\xf8\xf5\x8aV\xed\xac\xf4\xbe=t1kϛ;\xd6\xceO(\xbbl\xca=\xb0:\xf7\x98;\xc2m\xa7\f\x82\x03\x80EH!\xbb\x8fS\xa3Y\xf7\x015\x06\xcc\xea\xab\v\x8e\x809̹\xe3g\xe63\x01-D8\xcey\x92\xdd|@\x81]lh\xf4l\xfc\x91\u007fۿp1\xa0sg`\xafN{r^ne6\xf5\x9b)\x89\xe8\xfb˘\x13\xb4\xe5\x17%\xb9\xf1\x11\xc2\xf4y;\aD\xfc\x12\x19t\xd2%x$`\x9ap\x9dK\xdc\xd8\xd7\xf2\xde.[6\xea\xfb\xb0g\x1d\x14\"\x0e$~o\xcbI(\x9a\xe5\xb9ͻ\xed\x83\xcf\xed\xab\x1d0CJ\x82\xe1K\x9cXC*\xcf\u0092\x1e\xd9\x02\x0e\xf1\b\nWx\x90+_\xbbM\x8f\x91rK[\x9e\x82\x9b\foZf\xcd\xc4#Z,\xec?$J\xa9m\xd2\xe8\x91(OE\x10\x0e\xd4\xf7\xf8\x98'\x16\xb5OC\x9a\f\xb9\x1b\x97\x8c\v\x13\x0f\xbd2)\xdb\u0379TV\xc5\xde\x02\xe130\xbc\xad\xcfw\xa8\x8dw'\xf3\f\xa0\x18)\x02\xb8\"\x9a\f+\x0fCO$̐\xaa\x93\xd5v\x82ԶVh.\x84L\xb3\x9a|\x04F\\\xdb%fS~\xa65\x93\x04+\xcbJ\x95Q#\xf2_\f\x1d\x11\x1a\xb4dbu\xb7\x8f\xb1\xd2{\xb1\xb0*\n\x03\xc4.#\x96\x89i\xbe\xe4,\x16T@\xf3\x17\xbf\xedP_3Q`\xf1r4V\x87\x9d\xd1\xd5\xd5⇽A\x83\x14;ӧ\xff.\x92\x05\x86Kikm\xb8\x98\xe3C\xfd\xdcMt\x97\x99\x83\x8c߰\xb7\x065\xb2\xe30,\xe4@Ԝ\x12҂ĭ\n\xd5\xebl\x98tFS\xe7˶}\xd0\xe8\x87<\x97\r\xe4I\x9f\n\xb5\x8c\x1c\x88l\x80q\x06\x159\x86\xe6óEv\xe2\xb2\t\xae\x82ay\x11%衖\xf2j\xfd\xac\xe0\x06^\xa6&Rz@\xa5\xde@R\xafi\x8e\xc9Hbς\xb2 \x14\xde\xeaw\xda\xe1\xa0\x14DD\xaf\x11\xaa(nrB\xae!\xd01\xa1\x15;\x96u\xd0\"E;*1\xc2\"\xe2\xc7=\x02\xad\xb6\xe1\xdaM.o\xc6P\xb72\xfc\xfc\xf7c\xf3\xbayWj\x92\x87\xb4?\xc1\xea\x92\u0097˺\x05\xccV\x16\xf5 Ħ\xd9Ϲ\xb1h0\xdc\x15\x00͐\f\x18\xa3Fp7xҎ\xe7\aH\b\xc1\xa6\xe0\x13\xc0l/\xe1\xfcѮ\x94\x88#\xed\nZ\u05fdT\t\xe3\xd5r3B\x9d\xb1(\x92)V\xed\x85\x00\x9e\xb2,\xb8?\r⸕\xd0\xfd\xd8\xd8\x12\xac\x8c\xc5%\xa58\xb7>I\xe1`)\xd4\xe0\xf0y\xa4d\xc7\x18\x01\x9f\x13tQJ\x90\x98\xfd躀\xb5\xd0Q\x05\x1b\x86&\xb9\x90\xca8\xf6\x81\x10)NK\x91\xfbZ\xe9\xf5)\xc0\x1b<\x11EH\x93\xd3ɠRl\u007fE\x12\xf7v\x14-\x12\xe3\x8a7\x8c!\x1fA\x11?\t\xa5\xbb!l\xb2\xd5\xf96\xeat\x98,\u03815\x81\xcb\xeb\xd9WpE\xd9\xd8T\xa5\xaa-\u007f\xf1\xaePJ\xe7V×\xd8V\xb1\xf3\a\xe4*b\x93\xdd\xf8\xca)\xf1\x96\xb5-\xac\x1f\xa82M\xd6[|\xf3\x9cJy\n\x93\xd1\xcb\"oj\xa0\xbaVb\xc8\xf1@\xf2\x93K\x04{\xbe\xb24zG\x81\x01\xfe\x02,\xa1b_uҩ1\xc9\xcd\xe0\x91\xe37\x8c\xe1\x17\xe1\xfe\x8d\x02\xfdr\xfbX\x01\x92\t\xc0\x90\xbaJ\xac2\x91\x04\xe2`W\xf4&(\xa1\xb6\xeb\xa3×\xc0|\xc6\xe0\xaa\x0e\x16\b\xe0`\x18\xfe\u007f\xfc\xe3\xae}\x04\xe1\fO\xd0Ӭض\tp\x97Z\xd3\xedn\x83\xa0*\x8b\xc2Ch>\x88L\xe93\xab4ZI\xa9nQ\x17XD\xefʉx\x81!0\x89\xc9ݐ9}\xf1\xfe\xdeV\x93K\xe9\xd5U\xd3ȕ\x9b\x98\x98\xadn\x98&\x9c\x93G)Rh߯\x8b\x11\x8d\xa1\xc9Fp\x91\x99\xd7\xef-˽9\xd2^\xc3\xee&G!UI\xe8r)\xbb\xf2\n2\x88po\x8cB\xee¤c\xc7\xcbd\x81\xdaT!\xebʣz䖍Z\xffY\xa1\xf0c\xb5\x8eHXU=\xb8%l\xf0J+Ê\x0f\x8b/'7v\x1d\xc4oq]\x88\xc2\u007f\xc8\x1b=0;V\xed\x9e88?\x05Ll\xa8:MK\x00\x13*\r\xb4=\xe42*\xf0K\xef\x8a8\xd1\r\xcd\xe3\xe8\xa1\x04=\xb6\xa1\x83M\x9d\x94\xc0+\xb0;=\xc2\xdd\x10\xa1\x83\xf5'\xd5\x19yG\xadX\x0f\xf0S\x8e\xd8[80Gh]\x1bV\xb2ڴ\xf0*\x1eD\xcc\xd4h\xf0\\\xb1\x19\xe0\x9cV\x8e\x97\x8e\x95:\u0c45}\xb1\xb5A\x9d\x01\x18\xa6j\xf5\xbbL\xc5\xe4\xfeSB\xa0\x12\x990WJ!k\xa4@\xa8\x9e5D\xc2\xcb\xc3\xea\xd4R\x88\x98\xcbU\xdc\xff\x860\xca\aU\x87\xd5\xe1k\xb7^\x86\xa8\x03\xfc\x88Uq\xe9+]m\x89ܽ\xb2\xc6\x1c\xb3\xd8\x14\x8d\x02e\x14NR\x11@}\x88\x80\xbd~\xce\xe6\bg\xb6\xe5\x9d\xea4\x00\xa0o\xbfd\xb6\xe7\x1dM\x17,\xe6Q\x12\x1b\x99\x9f[\x0fD\xa2\xff*\n\x9c\xf2\x16\xe24\xa4`\x8aW22\u00982~*+\xe6m%\x84~t\x17\xbb\x98Hә\xc7C6^\xa0r\xe5XF\xd7\n\x18\xb6\u0cc9\x16~\x95\x96c\xe8\a;s\xa8u\xaf\xaaK\x13\xd6\x17\xa6\x9b~d8H\xee\x14\xa8\x91u\x82ϝ\x1cBD\x9b\xbb\xfb\"\xfb\xbc\x8f\x0f.Z3U\xcc\x04\xb4\xb7SS\xab\xc1T\x92\xa5?6\xda\xc0\x1cS#&T$8]r<ɓ\x85[\xf5\x10\xf24\xf6\xdc`\xb9\x83\x99k\x94\xd0\xf85\x87Lj\b\xc81\x18\xfa\xf6ċ\xaa\n\x9b\xc7\xd8:>\xcf\x064\x13\x13=\xeb\xfb\x05\xa3\xb1\xe4w!\xbaY)TQ\xc9x\x97\x01#\x98\xfb}\xea\xa9Q\xc3)\xf8\xc0mq2\xa6uRB\xcfM\xf1\xf5\xd52\x88\xa5\xf9\x18\xdc\xe4I\xc9I\x9f\xa4\xf91K\xc3Rug\x10X\xc6m\xcd,\xfd0\xf3\xabLu\xa2\"\x9b\x87\xb4\xdd)n\x11\x95\xffH\xad\xfe<炔\xceoK\xbaY\xea')U\xbdn\bP\xe0\xfd\x14\xfe>\xb7\x01\xa5;Ϙ9\xb9\xf1\x8c\x93\xc07\xcb~\xb1\xcc\n\xbb\x04\xc5춡\xc1\xe2\xf1\x02\x89\x83\\\x16\xdd3\x1f \xae\u007fdP\xcd\x06>ƕTh9\xe2\x9e\x1c\xa6!\"V\x8f\x97mg\xe7˧\xc6f\xd1]x\x9fӭQ\xa1#\xa7\xab`\x13\xb4\xbc^UگΗ#\xd11\x9a\xb5,\xf8\xd3'\v\xa1\x1a\xbf{\f^K\xa0Pi-\xde\xc9;\x03â\xea\xa04\x06\x96Z;YNg\xc2^\xe4S\x13_\xc9:\x01F\xf3\x90\xd9\xdb\xc6\xcbV\r\x1b\u007f\xed\xa3d\xfc\xa2\x8c\xe8\xbf\xe7\xf5\x19\xc8\xde9\x90b\xdd\v=7\x9aS\xcdM\xbbVm\xd97r\xcb\xecgw\xc5\"\x1ePM&L\xd8\r\x18nx\xb2MQ^u\x83I\x9b\xd73\xb6\xad\xaa鰴\xcd\x12\xa1r\x87\x95s\xe2\xf4\xe5\x88AL\x01\xb9T\x0eV\xdf\vKѯ\x8c\x18{\xae\xd4\xe5\xc1\xe3\xc1r4D\xaf\x8bu\x05U\x90\x17L\xc2\xea\xf3XKK\xea\xc3M\xf3r\xf5\u007f\xa5\v\x03\x1bQ\xcd\xe8\xe7p\xaaÁ\xf6\x9d\xb7\xae!N\xbf\x17\xf9a\x19b\x86Q\x90^\x04\x9b\xe0\v\xdd\xed\x9a\x13\xd3\xfb\x1f\xe8\x01\x10d\xd0\t\x83\f\xd8\xc9q\x98W\x01\x05~\x15W\\\xb4\xabV\x98\x8d\xb0w֫\x93\xec\xaa\t\xd6٫ՉyM\b1Q[\xa8\x80\x9e\xf0\x06\x8d\x84\xa9\x91\xfb<\rI\xb1Bw\xaf\xac\xbaL\x87\x9a\x9e6\xaf\xccٖUm,\x87\xb3\xfe莟\\\x18)i\xc6\x03\xbf\xae\x03E\x14\xb7\xe6\xa4\xcf\xf5\xac\x1be\xd4\xf8-t\x90W\xfc,eY\x82\xc9*y\xb0&\xbc\xa1\x80ʈ\xa7\xe6\f\xf6\xfaP^\xb4Q\xedv\xe9\x16i\x81\x1eg_\xa1\xafZ\xf5K4HQim2\xa2m\x14\xa7y\xa2\x88\xaeq٫\xd2\xfe\xd8\x00\xcfJVmԙS3\xb9]\xca\xf2o\x02R\xeb\x05O\x9e/\xb0\xac\x01=\x96\x933^\x84#aO9\xa5\x9aH0\xb7;[o\x8d\xc0-c]\xb3\x11-\xcd8\xa21\x19\xf2\xc6\x12/\x9e@\xc4\x03\x8a\xa7\x1b\xb9\xa9G\xb3\x83\xf5ʴ\xf18\xf0_\xfe\xe7\xad\xdaқ\xa2-\xae\xd6\x1d\x89\xa0\xac\xc6\xd5;\xcd5R\x93\xf6\x1d@qOO0\x97\x97\xbdmKK\xf1[R\xea\xff\x97/pyI\x02\xd7A\xa8\a\xbb\x87G\xc8`NQ\v@\x92\x88\xb0}\xb2p\xa0f\xe5\xd1-\xf5\xa5cԚ\x87\x1f\xe4\x12^\xf8\x9b\xa9\xc0=\xba\xf1h\x12\xe4\x10x\xa0\xeb'\xc7\x00\x8a6\x13\xd0g\xc6\xfb]mL1\x02\xe0Bw\xe0\xc1Z\xb2z\x81%\x17\x1ev\xa1\xaf\xd5E\xa5s\x1e\xfcVh\xd3\xe1\x93,mX0\x9d\xea\x94I\b\x9eh\x14]<3\xe3\x1c\xf9s\x14\x1bg\xde}D0\xd2@\xaf\xed\xf1\x13\xf8\x804\fE\xbe\x96\x9e\xc3\xd13\xa2\xe5\x19\x16\x1b\x01Y\xcc\x1a\xf8\x05\x936\xc3\x1e\"\xa8\xdc\x1d\xa7/\x8a\xee\xbe\xd7\x1dA\xfah\\\xc6\xd3\x1ba\r\xcfۦ\u007f\x8a\xaf\xc4\xcdf\xb1\t^\xa2\x8aD\x94\x8b\xa4\b&\xa8\xa1@͢&\xb8\x94\xf1\x13?A~+!\xd8X\x9d@L\x17U\xdf)\xebU\xf7\x9fo\n\xdf||\"L\xb4@\xe2\xd5|y\x93R\aD\x99\xb2\xb2\x1cmv\x04\x90b\xa7\xd8\x03\x95\x83\xab\x92hJG\x83\a\xb1\xdb\x1e*\xac\xa5\xfd/\"\r\xfbj++\xa3\x14\xc5\xe1[\xe1\x9bz\x95[\x95]\xb82\x04>-0\xff\x15\x05\r1\xec;_zk\xcbG\xe7\xba\xcb];oB\xbb\xfc\xf6\xefQ\x90\x94{\xd2\xd2h\x843\x19\x05ϲ\x180\x965\x15\xba\x17|V\xa1\x85\x80\xd2[\xf1@\xb7c\xc4\b?\x87f\x8f\xfa$\xa4\xd5=H\xffSfX\xednl\xa7R\xe9\x94\xf4\xe8\xaf\xcd\x1a\xca==\x04\xff\x00\xdf\xfb\xd0\b\xcf\xe8M}I\xe5,\xb6M\xd8\xc9\x13\xc6QJs%\u0590^\x14\x8f\fID\x9d,),\x8fQ\xb4\xa40\x03%aF\x8e\xec\xca\xc7\x02\x9cW\xc1\x8aֱ\xa2\n[\xdd\xef\xbf4\xec\xe0\xd5\x1e\x1a\xa8o\xd4i\xbd\xcd\xf7\x159\x0f:\x90\xfd\xa8\xd8M\x1e(ˤ>\x1a\xf6\xa5\x9d$\xa2\xab\xa0\xe5_\xf11`\x053Ufm\xe7Y\xb6+\x95c\xeb\xe0\xcc#\xf9\xc7\xfb\x82ćX\x8c\xebN\x03\xca\xdb\xef\xf5\xe5Cb\x8f\xb9\xa6za/Moy\x8c,\xcd\xff\f7W}\x1c\x1a\x94\xd0\xeb\x06\xad\xe2Ug\xd6A\x87\xe5\xc8\xc5L9\xb3ҫ\x8f\x03C\x1d\x80μ\xc3\\>A\xbeX\x83UTP\x13\x96,.\x03\xe8\x92n\"\x96\x9e/?VԥN̲nX\x0f\xa8\xee\xeb\x81%\x89\x1a\xdb\xcdL\b'\x14\x063!h\xaf$\x12\xf1\x19Xu\xe5\xf2n;u\xe0\x88\xee\x99\x18\xaa`\xbb\x95\xb4Ń\xa8\xbc)\r\xaeH2A)\x94\u0eee\xa2a\x8b\xe9c\xb3B\xbd\xe0\xcbo\x9e\xa0۪\u007f\xd7x\x03\x83\x16\xe8\x1d\x14\xdbC\xe9\x0f\xa3s\xd5\xf9\xd1\xd3u\xc3 η*V\xf0ު\xac!O\x89|\x1c:\x00D\xb2\xde܊\x06s5\a\x0ez`\x1ef>Y\xc2\xe139WU\xb2\xf9\xed\x97\xc5x\x1eՓ\x89\xfa\x1fWb\xe0\xe9\x01\xabJ;\x81\xd1#\x19\xd8Ҕ\xc1\xd03@1\x84\x0e5˚7\xba\x0f\x18dnb\x00ݪ@iA\xb8\x1f\xf6)\x9dћ\tu\x86\xe7t\x89_\xf6\bΕ\x94\xabsc\xf7Q/\x17\x1eJ\x9fβʪZ\xceuT\x82r\x8c\"\xc5\ak\xabdX,\xc5<-\x96\xd8\rs\xac=\x13\xb8\v\xfd\xaa\x86l\xfe\x1f\xc7\x062\x87\\e\xd5^\xf2䛑\xbe\xd1F?\x8c\xfc\xaa\xe7\xf9\\H\\a\x89\x80\x98e\xa73\xfbm\xb7w\xda\xcb\xe6\x82r\xad\xf5\xc7\xeb)\xd9u\\\x99!R5V\xf0\fM\x0e\xb1&\xf9|3X\x9c\x1e\xf3\xae\\\x03\xfe\xa5\xfd\xaeJ\vY\xa5P\x8a!rQ\x8b\xeb!\xe0\xeb\x9eN\xfd\x05\x0f\xc4[\x9a\f\xb5EJ\xf9\xd0 \xbe\x87E\xe2\x8c4\xe3q\xc9G \x11JD\xc0S\xdf\xd7:\xe2\xd6[i\vk\x87\x97\x8eh\xcf\xd4(\xa9\x94p'\xa6ND3#\xdd\xe7\xb1\xd6\xeaTҙ\xfc\xefc\x82\U000be380}\xf7\xff4B\xb3\xb1\xa2\xeb\xc0N\xb5\xa6\xac\xa1\x97\xe8\xca/\x95\x1d\x1fQ\xd5\xf3\xb8\xfd\x8cPʪ.GM\ns\x94\xc12tWya\x9e\xa9m\r\x0ez\x06\x8f\xb7\n\b,\xec0\x1b~r\xb0_\xa5\x04\x06Ҋ\xaa\x94\xc8\x01\xf4M\xb5\x05\xe6\xaa#ar5\xe4\xca\xf4\xe2\xf7\xaf;B\xc7\x19\xd5\x0f\x1b\xc6p\x97\xa3\x9d\x05\xdc\x00\xa3\xfa\x810A\xc2CB\xce^\xd6\x04\x19z\x1c\xa1\xfd\xbf\xea\xe9\xc6\x03\xe5\x14\x04\xd1\x18`o\xf7\xe3Zp\x04P$Ɍ\xf1gC2\xf1\x92E\xe6\xd3\x1b\xb7\x95Q\xd80~B\x9e@\xae}\x85\xcd\"\x11\xd1\xc9\x00c\x16S,\xd5\r\x98\xd7\xcf\xfa\xe6\x1d\xc1\x973%g\t\x82\a\x83B\xb7?pwV\xa57\x8f\x18\x1bH\xe6\x1e~\x8a\xc5\xeaYJ\xc5z%\x81\xa7\xbf\xecw\xff\xe6\xf0\xdb\xfd\xe8\xdbH\xb9):\x14=\x91-\xb0\x1ayLε\xfc\xca\xc3\x11\x8e\x859\tN\xa5\xdcK\x19\xf1o4\x9b\x90\xf4\x96~g\x10r\x05\xc5.\x95\t\u007fz\xb2ш\x87\xdd\xf5îB\xb4E\xa7\xde!3$\x1d\xcf\x1e\xfd\x93\xfb6r\xe0\xcbYY\xdeP;\x11\u007f\x01\xb4\x02\x94\x84.\a[/\xa6\xda\x1fL\xfb\xebXć\v\x83\xac\xa7r\x92\xc0M\xa6M,̂\x02\x1e\xf5\xfb\xe1w\xe2\r\xfc?\x01aj\xfc\xd8\x1a\x0en+\x8d\xe8\fwL\x97\xa4\x01\x83+%\xd9\x01\x01m\xe3\xc0Y\xcd\xf2\xa2\xc4\xee\xf2V\xf32v\xb4g\x84\\\xdc%i6-\xe6F!\xb2@\x9a3\x8c^a\xe3\xf7\x1e\x03i`\xbeyi~jO\x963\x83\x88\x0f \xc8\a\xe5\xc9\x1d\xd74\x8376Oy\xc5\xf0\x18\x1dٮ \xc3^Y<\x1d\xcd\xef\t\x97S\x14\xb8 \xca5\x00\xe3\x13tsz*\xb2\x12U\xd6\xe4\x82#\xc3\x1f\xef\b\xa4\xf6.\x11N\x9f\x8b\xdfIL\xafIk\b\x11\xe1f\xd8\xef<\x1b\x04.\x02\xe4D\"\x00qW\x03\xfec\bk\x85/9C\x97\xf5\xcf\x18\xa35\vQ\v\b\xba!l>i)\xbdxol\xb2pb\xa0\x05¾S\xde\x18^\xf8(\t,\x91p|\xee\xf6~\xf2\fU6\xec\x1b\x91Int\xef\x81$\v\xa6㡛?\x1fr\xb2g\x93\x15\x03\xe3OQp\xd5\x1f\x14\xe4\x10`.\x9c|\xd6&\x85\xc2\x047\xa1 \xd0\x1b*22y\xae\x13^^xz\xb5\x1bg\xb61\xca9K\x93VT\x9b-.\x03n\xe3\xd0K\x9f\x858\x18\xf8ƈ^4\xe6\xd2})\x9c\xf6\x9bX\xa1炩\xe5\xbe0.ݫ)\x11\xbd\xe2\x0e[\xa5z\xe5\xfay\xb8\x13\x14\x1e]\xa4\x90\xf4\xea\xc3\xdcd\xb5B]\xefUu\xe2\xc4\xd4\xd4kЯ\x82c\xbd\x9b\xcf\xfd\xc8փP\x9c\xd9\x05\xdb\xcam\xfan\x81\xa6\x84\xdcH^\x84\xf68\xf8-<\x81OD\xf3C\x16\xa7$\xfe7,\x85\xe3\x02\xfc\x82\xf4Y\xa4\x99؏\x9eգC\xb2+\xab\x87\xfb\v\x98{\xc1[\xa4\x10Q\x88\x1f\b\xc14\x97N\x02\x15\x18\xdf\xe4q0\xea\x98X!\x19\f\x96\x15\xca4\x90wZ2\xeb\x02\xd3=~Z\xfb\xc8\xcf\xff_\xb4h\xcd\xeb\x0f\xffT\xf7\x02\xefR\xd5\xe9\x03\x84s\xae'7\xda\x16\xba\t\xac\xfbq\x18Ô7\xf4e\x95\xf66g\t*r@\x9c\xf2\xba}\xb8i\xf4e\xe6H`@]B\xb5\xc4\x11u\x0eh\x01\xfe\xd5&\x8bn-\x01\xa2#d\xea\x80.\xc5[\x81\xc8\t\xa1鴌\xb7\xd0w\xbe\x862\xa7%\xc2N\xe9\x86Κ\xf6\xdc\xc4\xe2\x1f\U00096427l\xf9\x1e\t%4w\x19o>\xba\xb7 x\xbf\xeb\xe7\xce\xfd\x8d\xa3|f\x81\x8a\xfd\x83tW\xcaRӓ\xbdBPV\x9b\xbf!N\xb7\xb3\xda>/J\xea\xfdP\x14\xbb\xa2\x9e\xed\t\x16\xb9uAz\xae\xf8d'\xb9\xa4\x01J\x82\x90 1\xa6\xe3\xa2^\vz\xceɹo\xbc\x14Y\xdcq\x005\xfa+\x0f\x93G\xef\x14\xb5\x10\bc5P\x90\x12\xa5>\xa8\xfe\xb3\x04\xeb\x83V{\x1d$B(\xfdf\xa5+UTg\x00\xa0I8\x06\xa8FvV\xbf\x03\f\x03&\xceAڧ\xf1\x04)*Y\x87\x8b\xcfPښ\xc1\"\f\x17\x01\xe9\xf4:r\x01zuWn\xea`\x17\xb9`\t\x00\n2\x11\xbe\xe0\xf5`\x8fv\xe4;Q]\x05\xa6_v0ޛ\x92\xc4ի\x14\xbaw\x91\xd7S\n\x19C6g\x81\x9e\x92\xf5Ř\xfd\x14\xa3\xd3~\xa9+ \x06\xbd\xc4\xd3\x03\xe7`\x9bU1#\xaa\xdcѤR\x91\xbd/\xbd\xdb\xf6\xaci\xe3\xcb\xec(W\xb2\xdb\xe0\f\n\xe6X\xe0\xc3\x15\xbf\x19\x15r\x8d-uK\xd2T\xd4\xe9o\xab.ǖ\x91y>r\xc7ip儃[,\xb02v\xeb\x92\xfd\x94ɼB\b\xb8\x0f\x9cT\xe6\b\x06\xe3\b\xc9`\xa2f¼\xcd\fMY\xd9z\xfd\x9atd\x04\xfc(\xa0\x1d\x85\xa8\xbd\x1eȎ\xbd\xe0\xf5a\xf0\\\xe3Ԯ\xf2I\xa0\xb8Q|\r1&\xe5\x80\xc1\x82\xad\x83*\x1f\x94Pj\xee\x859¥B\xb9\xa7\xf7\xbaƮ \xf3\xfe\x8a\x89?\xe1a\xe1\xdaЎ\xdbv\x9dW\xfd\xb9j-\xef(\x9bM\xf4,\x18\xf6I|t\xad\xf7\xe5\xe0A#r\xe1\r\xdf@\x16\x93\xb5\xb8\x8cN\x8d\x0eA|\xfeؒ\xf4\v\xa8Y\x8a6\xb2\xad\x8f\n\x90\x03\xab\xb6\x00%(\xadͻ\xb4\xfc\xf8I\xb2\x05s\x91\xbd\xadN:\x96\x1c\x11?\xbe\x9be\xcdOC\x9f\xc7 a\xa3\xe8v\xbcI\xc7\xdb\xf7\xc1\x85,\xff\xea\x03\xc5\vg\xea\xe2\x13\xb7\xd8\xfcMM\xc2\xc80qy\x00F\x95673i1\xe2F]ҡ\x9d\xcfyQ\xb2D\xc7\b\xd5}\xf5\x14+\xd2\xdf,\xc9Z\xfe:\xc9\x1b\xe0\xc1;\xbbA5R\x8bW\xa72\xdf\xd2\xf2\v_\xf6W\x8fK\x80]\x9e+\x1b;\xf4\x1f5ɦC\xdfp\xdb\xda\xf5h_M\x9f\x93P\x9b\xa1\x0e\xf4\xe2\xb7\xd2\xecug\xc3՝`\xa6؉\x9e\xb8\xd8_\xf6\x80\xd9X\x1a9\xed,\xb1\xfc#\xcf>\xf9D\x17Ǒ\x83u\xa8\xdc8M\x89P\x04\xb0m\xf7\x93v>\x8a\xfc\x0e\xe8\xc6\xf1^\xfb\xad|Q\xc5q'e\xe3,\xc18\xe1t\x83V3\x81'\xf2\xe7Da\f\xc3\xebȠ\x06\tr\x16\xef\xf4\xbcx\xb9\x88#\xb6\x13\xf1\xfcm\x89vh0\xf5\xc6\\\x11:\xff\xf9;\x9a\xb2\xfb\xf6\x1cF\x12\xa0\xf1\xb3\"~\U00074962\xefc\x86\x819\x93ͫs\x98wl\x82\x01\xb6\x9d\xae\x1b\x8b\x97\x1b\x1e\"\xcde\xfdȢMQ\x16\x1bo\xe4\xb4+X\xcbM\xc7\xc2\xcaF\xfd\xfe\xeb\xfc\x8fX\x1c3z>\b\x834\xefϾ\x9e:aC\xce\xe3\x8fK\vI|Z\x85\xba\x15r,Y\xbc\r\xa0\xb5h\x97T^\xcc0\xf3\xa3\x94h\x98hq\xa2\xdd\x02\x03\xf7;\xb9\xf7\xef\xf8J\xbbf\xf9\x16ۦs\xbad\xfdw\x03qqM\x93\x02*\x00\x008\x80^׃X\xc7\xfeeY[\x19߫l\xc782am\xaf\xdfI\x82j1\xa3_s\xc4ʈT\xd2j\xe3\x19mҽ\xb1\xe3\xbb\n߫C\xe7\xbb@@\xaeY\r)\xf7\x11\a\xd9Аu\xb2\x05\xa1\xc33\tk\x9f/\xc65\x93\xbe\x1b\xb9\xdbN\xe5Dxr\x89fp\x02*\xbae\xb6H\x99\x1dJ5\xb7\xf7Iك\\\b_\xf2\xc0õ\xfeq\x9a* SGp\xe9\xfa\x18$+\x85<\x88\xe7\x06\xe9L\t/\x19\t\x86\xd8dz\x97\xf2\vɶĈL~\xf7\x83܈\u007f\xa6\xba\x93\x1d\xe1\xc2e\xe9'6\r[\xe5\xfa\xe9Xpkac\xa3\xd1\x19͔>P\xe1_2\x0f\xe8C'\xd2J\xc3\x04!\x9el\xf8\x0eB\xf07\tB\x85\xe4\xc2d\xf9p\xe1\xf3\xe0{\x9cb%\xa1q\t\xf0\x10[\x052\xf7\x02\xa157\xcfxu\x18\xd0\x01d\x8f\xadB\xc6\x11\x1c:\x1a\x1c\xc0\xb8@\x1cy2\xce\xffp\xda8t*>\xe3\x8f\x0e\x80\xab3\x13\xc6\x13\x81J:\xbe\xf8\xbf\x84\xedƬn\x15\x93\xc0\xcbN\x02\x8a\xfeS\x18\xf5`{\xdf\xe7\x02]%\xedt\x94}\xb3^\n\xfc$\"а\x97\x1c\xa8\x84\x99 \x9b\xc5p\x81\xbc\xa26V\xa0G\xe8\x01(A\xb9\x9c\x8f)\x10\xd9x\xd0\xfa\x03,muL\x87\xd4\r\x80\xd6\x1c\x85\xa5\xe5\x16M\x94(4\x9f0ÜV\xfa\xcd3\xb2p\xab\x9f\x1ex\xc3h)\xe7\xb7>\xb3\xa9Ҩ@\x10ք\xa6/\x81,\x00O\xd0/\xfdGxvօ\xd0J-\x17\x03^\xab|%\x03X\x04\xab\x0e\x11\xaaO\x8d%\xebF\u007fq3s\xd3\b4X\x01\xfc\xc06y6\x13>\x97\xf6\x03\x86\x9cQa|Sn\xdfj\"(\xed\x01\xcf/^\x81ghWP\xf5̷\xa4\x88!]z2\x14\x9d5bޙY\x17&\x05\xe4=\x91.Mw\xdaH\xd8\xe0$S\x1a\x94\x1ag\x03+\xf5\x0e߾\x15\x83hW\xf1\xd0\xc6~GY\ra\x8eLѓ\xb1!&A\xde)\x05\x81\xde;PK1\x85\t\x95\tys\xcb/A-\x93&q\x8bfT^rj\xdeK\x13\xf8S\xfb\xf9\xc6U\x8b!\xc5P\xe9\x12\xd3\xf5\x841\x1a)X\xc6\x14f\xd7}b\xe0\x13e\xe7\xe4Π\xb0P\xba\xd1\x156\x15\xd6\xed=j\fu۹\x8a\xdekl\x03\x87\x87٥)\x99\xfb\x8frlo\x91\xdf\xe0;\xfa\v]\xb0\xfe\x9b\x91\xf8F|x_M`\xfd\xa1\x93\xe2\xa5\x1aۚ\xe9y\xd1j\xf0\xe3&\xc2\x05@i\x86\x1e\x92\x89\xff\x04=\x03\xf2\x18\xdc_\x8c\xb8\xed\xd5n\xe69/\xcc'a\xe1m8\x820U\x01\xec\x81\xc2=tFg֑\xee\xaay\xcb\xcaԞT\xf3\x1b\x11K\xde\xee\xc9\x036%\x98\n\x9f\xea\x15\x94\xec|\x85\xf3Kd\xed\xb9\xfb\xbcr₺\x9d\xd9\xd3\xf3^\x82\xa5E\xb3D\x8a\xa8\x9fx\xf3\x06\xc5\x0fa\x99c\xff\x9c\x1a\f\x12Em\xba\xe1\b\\\xb9\xc7ņ\x88D}Y\x84\x06Q\xb7:\b\x85c\x17#\x91\x1c\x84W\xc8\ueee5ihz\xadj\x8b\x12\x80\x8c\xc33\x99\xd3(\xc6WA\x99\n\xe3\x99\xe2\vW4\rκ\xc7_\x95Vc\u007f\xc7\xdcz\xd0\xc2\xd8\x12?\xee\x0f\n!2\xe6\x94\fPU\xcc\x18\xcfr\x9f\xfe\x02b˕\x1e\x05ɥ\xdbY\xfek\x11\x94\xe7\xe3`A\x90k\xb6c\xe3\a\xcd#dP\xbe\xc2\t\x9cD}\x1c\xe2\x92\x1e\xa4D\x95\xc0\xd4j\x06\xaa۲Mw\x8c\xb2\xe2\xd6\x00\xb9݆\r\x1ehsY=z\x9bs\x96\xa9\xe3QdF|4\xbf\xbb~\xd8\xf6\xa1\xca]r\xb4\x18\vX/\xfd\x97\xa7l7\xbe\xa0/\x1c\xb7\x18\xa8\xf7\xb9į,\x12\x83{lL;7\v\xdf ts\xf3\xaa\xfd\x85\xefqenڒmF\x81\xc3xԭ\x04QT8\x9aT\xd2\xd9\xc8\t\xa8\x03\xef\xdc1\x12)7ߍ\xf5\x96Z|\x8aI\xc4\xd5Ko*\xe0\xf6\xba/\x84\xf0\x90J2-\xc8:\n\xf0ߟ+=\xd1IF\xf8\xcaQ\xa8n\xe4\xf1F/\x97cD2\x87\x81(^\x14\xb4\x97\x1d@\xf4{CX\x10\x9d\x16\x80\r\xb6\xe6i\xbfM\x96\t\xf1\x8c\x06\x1f\xfb09\xcdF\xe3.~D:\xd7;E\x8a\xf1cJ\xfd\xfb|\xbd\x04`\x04כ\xa1:\xb4\xf5\r%\xfc\xf6\xd9\xfd\x1e\x17\xe2\xaf\r?:\xacs\r\f\xdb\xd2\xc2;\x9fK\rAi\xbf7xR?\x0f\x02=\x00Ff\\\x0ew\x93G\xd2_}\xfb\xa2\xa28oIBT5Ԩ8\xf6\xea#\xea+ݢx\xf9J\xeb}Q\xf1!\xce<\x97\xb8a\xafL\x02Y\xf7\xc0*\x81\x95(\x19\x04\xf43\xa1\xf3\x8c\xc4\x16\xad|\xa3\xf4P\a\xda\xe4V\xe3`8\xe8i%\xa8NY\"\x01 \x82\xa9\xce\xe7\xcf\xf4,~~O?\b\xffT\xd8W\xf6\xf8$\x90\x99\b\xab\xb0\xc3 \x8a]\xcej,\xc07Ϋ\x89G>\xb8\xa4\xa3\x95[\xb3\r\xcd%`\xa7\xed\xcd@\x15\xe7\bS\b\xa9\xe8pb8\x82\x87x\xd9F\x9ae\x93\xc4ɸ\x8f\xf6\xf5\xf3U\xbbM\x1d\x98\x1d\x9c\x17\xf6\x81\xf2\x9a\x1b\x8f\xac\x89\x93M\xd8\xf8\xa0\xac\x13\xc3Ʌꂊ\x18\xfb\xe9\x01Z\xb3\x8d\xf5P\x1f\xe1\xa2\x01X8\x1f%C\x0e\xa0m\xffۺ\xa9!\xa4\xb4\xbc\xe4\x01\x98E\xa3\x16n\t\xech\xb5g\xc2S\xf3?[\b\x04\x1c\xfa\xac\xe5.%\xfe\x1ckȒ\x99\xcb\u008b\xa1J\xd9\xfd\xdf\xc0\x91њ\x16\xc5a\x9e\x022\x1a\xa5\xec,\xf3\xe2\x064\r\x14rSc\xfe\xb5\xc0\xec\xa5N\xa9x\xbc&\fљX\x01g\xf4zt\xf8\xd7(H}i=\xf9{\v93cxh\n\xf6\x89\xa1hBv\xb9z\x92\xf8\x82\"\xa2\x16H~\x86m\x94\xca93\xe6\xed\x06\x1f\x0e:\f\xa7\xeb\xdf>*@\x98\xa3ҩ\u007f\x89B\xd0\xcd\xd8Kj\x01\xc8\x16\x06vQC5տ\x9dL+\x93\xdf\x15`\x14JXW\xa8}\xaf\xd6\tI\xbbM\xdeB\xe7\x8a\xec@@\xd8\u007f\x00\xae\xb5l?\xce\xd6_\x81m.\xe9\x9c\x15\x04\x93\xbdf\xce\xf1\n\xdfJ ?x~\v\xb0)\xdd_W\xab\xd8\"\xa8\r\x0fN\xb0\x05\xd9\xd1;\x9c\xd73Iou\xe9\x1d_\x85\x8c\xde\t$\x19[\xe6\x1c\x920|h\xe3y\xe6\xdf\x03\xae^C\x15I\x9e\xad\xb91\xe7,\xa4\x9cY\xcf\x00w\xb2\xe2C1\x8a\x85\x9f\xc7i\b\xc1J\xf1ɪ)\xf1\xb4F\x9b\x8cXk\"O\x01\x95\x90\x92\xb7\xcdK\xea\xaf\x1c\x9c\xffZ\xf4\xc2\xe8\x00\x9e\xe1ڷ\xfc;\\GU\x06\xf9\u007fEP\xab\xa2B)\xb2\x1bh7V\x8b\xa9\x95\\\x99\xa1a\n2\x10\x01Zy\xf5\x9b\xe0\x95\x88j\xac`@\x91jx]_T-&\x10\x94\x15\x9d\xf2\xcaT5̽\xadg\xbb\x96\xcfFY\xff\u05ff\xb1\xafI\xf9\x87v\x95\xdbW\x81\xbca\x03\xdfz\xd8\x02*\xcb[Z\x1c$c\xf3{y\"w5\x9a3M\x812\xe5R\xfe\x86\xca\xe3,\x82\x13\xffs\xc0Gt\xedk!\xd1\xeaH\x89r\xdd]2\fh\xa1\xc7\xf3\xd7\xdb/\x91Agy\xb7Yү\xe9\xe5M\xd9B\xc0\x04j#\xa0k8/4\xf5\x8a\xd1\xdc\x19\xe3q\x9f\xf4\\4\x05\u007f\xa3~&\x8a,\xfc\xcb\xc8\xf4\xb6N\x13\xb20n9J\xba\x0f\xb0~\xf0x'\xe6\xf9\xd9ދu=\xb1\xa3\x9e\x03(´<\xb8Mn)\x16\xf7J_v\xc5\xec\xbc\xf3\x1d,?\x8c\xfaC\x00\xbcg\xa4'1\xed\xb4G\xdcI\tg\x1b\xd1\xea\x1d\f\xba\xc5^ +'0u/\x1c\x8b.\xbd\x9e\x00\xbd\xcbO`\\]G\x06_\xba)в\x86\x1aIͿ\x8eu\xe6\x14\xc96\xfa\xe9W&^\xfd\r\bJ\x96\xcf\xf1G\xf4Xj2l\xa1\"\x87ꇘD\x87\xb4\\\a\x02lHd\xba\xcaα\xe4\x9fvqR\x14\xe1\xed^\x85\xc2\x1e`d\xf9.\xb4\x1cΛ\x81W\xb3\xce[ \xb9F)\xf4\xf0\xf6\xee}-\x97y]kUlT\x92\xed/\xbe\x86)\xb4[\xca\xc0\xbdN\x9eT\xd4\xdc#\xefY\xdb>j\xac\x00\x94j\x18Ou\xd5\xe4\x0e\xc4\xf0\x92\x0f\xefȢ$k\x17NU\xd2Q\xbe\xe0X\x9dt\xc0#_\x8aHh\xe0s\xac\xf5ɽEh\x14\x0f\x87\x86\xe8\xfe)\xfb\xe8\x8b\xe4\"\x90\xfbl\xecH\xa8+\xb8͑E\xeaރlo\x99\x8a\x85\xc6@|\xe7\x1cÝ\xe2\xc2:\xb8\xbb\"S^\x87\xd9')\xbfp}\x9c\x9fi\xd4坜9\aP\xc9T\x893\xec\x9eY\xee\xb4z`\x05\x00\xc4\xd1Tpv\xb3\f\x1e\xa4_\x1b\xccV\a\xdfZ\x0e\x8c\xc5\xfbf\xa6H\xeb\b\xe7\xc8$\xf4\xeb\xcdV\xbbGA\xcaE\x93\x87\xe7\x06\x02\xc53\x82\xbf\u007f\x84\xe4\x14j\x9a\xf0\xa5\xe7uox\xe4P>\xf1\xeb\x8dc\x99w\xc3\xf2\x9eAeDEy_5\x84^Y\xa9A\xacX\xe7Ԫ\xd2\x12l\xf9\xfb\xfde3gWטsc\x9c\x06:\x1d2\r\xd7WO\x06\xceT\x9b\x8d,]\x84\x99\x82\x06\x9a\xff\xfe\xfd\xf31S\t\xd2\xcd)\bv\xf5H\x94\xe4\x8b:\xba\xea7\xc0\xb8\xa7\xa0\xe3\x84\xc8\xd3V\x8b\x03\xe5\xfa鱛i\x10\n\x15&\x98\xe7:\fA\x95k\x84@&4h\x97\xf4\xd7A\xf0\xf3\xb5\x12b\xd0z\x98\xf9~hX'\xf2\xf9a\xc4\x1fr\xc3\xce\fD\xe5E\x9c\xb1\xdd\xdc\xf4a\x99d\x9b\xbbȑmJ'q$L-\n1\x03\xf7\x19\x80I\xf6\xc0\x94Ж窫U#\xc5\xf1D\x11\x994\xe5\x13\xae\xb2\x0e\xb31\xff\r\x80?{s\x83q\t1\xf4\xf2?\xe1\xf4~\xce\xdf\xd5\xfc\xb70\xdcA\x82I.\t4h\xd6wzb\xffO\x19L\xc2\x17\xdf\xe9\xb4\xc4\u07bc\xed\xacOF\x1d\xbbv\x85\x9c\f\x06fI\x87\to\xd6P\xfbG\x05\x1a\x82E\xa1v\t+\b\xf8\xc4\xc2\xe8\xeb\xd6R\x825\xe1\x85%{\xba$\x8c\x13\x8cOA\xee\x95v\x18\x15\xbbPc5\x8aA͙L\x9f\xa0Bč\x8fG\xba\xd1s[\\k\xa2\x02\t\x1a\x00O|\xce\xcc\x1d\xf3\x9b\xdaB\xac\xfc\xc6#R\x90e\x8b\xe8_\x80gtV=+Bn\xbfiԱ\x12\xb9\x8b\x92\xf7\b\xf3\xcf \x0e\x99:\x06L\xf0r\xe2\xa3ε\x14\xcex\x02\xb8\xd5n\"f\xb1z\xd9\xf91\xe2\"\xb7\xc4\xd6\x04g\x1dy\fɥ\x84\xed\xe6^lg\x97X9?\xf5ZD]c\x89\x17\xb6\xfa\xcc?\x83 \x04\xf6\xa2@͙\xe4\x06\xbd\x13\xb2\x84g\xcc\xf9\xa0\x90\xed-\xc3ִx\"\x83ȒD\xc0\x1e\xe1\x8b~)\x1c\t\xfbbE\x80K\"\xd1cӂ\xacB,\x11+\xad\xf0j\xdb\x05&I\x18\xefC\xd2+\xa1\xe8L\xd0\xdf0z\xbbkAt\xf2\xe6\xa11\xc7W\xa0\xa8u9\xdb\xf99\xc7\x13ǦT\x13\xb1\xc0\x1d\n҉\xd4\x13\xd6\xca\xf55\x8e\xb0^\xfdu\xe4\xe2\x8e`\x86d\xfa+\x00\\\x85?h\xcb\xc2E\xc3=\xbe\x8a\xf9\xb2tg~\xfd\xfc:H\x81<\x17\xa8\xe2\x8d\xfa/ʽ\x8fhY\xe8U\x1b\xb3\xa7\xd5~\xafa0͘\xac\xef'S\xa2(\xd5[\xd4\xf2\x80\a\x8a\xd7\xf9\xb3\xa8\xe4ˆdpɪ\xc2\x17\xd3\x1d\xaa\x94/\x16/;\x84!\x9e٫\xc8\x02\x89n\xac\xce`\xeac\xf1\xf3S\xd9\xcdsǔ\x99\xe3͍(*-O\xc0Q\xe7\xe9^ɛ\xfc\x12\xfd\x05\xe5\xf7\x83\x1c\x04\x18\xafuF\x81\xc0t\x12';\xd4*]䕺L\x8cG\x17\u007f\x89\xae\x924Fl\x05\x06]b)+\xfb\x97}X\xab\xa2Q)C\x04M\n\x8es(\xa4\x1e\x0f\x93+\xef\xdbİ1!D\x97\x0e\x87c\a\xac\n\x82슣\xba\xe2\x1e\xef\xb6\xd5N\x8d\xd5c\xdeT\xa9\xe2\x88\xc8bnW`\b\xa1\x15L\x13q\x8f\t\xff_\xf8y\f\x97\xe5\x9e\xeeB\xa7g\x10\xcc\xe3\x1c\xd90\xc7+\xd8\xc7\x15\xf0g\x87\xff\xe8<\x8f\xa3\x98\xb6@\a\xd7\xc6\x19=\x10e\x03\x83O\n\x1c\x87Q'(\x0e\xda\xe1\x1c\xbb\x90t\xc3\xb5\xa0\xdc\x0f` O^8\xa0%\x9f봷\xb2\xa6\x12\xe4\xd9\a\x04\xe8\xc3\xd6ec\xaa\xf4\x87\x85]>(풏\x14\xb3k\x83\xaav)\x95G\x83\xea\x01\r\x14\xdfߒ\v\x00r.\xbb'\xfb\xde>Ӆ\x92=d\x9a\t\xf9\xe5\x8e\xc6\xe7\xa7=\xb1\x82\x81\x96\x18g\xc7i\xf4\xdf\xde3E8m^\x11\xe4\xcdQ\xb0\xb6\xa5:\xe1\xfcy\x89\xf0J\xb1\x83\xd7֊\xc3\xef\xc2g\x90\f6\x01\xabb\xbf}e\x01ΤZ\xc0\x96s\a~he@S\xf6u\xb5\xa0j\xad\a\t'\xc9\xd1\r\fq>?\xe6\xe9Dw~X\xa1U\xa9\u007fE\x00s\xaaxo1q5\x01'\xb3\xe9K͍\tX\x9e\xb6\x06\xbd\xf5\x81bT\x81\xa4,\b\xd7\u0089\xc0\xacC\x96\xfd\xbe\x94N\xa2\xfe\x94\xe3\xd6g}\x9c܉\u06dd\xff\x10\xcf\xceú\xe6\x84r|\x88\xb9\x89\x80EC\xcd2QD\xea\u007f\xa4\xcf;\xb6\x0f\x89\x92\xfe\xe7\xd8Ln\xbfqr)\xaa\xdeh\xb7_\".]b\xfe\xbf\u0082\x9bi\x98\xd4\x03v\x90\xe0\xa61\x10Zb}U\xc7\x18\xd6H\xf8\xe0\xc8\x18'n\x89\xed\x84.\x89\xfaMߍ\x8e\x87\xa8\xd9r\x99E\xa7\x939u\x85TT\xcd-\xad\x132\xb7\xdc;\x8b\xfc\xba#\x8b\xb0o\xac3\x8f:W\x12\xea\xcc<\xaa\x9a+\xd1 \xc0\x95#\x9e~\\\xff\xfcgg\xb0\xd4ݴ\xa4\xf1\xbf5I褻w\xb7\x90:v\x12k6\x8dZU\xfa\xc8\xdfċ>\xa9\xe3:S\x9c^\xf0\x13\x97\xf7\xc6\xf7b\x88\x9aH\xd5\xfb\xc05ޡ\x94\x81\x0e\x9d\x9d\xe0y\xf46\xa9\xc6|\xf0\x05\xc4\xe4)b\xe8\xad\x14\x88\xd4!%G\x9c\x01\x17rd\xc1\xe2\xf6\xdcX\x87\xaa݅\x04\x1e\xdc\xe6\v\xbcR\xa1uڐǵ\xf7c\xfb\xf5\f\x92|\x99l\xb8\xefI綏\x94K\xd1@\xe5\x99\xeap\x8cmŹX\xa4\x9cI\x03\xf8\x98\xed%\xccJ\x13\x8e\xec\xb5\x0f\n\x86\xd0\xc8x*\xf2\xeb\xfa\x93\xf5\x91I\x05\x1c\x1a;\xc2\xed\xfc\xb82QǤ\x80\xa4lv\xdc\x15u1F3\xa4x\xf3.K\x95-\xe58\xb2\nk\xa05\xb7,,\xc9$\x8bc\x13\x9d\x89\x10\x15\xd4\xc1\x1e\xbd\x96B\x96\xe9\xa4!\xf6\xea[\xd5\xf7\x03N\xe3\x98\xeb \x13\x83\xde0\xc4H\xf0\xdaP\xd3C\xa2\xf0\xec\xdf\xf4\xf4\xbdTy\x95\xe4?JT\xd2B\xf7\xca\x00l$\x01Y\vt%=Q>@\xf4m\x9e\xc5J\xfd\xaa*!\xe12\x8c\x9a\xf9\x81\x8a\x1fN\x18s\xe9~\xec\xeeU\xee\xad\xc6\xf1\xa3\xecV\n\x1f\n---------- end of script output" time="2021-10-14T07:57:32Z" level=info msg="statescript: ArtifactInstall_Enter_66 requested a retry" time="2021-10-14T07:57:35Z" level=info msg="statescript: ArtifactInstall_Enter_66 requested a retry" time="2021-10-14T07:57:37Z" level=error msg="statescript: Ignoring error executing 'ArtifactInstall_Enter_66': 21: exit status 21" time="2021-10-14T07:57:38Z" level=info msg="statescript: ArtifactInstall_Enter_67 requested a retry" time="2021-10-14T07:57:40Z" level=error msg="statescript: Got an error when trying to execute [ArtifactInstall:Enter] script, but ignoreError is set to true, so continuing. Full error message: statescript: The version read from the version file in the statescript directory does not match the versions supported by the client, please make sure the file is present and formatted correctly (supported: [-1]; actual: 2)." --- PASS: TestExecutor (10.41s) === RUN TestVersion --- PASS: TestVersion (0.01s) === RUN TestReportScriptStatus time="2021-10-14T07:57:41Z" level=error msg="Failed to Load the Server certificate. Err SSL errors: " time="2021-10-14T07:57:41Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: " time="2021-10-14T07:57:41Z" level=warning msg="certificate verification skipped.." --- PASS: TestReportScriptStatus (0.76s) === RUN TestDefaultConfiguration time="2021-10-14T07:57:41Z" level=warning msg="No timeout interval set for the retry-scripts. Falling back to default: 1m0s" time="2021-10-14T07:57:41Z" level=warning msg="No total time set for the retry-scripts' timeslot. Falling back to default: 30m0s" --- PASS: TestDefaultConfiguration (0.00s) === RUN TestReadVersion statescript_test.go:475: correct version file - no newline statescript_test.go:475: correct version file - newline statescript_test.go:475: incorrect version file - unwanted 'a' in file --- PASS: TestReadVersion (0.00s) PASS ok github.com/mendersoftware/mender/statescript 11.370s === RUN TestDBStore time="2021-10-14T07:57:41Z" level=error msg="Failed to open DB environment: mdb_env_open: no such file or directory" --- PASS: TestDBStore (0.02s) === RUN TestDirStore --- PASS: TestDirStore (0.00s) === RUN TestKeystore time="2021-10-14T07:57:41Z" level=error msg="Failed to load key: empty pem block" --- PASS: TestKeystore (3.58s) === RUN TestSignED25519 --- PASS: TestSignED25519 (0.00s) === RUN TestKeystoreLoadPem --- PASS: TestKeystoreLoadPem (0.00s) === RUN TestMemStore --- PASS: TestMemStore (0.00s) PASS ok github.com/mendersoftware/mender/store 3.700s === RUN TestGetMountInfoFromDeviceID === RUN TestGetMountInfoFromDeviceID/Success === RUN TestGetMountInfoFromDeviceID/Fail_-_open_returns_error === RUN TestGetMountInfoFromDeviceID/Fail_-_malformed_mount_file === RUN TestGetMountInfoFromDeviceID/Fail_-_device_not_mounted --- PASS: TestGetMountInfoFromDeviceID (0.00s) --- PASS: TestGetMountInfoFromDeviceID/Success (0.00s) --- PASS: TestGetMountInfoFromDeviceID/Fail_-_open_returns_error (0.00s) --- PASS: TestGetMountInfoFromDeviceID/Fail_-_malformed_mount_file (0.00s) --- PASS: TestGetMountInfoFromDeviceID/Fail_-_device_not_mounted (0.00s) === RUN TestSetUbiUpdateVolume --- PASS: TestSetUbiUpdateVolume (0.00s) === RUN TestFreezeFs --- PASS: TestFreezeFs (0.00s) PASS ok github.com/mendersoftware/mender/system 0.112s ? github.com/mendersoftware/mender/system/testing [no test files] ? github.com/mendersoftware/mender/tests [no test files] === RUN TestKeyValParser kvparser_test.go:72: testing case: 0 kvparser_test.go:72: testing case: 1 kvparser_test.go:72: testing case: 2 --- PASS: TestKeyValParser (0.00s) === RUN TestLimitedWriteCloser --- PASS: TestLimitedWriteCloser (0.00s) === RUN TestProgress --- PASS: TestProgress (2.80s) PASS ok github.com/mendersoftware/mender/utils 2.978s FAIL dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 github.com/mendersoftware/mender github.com/mendersoftware/mender/app github.com/mendersoftware/mender/cli github.com/mendersoftware/mender/client github.com/mendersoftware/mender/client/test github.com/mendersoftware/mender/conf github.com/mendersoftware/mender/datastore github.com/mendersoftware/mender/device github.com/mendersoftware/mender/installer github.com/mendersoftware/mender/inventory github.com/mendersoftware/mender/log/syslog github.com/mendersoftware/mender/statescript github.com/mendersoftware/mender/store github.com/mendersoftware/mender/system github.com/mendersoftware/mender/system/testing github.com/mendersoftware/mender/tests github.com/mendersoftware/mender/utils returned exit code 1 make[1]: Leaving directory '/build/mender-client-SEfUnR/mender-client-2.4.1' create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary-arch dh binary-arch --buildsystem=golang --with=golang dh_testroot -a -O--buildsystem=golang dh_prep -a -O--buildsystem=golang dh_installdirs -a -O--buildsystem=golang debian/rules override_dh_auto_install make[1]: Entering directory '/build/mender-client-SEfUnR/mender-client-2.4.1' dh_auto_install -- --no-source cd obj-x86_64-linux-gnu && mkdir -p /build/mender-client-SEfUnR/mender-client-2.4.1/debian/mender-client/usr cd obj-x86_64-linux-gnu && cp -r bin /build/mender-client-SEfUnR/mender-client-2.4.1/debian/mender-client/usr make[1]: Leaving directory '/build/mender-client-SEfUnR/mender-client-2.4.1' dh_installdocs -a -O--buildsystem=golang dh_installchangelogs -a -O--buildsystem=golang dh_installexamples -a -O--buildsystem=golang dh_installinit -a -O--buildsystem=golang dh_installsystemd -a -O--buildsystem=golang dh_installsystemduser -a -O--buildsystem=golang dh_perl -a -O--buildsystem=golang dh_link -a -O--buildsystem=golang dh_strip_nondeterminism -a -O--buildsystem=golang dh_compress -a -O--buildsystem=golang dh_fixperms -a -O--buildsystem=golang dh_missing -a -O--buildsystem=golang dh_dwz -a -O--buildsystem=golang dwz: debian/mender-client/usr/bin/mender: .debug_info section not present dh_strip -a -O--buildsystem=golang dh_makeshlibs -a -O--buildsystem=golang dh_shlibdeps -a -O--buildsystem=golang dh_installdeb -a -O--buildsystem=golang dh_golang -a -O--buildsystem=golang dh_gencontrol -a -O--buildsystem=golang dh_md5sums -a -O--buildsystem=golang dh_builddeb -a -O--buildsystem=golang dpkg-deb: building package 'mender-client-dbgsym' in '../mender-client-dbgsym_2.4.1-2+b3_amd64.deb'. dpkg-deb: building package 'mender-client' in '../mender-client_2.4.1-2+b3_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../mender-client_2.4.1-2+b3_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/mender-client-SEfUnR /tmp/mender-client-2.4.1-2+b3kgk46am2 I: cleaning package lists and apt cache... W: deleting files in /tmp: TestListSystemCertsFound134069918 W: deleting files in /tmp: maybeResolveLink410746412 W: deleting files in /tmp: mendertmp116578014 W: deleting files in /tmp: invalidcert-test229891640 I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.EIq2fJiqMO... I: success in 1015.9151 seconds md5: mender-client-dbgsym_2.4.1-2+b3_amd64.deb: OK md5: mender-client_2.4.1-2+b3_amd64.deb: OK sha1: mender-client-dbgsym_2.4.1-2+b3_amd64.deb: OK sha1: mender-client_2.4.1-2+b3_amd64.deb: OK sha256: mender-client-dbgsym_2.4.1-2+b3_amd64.deb: OK sha256: mender-client_2.4.1-2+b3_amd64.deb: OK Checksums: OK