Diff of the two buildlogs: -- --- b1/build.log 2024-01-08 12:05:24.802112663 +0000 +++ b2/build.log 2024-01-08 12:32:12.768455481 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Jan 7 23:33:38 -12 2024 -I: pbuilder-time-stamp: 1704713618 +I: Current time: Tue Jan 9 02:05:56 +14 2024 +I: pbuilder-time-stamp: 1704715556 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: copying [./mender-client_2.4.1-2.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.1xe8I2Dc/trustedkeys.kbx': General error +gpgv: keyblock resource '/tmp/dpkg-verify-sig.0itpNMEB/trustedkeys.kbx': General error gpgv: Signature made Tue Apr 13 19:37:53 2021 gpgv: using RSA key FAE1E5B64652BE798E278CC20BC47DC64D135306 gpgv: issuer "andreas@fatal.se" @@ -34,49 +34,80 @@ dpkg-source: info: applying 0005-Revert-import-github.com-urfave-cli-v2-to-github.com.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/11483/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/15486/tmp/hooks/D01_modify_environment starting +debug: Running on virt64c. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jan 8 12:06 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/15486/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/15486/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=3 ' - DISTRIBUTION='bullseye' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=4 ' + DIRSTACK=() + DISTRIBUTION=bullseye + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='d7e3e834603b4096b00eab25aea436f5' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='11483' - PS1='# ' - PS2='> ' + INVOCATION_ID=c8dc679c00fb47ea945c88c874cccc08 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=15486 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.BmOq1qT3/pbuilderrc_In6e --distribution bullseye --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.BmOq1qT3/b1 --logfile b1/build.log mender-client_2.4.1-2.dsc' - SUDO_GID='116' - SUDO_UID='112' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.BmOq1qT3/pbuilderrc_VwL6 --distribution bullseye --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.BmOq1qT3/b2 --logfile b2/build.log mender-client_2.4.1-2.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux cbxi4b 6.1.0-17-armmp #1 SMP Debian 6.1.69-1 (2023-12-30) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-17-arm64 #1 SMP Debian 6.1.69-1 (2023-12-30) aarch64 GNU/Linux I: ls -l /bin total 3580 -rwxr-xr-x 1 root root 816764 Mar 27 2022 bash @@ -136,7 +167,7 @@ -rwxr-xr-x 1 root root 30732 Sep 22 2020 rmdir -rwxr-xr-x 1 root root 14144 Sep 27 2020 run-parts -rwxr-xr-x 1 root root 76012 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jan 7 09:28 sh -> dash + lrwxrwxrwx 1 root root 9 Jan 8 12:06 sh -> /bin/bash -rwxr-xr-x 1 root root 22532 Sep 22 2020 sleep -rwxr-xr-x 1 root root 55360 Sep 22 2020 stty -rwsr-xr-x 1 root root 46704 Jan 20 2022 su @@ -162,7 +193,7 @@ -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew -I: user script /srv/workspace/pbuilder/11483/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/15486/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -296,7 +327,7 @@ Get: 66 http://deb.debian.org/debian bullseye/main armhf golang-golang-x-crypto-dev all 1:0.0~git20201221.eec23a3-1 [1538 kB] Get: 67 http://deb.debian.org/debian bullseye/main armhf libglib2.0-0 armhf 2.66.8-1 [1206 kB] Get: 68 http://deb.debian.org/debian bullseye/main armhf pkg-config armhf 0.29.2-1 [62.4 kB] -Fetched 100 MB in 17s (5949 kB/s) +Fetched 100 MB in 9s (10.7 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 17486 files and directories currently installed.) @@ -597,7 +628,11 @@ fakeroot is already the newest version (1.25.3-1.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/mender-client-2.4.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../mender-client_2.4.1-2_source.changes +I: user script /srv/workspace/pbuilder/15486/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bullseye +I: user script /srv/workspace/pbuilder/15486/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/mender-client-2.4.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../mender-client_2.4.1-2_source.changes dpkg-buildpackage: info: source package mender-client dpkg-buildpackage: info: source version 2.4.1-2 dpkg-buildpackage: info: source distribution unstable @@ -618,30 +653,30 @@ make[1]: Entering directory '/build/reproducible-path/mender-client-2.4.1' dh_auto_build -O--buildsystem=golang -- \ -ldflags "-X github.com/mendersoftware/mender/conf.Version=2.4.1-2" - cd obj-arm-linux-gnueabihf && go install -trimpath -v -p 3 -ldflags "-X github.com/mendersoftware/mender/conf.Version=2.4.1-2" github.com/mendersoftware/mender github.com/mendersoftware/mender/app github.com/mendersoftware/mender/cli github.com/mendersoftware/mender/client github.com/mendersoftware/mender/client/test github.com/mendersoftware/mender/conf github.com/mendersoftware/mender/datastore github.com/mendersoftware/mender/device github.com/mendersoftware/mender/installer github.com/mendersoftware/mender/inventory github.com/mendersoftware/mender/log/syslog github.com/mendersoftware/mender/statescript github.com/mendersoftware/mender/store github.com/mendersoftware/mender/system github.com/mendersoftware/mender/system/testing github.com/mendersoftware/mender/tests github.com/mendersoftware/mender/utils -internal/cpu + cd obj-arm-linux-gnueabihf && go install -trimpath -v -p 4 -ldflags "-X github.com/mendersoftware/mender/conf.Version=2.4.1-2" github.com/mendersoftware/mender github.com/mendersoftware/mender/app github.com/mendersoftware/mender/cli github.com/mendersoftware/mender/client github.com/mendersoftware/mender/client/test github.com/mendersoftware/mender/conf github.com/mendersoftware/mender/datastore github.com/mendersoftware/mender/device github.com/mendersoftware/mender/installer github.com/mendersoftware/mender/inventory github.com/mendersoftware/mender/log/syslog github.com/mendersoftware/mender/statescript github.com/mendersoftware/mender/store github.com/mendersoftware/mender/system github.com/mendersoftware/mender/system/testing github.com/mendersoftware/mender/tests github.com/mendersoftware/mender/utils internal/unsafeheader runtime/internal/sys internal/race -runtime/internal/math +internal/cpu sync/atomic -internal/bytealg unicode +runtime/internal/math +internal/bytealg runtime/internal/atomic unicode/utf8 math/bits -runtime -math internal/testlog encoding +math unicode/utf16 +runtime crypto/internal/subtle crypto/subtle vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace +runtime/cgo github.com/bmatsuo/lmdb-go/internal/lmdbarch container/list -runtime/cgo vendor/golang.org/x/crypto/internal/subtle golang.org/x/sys/internal/unsafeheader github.com/shurcooL/sanitized_anchor_name @@ -652,106 +687,139 @@ errors sort io -strconv internal/oserror +strconv syscall +vendor/golang.org/x/net/dns/dnsmessage bytes strings reflect -bufio hash hash/crc32 +bufio internal/syscall/unix time internal/syscall/execenv crypto crypto/internal/randutil -vendor/golang.org/x/net/dns/dnsmessage github.com/mendersoftware/openssl/utils +crypto/hmac +crypto/rc4 +vendor/golang.org/x/text/transform +vendor/golang.org/x/crypto/hkdf +path +regexp/syntax +golang.org/x/text/transform +github.com/remyoudompheng/go-liblzma internal/poll +os context internal/fmtsort encoding/binary -crypto/hmac -os -crypto/rc4 -vendor/golang.org/x/crypto/hkdf -vendor/golang.org/x/text/transform +regexp +fmt encoding/base64 crypto/cipher crypto/sha512 crypto/aes crypto/des -fmt crypto/ed25519/internal/edwards25519 crypto/md5 -crypto/sha1 -crypto/sha256 -encoding/pem -path/filepath compress/flate encoding/json -math/big compress/gzip +math/big +crypto/sha1 +crypto/sha256 encoding/hex -io/ioutil +encoding/pem +path/filepath net +io/ioutil net/url log github.com/bmatsuo/lmdb-go/lmdb +vendor/golang.org/x/crypto/chacha20 +vendor/golang.org/x/crypto/poly1305 +vendor/golang.org/x/crypto/chacha20poly1305 +vendor/golang.org/x/crypto/curve25519 crypto/dsa crypto/elliptic encoding/asn1 vendor/golang.org/x/crypto/cryptobyte -crypto/ecdsa crypto/rand crypto/ed25519 crypto/rsa +crypto/ecdsa crypto/x509/pkix -vendor/golang.org/x/crypto/chacha20 -vendor/golang.org/x/crypto/poly1305 -vendor/golang.org/x/crypto/chacha20poly1305 -vendor/golang.org/x/crypto/curve25519 vendor/golang.org/x/text/unicode/bidi -vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/text/unicode/norm -crypto/x509 -vendor/golang.org/x/net/idna -net/textproto -vendor/golang.org/x/net/http/httpguts -crypto/tls -vendor/golang.org/x/net/http/httpproxy +vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/http2/hpack mime +vendor/golang.org/x/net/idna mime/quotedprintable -mime/multipart net/http/internal -path -regexp/syntax -regexp -net/http/httptrace -net/http github.com/pkg/errors golang.org/x/sys/unix -github.com/sirupsen/logrus 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 +github.com/sirupsen/logrus +vendor/golang.org/x/net/http/httpguts +mime/multipart gopkg.in/yaml.v3 -github.com/mendersoftware/openssl flag -net/http/httptest +crypto/tls runtime/debug -github.com/stretchr/testify/assert -github.com/stretchr/testify/mock -golang.org/x/text/transform 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 golang.org/x/net/idna golang.org/x/net/http/httpguts -golang.org/x/net/http2/hpack +github.com/klauspost/compress/flate +net/http/httptrace +net/http +github.com/klauspost/pgzip +github.com/minio/sha256-simd +os/exec +github.com/mendersoftware/mender-artifact/utils +github.com/ungerik/go-sysfs +github.com/mendersoftware/mender/system +archive/tar +github.com/mendersoftware/mender/utils +log/syslog +github.com/sirupsen/logrus/hooks/syslog +github.com/mendersoftware/mender/log/syslog +html +github.com/mendersoftware/mender-artifact/artifact +github.com/russross/blackfriday/v2 +github.com/mendersoftware/mender-artifact/handlers +github.com/mendersoftware/mender-artifact/areader +github.com/cpuguy83/go-md2man/v2/md2man +text/tabwriter +text/template/parse +golang.org/x/term +golang.org/x/crypto/ssh/terminal +os/signal +github.com/mendersoftware/mender/system/testing +github.com/mendersoftware/openssl +net/http/httptest +github.com/stretchr/testify/assert golang.org/x/net/http2 +github.com/stretchr/testify/mock +text/template +github.com/urfave/cli +github.com/mendersoftware/mender-artifact/awriter +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=] @@ -783,39 +851,6 @@ /usr/include/arm-linux-gnueabihf/bits/string_fortified.h:34:10: warning: writing 4 bytes into a region of size 1 [-Wstringop-overflow=] 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -os/user -github.com/klauspost/compress/flate -github.com/klauspost/pgzip -github.com/minio/sha256-simd -github.com/remyoudompheng/go-liblzma -archive/tar -os/exec -github.com/mendersoftware/mender-artifact/utils -github.com/ungerik/go-sysfs -github.com/mendersoftware/mender-artifact/artifact -github.com/mendersoftware/mender/system -github.com/mendersoftware/mender/utils -github.com/mendersoftware/mender-artifact/handlers -log/syslog -github.com/sirupsen/logrus/hooks/syslog -github.com/mendersoftware/mender/log/syslog -html -github.com/mendersoftware/mender-artifact/areader -github.com/russross/blackfriday/v2 -text/tabwriter -text/template/parse -github.com/cpuguy83/go-md2man/v2/md2man -golang.org/x/term -text/template -golang.org/x/crypto/ssh/terminal -os/signal -github.com/mendersoftware/mender/system/testing -github.com/mendersoftware/mender-artifact/awriter -github.com/stretchr/testify/require -github.com/urfave/cli -runtime/trace -testing -github.com/mendersoftware/mender/tests github.com/mendersoftware/mender/store github.com/mendersoftware/mender/datastore github.com/mendersoftware/mender/client @@ -832,7 +867,7 @@ debian/rules override_dh_auto_test make[1]: Entering directory '/build/reproducible-path/mender-client-2.4.1' dh_auto_test || true - cd obj-arm-linux-gnueabihf && go test -vet=off -v -p 3 github.com/mendersoftware/mender github.com/mendersoftware/mender/app github.com/mendersoftware/mender/cli github.com/mendersoftware/mender/client github.com/mendersoftware/mender/client/test github.com/mendersoftware/mender/conf github.com/mendersoftware/mender/datastore github.com/mendersoftware/mender/device github.com/mendersoftware/mender/installer github.com/mendersoftware/mender/inventory github.com/mendersoftware/mender/log/syslog github.com/mendersoftware/mender/statescript github.com/mendersoftware/mender/store github.com/mendersoftware/mender/system github.com/mendersoftware/mender/system/testing github.com/mendersoftware/mender/tests github.com/mendersoftware/mender/utils + cd obj-arm-linux-gnueabihf && 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=] @@ -874,514 +909,514 @@ main_test.go:48: Skip TestBinarySize test, non applicable on Debian build --- SKIP: TestBinarySize (0.00s) PASS -ok github.com/mendersoftware/mender 0.105s +ok github.com/mendersoftware/mender 0.111s === RUN TestNewAuthManager --- PASS: TestNewAuthManager (0.00s) === RUN TestAuthManager ---- PASS: TestAuthManager (7.11s) +--- PASS: TestAuthManager (13.02s) === RUN TestAuthManagerRequest ---- PASS: TestAuthManagerRequest (10.77s) +--- PASS: TestAuthManagerRequest (13.09s) === RUN TestAuthManagerResponse --- PASS: TestAuthManagerResponse (0.00s) === RUN TestDaemon -time="2024-01-08T11:53:40Z" level=info msg="State transition: init [none] -> init [none]" ---- PASS: TestDaemon (0.01s) +time="2024-01-08T12:22:09Z" level=info msg="State transition: init [none] -> init [none]" +--- PASS: TestDaemon (0.00s) === RUN TestDaemonCleanup daemon_test.go:182: PASS: Close() -time="2024-01-08T11:53:40Z" level=error msg="Failed to close data store: foo" +time="2024-01-08T12:22:09Z" level=error msg="Failed to close data store: foo" daemon_test.go:190: PASS: Close() --- PASS: TestDaemonCleanup (0.00s) === RUN TestDaemonRun === RUN TestDaemonRun/Testrun_daemon daemon_test.go:239: poke count: 5 === RUN TestDaemonRun/testing_state_machine_interrupt_functionality_-_updateCheck_state -time="2024-01-08T11:56:11Z" level=info msg="Forcing state machine to: update-check" +time="2024-01-08T12:24:40Z" level=info msg="Forcing state machine to: update-check" === RUN TestDaemonRun/testing_state_machine_interrupt_functionality_-_inventoryUpdate_state -time="2024-01-08T11:56:12Z" level=info msg="Forcing state machine to: inventory-update" ---- PASS: TestDaemonRun (152.00s) - --- PASS: TestDaemonRun/Testrun_daemon (150.00s) +time="2024-01-08T12:24:41Z" level=info msg="Forcing state machine to: inventory-update" +--- PASS: TestDaemonRun (152.02s) + --- PASS: TestDaemonRun/Testrun_daemon (150.01s) --- 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) +--- PASS: TestFileLogger (0.03s) === RUN TestLogManagerInit --- PASS: TestLogManagerInit (0.00s) === RUN TestLogManagerCheckEnableDisable -time="2024-01-08T11:56:12Z" level=info msg="Running Mender client version: unknown" +time="2024-01-08T12:24:41Z" level=info msg="Running Mender client version: unknown" --- PASS: TestLogManagerCheckEnableDisable (0.00s) === RUN TestLogManagerCheckLogging -time="2024-01-08T11:56:12Z" level=info msg="Running Mender client version: unknown" ---- PASS: TestLogManagerCheckLogging (0.01s) +time="2024-01-08T12:24:41Z" level=info msg="Running Mender client version: unknown" +--- PASS: TestLogManagerCheckLogging (0.02s) === RUN TestLogManagerLogRotation -time="2024-01-08T11:56:12Z" level=info msg="Running Mender client version: unknown" -time="2024-01-08T11:56:12Z" level=info msg="Running Mender client version: unknown" ---- PASS: TestLogManagerLogRotation (0.01s) +time="2024-01-08T12:24:41Z" level=info msg="Running Mender client version: unknown" +time="2024-01-08T12:24:41Z" level=info msg="Running Mender client version: unknown" +--- PASS: TestLogManagerLogRotation (0.00s) === RUN TestEnabligLogsNoSpceForStoringLogs --- PASS: TestEnabligLogsNoSpceForStoringLogs (0.00s) === RUN TestDeploymentLoggingHook -time="2024-01-08T11:56:12Z" level=info msg=test1 -time="2024-01-08T11:56:12Z" level=info msg="Running Mender client version: unknown" -time="2024-01-08T11:56:12Z" level=debug msg=test2 -time="2024-01-08T11:56:12Z" level=info msg=test3 -time="2024-01-08T11:56:12Z" level=info msg="{\"level\":\"info\",\"message\":\"Running Mender client version: unknown\",\"timestamp\":\"2024-01-08T11:56:12Z\"}\n{\"level\":\"debug\",\"message\":\"test2\",\"timestamp\":\"2024-01-08T11:56:12Z\"}\n" ---- PASS: TestDeploymentLoggingHook (0.01s) +time="2024-01-08T12:24:41Z" level=info msg=test1 +time="2024-01-08T12:24:41Z" level=info msg="Running Mender client version: unknown" +time="2024-01-08T12:24:41Z" level=debug msg=test2 +time="2024-01-08T12:24:41Z" level=info msg=test3 +time="2024-01-08T12:24:41Z" level=info msg="{\"level\":\"info\",\"message\":\"Running Mender client version: unknown\",\"timestamp\":\"2024-01-08T12:24:41Z\"}\n{\"level\":\"debug\",\"message\":\"test2\",\"timestamp\":\"2024-01-08T12:24:41Z\"}\n" +--- PASS: TestDeploymentLoggingHook (0.02s) === RUN TestGetLogs -time="2024-01-08T11:56:12Z" level=info msg="Running Mender client version: unknown" ---- PASS: TestGetLogs (0.01s) +time="2024-01-08T12:24:41Z" level=info msg="Running Mender client version: unknown" +--- PASS: TestGetLogs (0.00s) === RUN TestFindLogFiles --- PASS: TestFindLogFiles (0.00s) === RUN TestMenderError --- PASS: TestMenderError (0.00s) === RUN Test_getArtifactName_noArtifactNameInFile_returnsEmptyName -time="2024-01-08T11:56:12Z" level=debug msg="Private key does not exist" -time="2024-01-08T11:56:12Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-08T11:56:12Z" level=debug msg="Returning artifact name from artifact_info file." -time="2024-01-08T11:56:12Z" level=debug msg="Reading data from the device manifest file: artifact_info" +time="2024-01-08T12:24:41Z" level=debug msg="Private key does not exist" +time="2024-01-08T12:24:41Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2024-01-08T12:24:41Z" level=debug msg="Returning artifact name from artifact_info file." +time="2024-01-08T12:24:41Z" level=debug msg="Reading data from the device manifest file: artifact_info" --- PASS: Test_getArtifactName_noArtifactNameInFile_returnsEmptyName (0.00s) === RUN Test_getArtifactName_malformedArtifactNameLine_returnsError -time="2024-01-08T11:56:12Z" level=debug msg="Private key does not exist" -time="2024-01-08T11:56:12Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-08T11:56:12Z" level=debug msg="Returning artifact name from artifact_info file." -time="2024-01-08T11:56:12Z" level=debug msg="Reading data from the device manifest file: artifact_info" -time="2024-01-08T11:56:12Z" level=debug msg=artifact_name -time="2024-01-08T11:56:12Z" level=error msg="Broken device manifest file: ([artifact_name])" +time="2024-01-08T12:24:41Z" level=debug msg="Private key does not exist" +time="2024-01-08T12:24:41Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2024-01-08T12:24:41Z" level=debug msg="Returning artifact name from artifact_info file." +time="2024-01-08T12:24:41Z" level=debug msg="Reading data from the device manifest file: artifact_info" +time="2024-01-08T12:24:41Z" level=debug msg=artifact_name +time="2024-01-08T12:24:41Z" level=error msg="Broken device manifest file: ([artifact_name])" --- PASS: Test_getArtifactName_malformedArtifactNameLine_returnsError (0.00s) === RUN Test_getArtifactName_haveArtifactName_returnsName -time="2024-01-08T11:56:12Z" level=debug msg="Private key does not exist" -time="2024-01-08T11:56:12Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-08T11:56:12Z" level=debug msg="Returning artifact name from artifact_info file." -time="2024-01-08T11:56:12Z" level=debug msg="Reading data from the device manifest file: artifact_info" -time="2024-01-08T11:56:12Z" level=debug msg="artifact_name=mender-image" -time="2024-01-08T11:56:12Z" level=debug msg="Current manifest data: mender-image" +time="2024-01-08T12:24:41Z" level=debug msg="Private key does not exist" +time="2024-01-08T12:24:41Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2024-01-08T12:24:41Z" level=debug msg="Returning artifact name from artifact_info file." +time="2024-01-08T12:24:41Z" level=debug msg="Reading data from the device manifest file: artifact_info" +time="2024-01-08T12:24:41Z" level=debug msg="artifact_name=mender-image" +time="2024-01-08T12:24:41Z" level=debug msg="Current manifest data: mender-image" --- PASS: Test_getArtifactName_haveArtifactName_returnsName (0.00s) === RUN Test_ForceBootstrap -time="2024-01-08T11:56:12Z" level=debug msg="Private key does not exist" -time="2024-01-08T11:56:12Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-08T11:56:12Z" level=debug msg="Needs keys" -time="2024-01-08T11:56:12Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2024-01-08T11:56:23Z" level=info msg="Device keys not present or bootstrap forced, generating" ---- PASS: Test_ForceBootstrap (21.42s) +time="2024-01-08T12:24:41Z" level=debug msg="Private key does not exist" +time="2024-01-08T12:24:41Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2024-01-08T12:24:41Z" level=debug msg="Needs keys" +time="2024-01-08T12:24:41Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2024-01-08T12:24:50Z" level=info msg="Device keys not present or bootstrap forced, generating" +--- PASS: Test_ForceBootstrap (14.12s) === RUN Test_Bootstrap -time="2024-01-08T11:56:34Z" level=debug msg="Private key does not exist" -time="2024-01-08T11:56:34Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-08T11:56:34Z" level=debug msg="Needs keys" -time="2024-01-08T11:56:34Z" level=debug msg="Needs keys" -time="2024-01-08T11:56:34Z" level=info msg="Device keys not present or bootstrap forced, generating" ---- PASS: Test_Bootstrap (7.05s) +time="2024-01-08T12:24:56Z" level=debug msg="Private key does not exist" +time="2024-01-08T12:24:56Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2024-01-08T12:24:56Z" level=debug msg="Needs keys" +time="2024-01-08T12:24:56Z" level=debug msg="Needs keys" +time="2024-01-08T12:24:56Z" level=info msg="Device keys not present or bootstrap forced, generating" +--- PASS: Test_Bootstrap (11.49s) === RUN Test_BootstrappedHaveKeys -time="2024-01-08T11:56:51Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" ---- PASS: Test_BootstrappedHaveKeys (10.90s) +time="2024-01-08T12:25:20Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +--- PASS: Test_BootstrappedHaveKeys (13.29s) === RUN Test_BootstrapError -time="2024-01-08T11:56:51Z" level=error msg="Failed to load device keys: disabled" -time="2024-01-08T11:56:51Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-08T11:56:51Z" level=error msg="Error loading authentication for HTTP client: fatal error: failed to cache authorization code: failed to read auth token data: disabled" -time="2024-01-08T11:56:51Z" level=debug msg="Private key does not exist" -time="2024-01-08T11:56:51Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-08T11:56:51Z" level=debug msg="Needs keys" -time="2024-01-08T11:56:51Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2024-01-08T11:57:03Z" level=error msg="Failed to save device key: read only" ---- PASS: Test_BootstrapError (11.89s) +time="2024-01-08T12:25:20Z" level=error msg="Failed to load device keys: disabled" +time="2024-01-08T12:25:20Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2024-01-08T12:25:20Z" level=error msg="Error loading authentication for HTTP client: fatal error: failed to cache authorization code: failed to read auth token data: disabled" +time="2024-01-08T12:25:20Z" level=debug msg="Private key does not exist" +time="2024-01-08T12:25:20Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2024-01-08T12:25:20Z" level=debug msg="Needs keys" +time="2024-01-08T12:25:20Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2024-01-08T12:25:35Z" level=error msg="Failed to save device key: read only" +--- PASS: Test_BootstrapError (15.00s) === RUN Test_CheckUpdateSimple -time="2024-01-08T11:57:03Z" level=debug msg="Private key does not exist" -time="2024-01-08T11:57:03Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-08T11:57:03Z" level=debug msg="Returning artifact name from file." -time="2024-01-08T11:57:03Z" level=error msg="could not get the current Artifact name" -time="2024-01-08T11:57:03Z" level=debug msg="Private key does not exist" -time="2024-01-08T11:57:03Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-08T11:57:03Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-160769195/artifact_info file." -time="2024-01-08T11:57:03Z" level=error msg="could not get the current Artifact name" -time="2024-01-08T11:57:03Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-160769195/artifact_info file." -time="2024-01-08T11:57:03Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-160769195/artifact_info" -time="2024-01-08T11:57:03Z" level=debug msg="artifact_name=fake-id" -time="2024-01-08T11:57:03Z" level=debug msg="Current manifest data: fake-id" -time="2024-01-08T11:57:03Z" level=debug msg="DEVICE_TYPE=hammer" -time="2024-01-08T11:57:03Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-160769195/artifact_info file." -time="2024-01-08T11:57:03Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-160769195/artifact_info" -time="2024-01-08T11:57:03Z" level=debug msg="artifact_name=fake-id" -time="2024-01-08T11:57:03Z" level=debug msg="Current manifest data: fake-id" -time="2024-01-08T11:57:03Z" level=debug msg="DEVICE_TYPE=hammer" -time="2024-01-08T11:57:03Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-160769195/device_type" -time="2024-01-08T11:57:03Z" level=debug msg="device_type=hammer" -time="2024-01-08T11:57:03Z" level=debug msg="Current manifest data: hammer" -time="2024-01-08T11:57:03Z" 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]] 0x25b8090 50 [] false 127.0.0.1:34631 map[] map[] map[] 127.0.0.1:35814 /api/devices/v1/deployments/device/deployments/next 0x21169a0}" -time="2024-01-08T11:57:03Z" level=debug msg="device provides not accepted by the server. Response code: 400" -time="2024-01-08T11:57:03Z" 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:34631 map[] map[] map[] 127.0.0.1:35826 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x2117840}" -time="2024-01-08T11:57:03Z" 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:34631 map[] map[] map[] 127.0.0.1:35826 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x2117840}" -time="2024-01-08T11:57:03Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[hammer]]" -time="2024-01-08T11:57:03Z" level=debug msg="Received response:200 OK" -time="2024-01-08T11:57:03Z" level=debug msg="Have update available" -time="2024-01-08T11:57:03Z" level=info msg="Correct request for getting image from: http://127.0.0.1:34631/download [name: fake-id; devices: [vexpress]]" -time="2024-01-08T11:57:03Z" level=debug msg="Received update response: {{{http://127.0.0.1:34631/download } [vexpress] [] fake-id map[]} foo [] 0 false}" -time="2024-01-08T11:57:03Z" level=info msg="Attempting to upgrade to currently installed artifact name, not performing upgrade." -time="2024-01-08T11:57:03Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-160769195/artifact_info file." -time="2024-01-08T11:57:03Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-160769195/artifact_info" -time="2024-01-08T11:57:03Z" level=debug msg="artifact_name=fake-id" -time="2024-01-08T11:57:03Z" level=debug msg="Current manifest data: fake-id" -time="2024-01-08T11:57:03Z" level=debug msg="DEVICE_TYPE=hammer" -time="2024-01-08T11:57:03Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-160769195/device_type" -time="2024-01-08T11:57:03Z" level=debug msg="device_type=hammer" -time="2024-01-08T11:57:03Z" level=debug msg="Current manifest data: hammer" -time="2024-01-08T11:57:03Z" 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]] 0x25b86c0 50 [] false 127.0.0.1:34631 map[] map[] map[] 127.0.0.1:35826 /api/devices/v1/deployments/device/deployments/next 0x200c440}" -time="2024-01-08T11:57:03Z" level=debug msg="device provides not accepted by the server. Response code: 400" -time="2024-01-08T11:57:03Z" 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:34631 map[] map[] map[] 127.0.0.1:35832 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x200c8e0}" -time="2024-01-08T11:57:03Z" 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:34631 map[] map[] map[] 127.0.0.1:35832 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x200c8e0}" -time="2024-01-08T11:57:03Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[hammer]]" -time="2024-01-08T11:57:03Z" level=debug msg="Received response:200 OK" -time="2024-01-08T11:57:03Z" level=debug msg="Have update available" -time="2024-01-08T11:57:03Z" level=info msg="Correct request for getting image from: http://127.0.0.1:34631/download [name: fake-id-fake; devices: [vexpress]]" -time="2024-01-08T11:57:03Z" level=debug msg="Received update response: {{{http://127.0.0.1:34631/download } [vexpress] [] fake-id-fake map[]} foo [] 0 false}" -time="2024-01-08T11:57:03Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-160769195/artifact_info file." -time="2024-01-08T11:57:03Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-160769195/artifact_info" -time="2024-01-08T11:57:03Z" level=debug msg="artifact_name=fake-id" -time="2024-01-08T11:57:03Z" level=debug msg="Current manifest data: fake-id" -time="2024-01-08T11:57:03Z" level=debug msg="DEVICE_TYPE=hammer" -time="2024-01-08T11:57:03Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-160769195/device_type" -time="2024-01-08T11:57:03Z" level=debug msg="device_type=hammer" -time="2024-01-08T11:57:03Z" level=debug msg="Current manifest data: hammer" -time="2024-01-08T11:57:03Z" 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]] 0x2422030 50 [] false 127.0.0.1:34631 map[] map[] map[] 127.0.0.1:35832 /api/devices/v1/deployments/device/deployments/next 0x241a060}" -time="2024-01-08T11:57:03Z" level=debug msg="device provides not accepted by the server. Response code: 400" -time="2024-01-08T11:57:03Z" 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:34631 map[] map[] map[] 127.0.0.1:35848 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x241a4e0}" -time="2024-01-08T11:57:03Z" 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:34631 map[] map[] map[] 127.0.0.1:35848 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x241a4e0}" -time="2024-01-08T11:57:03Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[hammer]]" -time="2024-01-08T11:57:03Z" level=debug msg="Received response:204 No Content" -time="2024-01-08T11:57:03Z" level=debug msg="No update available" -time="2024-01-08T11:57:03Z" level=debug msg="no updates available" ---- PASS: Test_CheckUpdateSimple (0.10s) +time="2024-01-08T12:25:35Z" level=debug msg="Private key does not exist" +time="2024-01-08T12:25:35Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2024-01-08T12:25:35Z" level=debug msg="Returning artifact name from file." +time="2024-01-08T12:25:35Z" level=error msg="could not get the current Artifact name" +time="2024-01-08T12:25:35Z" level=debug msg="Private key does not exist" +time="2024-01-08T12:25:35Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2024-01-08T12:25:35Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-402846984/artifact_info file." +time="2024-01-08T12:25:35Z" level=error msg="could not get the current Artifact name" +time="2024-01-08T12:25:35Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-402846984/artifact_info file." +time="2024-01-08T12:25:35Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-402846984/artifact_info" +time="2024-01-08T12:25:35Z" level=debug msg="artifact_name=fake-id" +time="2024-01-08T12:25:35Z" level=debug msg="Current manifest data: fake-id" +time="2024-01-08T12:25:35Z" level=debug msg="DEVICE_TYPE=hammer" +time="2024-01-08T12:25:35Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-402846984/artifact_info file." +time="2024-01-08T12:25:35Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-402846984/artifact_info" +time="2024-01-08T12:25:35Z" level=debug msg="artifact_name=fake-id" +time="2024-01-08T12:25:35Z" level=debug msg="Current manifest data: fake-id" +time="2024-01-08T12:25:35Z" level=debug msg="DEVICE_TYPE=hammer" +time="2024-01-08T12:25:35Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-402846984/device_type" +time="2024-01-08T12:25:35Z" level=debug msg="device_type=hammer" +time="2024-01-08T12:25:35Z" level=debug msg="Current manifest data: hammer" +time="2024-01-08T12:25:35Z" 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]] 0x14a69c0 50 [] false 127.0.0.1:46677 map[] map[] map[] 127.0.0.1:38378 /api/devices/v1/deployments/device/deployments/next 0x179fbe0}" +time="2024-01-08T12:25:35Z" level=debug msg="device provides not accepted by the server. Response code: 400" +time="2024-01-08T12:25:35Z" 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:46677 map[] map[] map[] 127.0.0.1:38390 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x19cd4e0}" +time="2024-01-08T12:25:35Z" 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:46677 map[] map[] map[] 127.0.0.1:38390 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x19cd4e0}" +time="2024-01-08T12:25:35Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[hammer]]" +time="2024-01-08T12:25:35Z" level=debug msg="Received response:200 OK" +time="2024-01-08T12:25:35Z" level=debug msg="Have update available" +time="2024-01-08T12:25:35Z" level=info msg="Correct request for getting image from: http://127.0.0.1:46677/download [name: fake-id; devices: [vexpress]]" +time="2024-01-08T12:25:35Z" level=debug msg="Received update response: {{{http://127.0.0.1:46677/download } [vexpress] [] fake-id map[]} foo [] 0 false}" +time="2024-01-08T12:25:35Z" level=info msg="Attempting to upgrade to currently installed artifact name, not performing upgrade." +time="2024-01-08T12:25:35Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-402846984/artifact_info file." +time="2024-01-08T12:25:35Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-402846984/artifact_info" +time="2024-01-08T12:25:35Z" level=debug msg="artifact_name=fake-id" +time="2024-01-08T12:25:35Z" level=debug msg="Current manifest data: fake-id" +time="2024-01-08T12:25:35Z" level=debug msg="DEVICE_TYPE=hammer" +time="2024-01-08T12:25:35Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-402846984/device_type" +time="2024-01-08T12:25:35Z" level=debug msg="device_type=hammer" +time="2024-01-08T12:25:35Z" level=debug msg="Current manifest data: hammer" +time="2024-01-08T12:25:35Z" 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]] 0x146aba0 50 [] false 127.0.0.1:46677 map[] map[] map[] 127.0.0.1:38390 /api/devices/v1/deployments/device/deployments/next 0x1628080}" +time="2024-01-08T12:25:35Z" level=debug msg="device provides not accepted by the server. Response code: 400" +time="2024-01-08T12:25:35Z" 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:46677 map[] map[] map[] 127.0.0.1:38392 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x16284a0}" +time="2024-01-08T12:25:35Z" 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:46677 map[] map[] map[] 127.0.0.1:38392 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x16284a0}" +time="2024-01-08T12:25:35Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[hammer]]" +time="2024-01-08T12:25:35Z" level=debug msg="Received response:200 OK" +time="2024-01-08T12:25:35Z" level=debug msg="Have update available" +time="2024-01-08T12:25:35Z" level=info msg="Correct request for getting image from: http://127.0.0.1:46677/download [name: fake-id-fake; devices: [vexpress]]" +time="2024-01-08T12:25:35Z" level=debug msg="Received update response: {{{http://127.0.0.1:46677/download } [vexpress] [] fake-id-fake map[]} foo [] 0 false}" +time="2024-01-08T12:25:35Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-402846984/artifact_info file." +time="2024-01-08T12:25:35Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-402846984/artifact_info" +time="2024-01-08T12:25:35Z" level=debug msg="artifact_name=fake-id" +time="2024-01-08T12:25:35Z" level=debug msg="Current manifest data: fake-id" +time="2024-01-08T12:25:35Z" level=debug msg="DEVICE_TYPE=hammer" +time="2024-01-08T12:25:35Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-402846984/device_type" +time="2024-01-08T12:25:35Z" level=debug msg="device_type=hammer" +time="2024-01-08T12:25:35Z" level=debug msg="Current manifest data: hammer" +time="2024-01-08T12:25:35Z" 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]] 0x146b110 50 [] false 127.0.0.1:46677 map[] map[] map[] 127.0.0.1:38392 /api/devices/v1/deployments/device/deployments/next 0x1628da0}" +time="2024-01-08T12:25:35Z" level=debug msg="device provides not accepted by the server. Response code: 400" +time="2024-01-08T12:25:35Z" 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:46677 map[] map[] map[] 127.0.0.1:38406 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x16c6160}" +time="2024-01-08T12:25:35Z" 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:46677 map[] map[] map[] 127.0.0.1:38406 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=hammer 0x16c6160}" +time="2024-01-08T12:25:35Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[hammer]]" +time="2024-01-08T12:25:35Z" level=debug msg="Received response:204 No Content" +time="2024-01-08T12:25:35Z" level=debug msg="No update available" +time="2024-01-08T12:25:35Z" level=debug msg="no updates available" +--- PASS: Test_CheckUpdateSimple (0.03s) === RUN TestMenderGetUpdatePollInterval -time="2024-01-08T11:57:03Z" level=debug msg="Private key does not exist" -time="2024-01-08T11:57:03Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2024-01-08T12:25:35Z" level=debug msg="Private key does not exist" +time="2024-01-08T12:25:35Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" --- PASS: TestMenderGetUpdatePollInterval (0.00s) === RUN TestMenderGetInventoryPollInterval -time="2024-01-08T11:57:03Z" level=debug msg="Private key does not exist" -time="2024-01-08T11:57:03Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2024-01-08T12:25:35Z" level=debug msg="Private key does not exist" +time="2024-01-08T12:25:35Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" --- PASS: TestMenderGetInventoryPollInterval (0.00s) === RUN TestMenderAuthorize -time="2024-01-08T11:57:03Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-08T11:57:03Z" level=debug msg="Needs keys" -time="2024-01-08T11:57:03Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2024-01-08T11:57:03Z" level=error msg="Empty server list! Make sure at least one serveris specified in /etc/mender/mender.conf" -time="2024-01-08T11:57:03Z" level=info msg="authorization data present and valid, skipping authorization attempt" -time="2024-01-08T11:57:03Z" level=info msg="authorization data present and valid, skipping authorization attempt" -time="2024-01-08T11:57:03Z" level=info msg="authorization data present and valid, skipping authorization attempt" -time="2024-01-08T11:57:03Z" level=debug msg="Needs keys" -time="2024-01-08T11:57:03Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2024-01-08T11:57:03Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:45527" -time="2024-01-08T11:57:03Z" 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:45527 map[] map[] map[] 127.0.0.1:46036 /api/devices/v1/authentication/auth_requests 0x241b1a0}" -time="2024-01-08T11:57:03Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Mon, 08 Jan 2024 11:57:03 GMT]] 0x242a610 0 [] false false map[] 0x241c400 }" -time="2024-01-08T11:57:03Z" level=debug msg="Needs keys" -time="2024-01-08T11:57:03Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2024-01-08T11:57:03Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:45527" -time="2024-01-08T11:57:04Z" 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:45527 map[] map[] map[] 127.0.0.1:46036 /api/devices/v1/authentication/auth_requests 0x2459720}" -time="2024-01-08T11:57:04Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[6] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 08 Jan 2024 11:57:04 GMT]] 0x200e9f0 6 [] false false map[] 0x241c580 }" -time="2024-01-08T11:57:04Z" level=debug msg="Receive response data" -time="2024-01-08T11:57:04Z" level=debug msg="Received response data: [102 111 111 98 97 114]" -time="2024-01-08T11:57:04Z" level=debug msg="Needs keys" -time="2024-01-08T11:57:04Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2024-01-08T11:57:04Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:45527" -time="2024-01-08T11:57:04Z" 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:45527 map[] map[] map[] 127.0.0.1:46036 /api/devices/v1/authentication/auth_requests 0x2459bc0}" -time="2024-01-08T11:57:04Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[6] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 08 Jan 2024 11:57:04 GMT]] 0x200ec60 6 [] false false map[] 0x2136480 }" -time="2024-01-08T11:57:04Z" level=debug msg="Receive response data" -time="2024-01-08T11:57:04Z" level=debug msg="Received response data: [102 111 111 98 97 114]" -time="2024-01-08T11:57:04Z" level=info msg="successfully received new authorization data" ---- PASS: TestMenderAuthorize (0.02s) +time="2024-01-08T12:25:35Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2024-01-08T12:25:35Z" level=debug msg="Needs keys" +time="2024-01-08T12:25:35Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2024-01-08T12:25:35Z" level=error msg="Empty server list! Make sure at least one serveris specified in /etc/mender/mender.conf" +time="2024-01-08T12:25:35Z" level=info msg="authorization data present and valid, skipping authorization attempt" +time="2024-01-08T12:25:35Z" level=info msg="authorization data present and valid, skipping authorization attempt" +time="2024-01-08T12:25:35Z" level=info msg="authorization data present and valid, skipping authorization attempt" +time="2024-01-08T12:25:35Z" level=debug msg="Needs keys" +time="2024-01-08T12:25:35Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2024-01-08T12:25:35Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:43811" +time="2024-01-08T12:25:35Z" 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:43811 map[] map[] map[] 127.0.0.1:43668 /api/devices/v1/authentication/auth_requests 0x169eb00}" +time="2024-01-08T12:25:35Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Mon, 08 Jan 2024 12:25:35 GMT]] 0x1496f90 0 [] false false map[] 0x17fc480 }" +time="2024-01-08T12:25:35Z" level=debug msg="Needs keys" +time="2024-01-08T12:25:35Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2024-01-08T12:25:35Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:43811" +time="2024-01-08T12:25:35Z" 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:43811 map[] map[] map[] 127.0.0.1:43668 /api/devices/v1/authentication/auth_requests 0x169efa0}" +time="2024-01-08T12:25:35Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[6] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 08 Jan 2024 12:25:35 GMT]] 0x14971c0 6 [] false false map[] 0x17fc680 }" +time="2024-01-08T12:25:35Z" level=debug msg="Receive response data" +time="2024-01-08T12:25:35Z" level=debug msg="Received response data: [102 111 111 98 97 114]" +time="2024-01-08T12:25:35Z" level=debug msg="Needs keys" +time="2024-01-08T12:25:35Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2024-01-08T12:25:35Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:43811" +time="2024-01-08T12:25:35Z" 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:43811 map[] map[] map[] 127.0.0.1:43668 /api/devices/v1/authentication/auth_requests 0x169f420}" +time="2024-01-08T12:25:35Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[6] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 08 Jan 2024 12:25:35 GMT]] 0x1497430 6 [] false false map[] 0x17fc880 }" +time="2024-01-08T12:25:35Z" level=debug msg="Receive response data" +time="2024-01-08T12:25:35Z" level=debug msg="Received response data: [102 111 111 98 97 114]" +time="2024-01-08T12:25:35Z" level=info msg="successfully received new authorization data" +--- PASS: TestMenderAuthorize (0.00s) === RUN TestMenderReportStatus -time="2024-01-08T11:57:04Z" level=debug msg="Private key does not exist" -time="2024-01-08T11:57:04Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-08T11:57:04Z" level=info msg="authorization data present and valid, skipping authorization attempt" -time="2024-01-08T11:57:04Z" 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]] 0x2422930 21 [] false 127.0.0.1:41021 map[] map[] map[] 127.0.0.1:58430 /api/devices/v1/deployments/device/deployments/foobar/status 0x241b740}" -time="2024-01-08T11:57:04Z" level=info msg="request for foobar/status" -time="2024-01-08T11:57:04Z" 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]] 0x2422930 21 [] false 127.0.0.1:41021 map[] map[] map[] 127.0.0.1:58430 /api/devices/v1/deployments/device/deployments/foobar/status 0x241b740}" -time="2024-01-08T11:57:04Z" level=debug msg="Status reported, response 204 No Content" -time="2024-01-08T11:57:04Z" 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]] 0x25b8c00 21 [] false 127.0.0.1:41021 map[] map[] map[] 127.0.0.1:58430 /api/devices/v1/deployments/device/deployments/foobar/status 0x200cfa0}" -time="2024-01-08T11:57:04Z" level=info msg="request for foobar/status" -time="2024-01-08T11:57:04Z" 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]] 0x25b8c00 21 [] false 127.0.0.1:41021 map[] map[] map[] 127.0.0.1:58430 /api/devices/v1/deployments/device/deployments/foobar/status 0x200cfa0}" -time="2024-01-08T11:57:04Z" level=error msg="bad token, got Bearer tokendata expected footoken" -time="2024-01-08T11:57:04Z" level=info msg="Device unauthorized; attempting reauthorization" -time="2024-01-08T11:57:04Z" level=debug msg="Needs keys" -time="2024-01-08T11:57:04Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2024-01-08T11:57:08Z" level=debug msg="Tenant token: " -time="2024-01-08T11:57:08Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA1FaNBFv8DyDtqbL5mIjo\nTnMl6wZjKqvCgoY4kYMsvVm2QdEawelAxRhwAyFl+I/uS0uQUKbLGYwwMl8HICHV\nRJDoK5LlofOqA2u3d7kRcAg+9CbadJdQ7YF6Hrf82WjMejvTac9WOq/oaxVlcv/9\nleN/ayriyPDsEfj9CuS5DPaK5KR20P6ZSrkG2ic+HWUGb5k16uxDqiWurhDHjcdi\niiFjC4cxlebTjS/5+RNMYdaChaEX1q6wzsGAIwVhbFhF00bFQTbZGPOUveum//4x\nKedF2gS7L+MORLMiojMN6G5intbjWIqmBJs3RZ/lmFfCs4wrJY/ozqnVR+HbaqeL\nWDhtRisy2bZL4MeF9rwdyMughzSRodyCbQpLsMvdzsWYtHJbr8EXMyfIfXEY/+sm\n8jLcupzoe0dfYwl//4CoiikMrBpNuAp2dhAO/yCyRpR4b4yolbLdp4Y+a9CLWnkz\nrL3C2k+cseuK9nxBs4/fJftFhJTpAXG98yC4uk+3CjmRAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2024-01-08T11:57:08Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:41021" -time="2024-01-08T11:57:08Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[MKDnIRXyGA/26WvE3yjpCATVaOOYzyj9sG2/LPtnez6u4FToY2ZPzKnLQx4SEKOGIbEos14hcuta8l10fOhD67J8K2Kfwcro2XQnHQmgB4pbnFVX2GfqgEEpuLf5EaEnBAvmiq8o4F1OKD2FCf85GnHpJ10BxZWqYX7iM7Ny/6WPQQcpVAF8Rs+QytvarISfdR1UOChP/h8DPRYkD6rFKd0YIum9uF3RtgAD8FEB4V+UHCNDHlpP/gWtOiwLBKzEwp7Sscy4FRXePClQqLbtGZj7qcOLxOEhmYnyevYVAjw7t7ZKupObTzq/0r/TndsjT6hgU6YRJQaFo2m2vtLdKKbQWeNUGseSLKcLr4JFR8T6p7kP8kYM06jTlCXWRHHc75isc6Oca+MZOTe75TaInwq3OC2AepQ3YbI2o15WZDoyH3VXd1OWlXaPdu2mSSyenoO30xALVkbEwk4ty8SHK0IAJVSwgjdY68PS5lvdGEUtVgiWxysrZCUGdh4fvtDF]] 0x25b8e10 701 [] false 127.0.0.1:41021 map[] map[] map[] 127.0.0.1:58430 /api/devices/v1/authentication/auth_requests 0x200d620}" -time="2024-01-08T11:57:08Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Mon, 08 Jan 2024 11:57:08 GMT]] 0x200eeb0 0 [] false false map[] 0x25cab00 }" -time="2024-01-08T11:57:08Z" level=warning msg="Reauthorization failed with error: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: failed to parse server response: EOF" -time="2024-01-08T11:57:08Z" level=error msg="Got unexpected HTTP status when reporting status: 401" -time="2024-01-08T11:57:08Z" level=error msg="error reporting update status: (request_id: ): reporting status failed, bad status 401 server error message: failed to parse server response: EOF" -time="2024-01-08T11:57:08Z" level=info msg="got deployments log/status request &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x2076e10 21 [] false 127.0.0.1:41021 map[] map[] map[] 127.0.0.1:58430 /api/devices/v1/deployments/device/deployments/foobar/status 0x20dc740}" -time="2024-01-08T11:57:08Z" level=info msg="request for foobar/status" -time="2024-01-08T11:57:08Z" level=info msg="got status request deployment ID: foobar, &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x2076e10 21 [] false 127.0.0.1:41021 map[] map[] map[] 127.0.0.1:58430 /api/devices/v1/deployments/device/deployments/foobar/status 0x20dc740}" -time="2024-01-08T11:57:08Z" level=error msg="bad authorization value: Bearer" -time="2024-01-08T11:57:08Z" level=info msg="Device unauthorized; attempting reauthorization" -time="2024-01-08T11:57:08Z" level=debug msg="Tenant token: " -time="2024-01-08T11:57:08Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA1FaNBFv8DyDtqbL5mIjo\nTnMl6wZjKqvCgoY4kYMsvVm2QdEawelAxRhwAyFl+I/uS0uQUKbLGYwwMl8HICHV\nRJDoK5LlofOqA2u3d7kRcAg+9CbadJdQ7YF6Hrf82WjMejvTac9WOq/oaxVlcv/9\nleN/ayriyPDsEfj9CuS5DPaK5KR20P6ZSrkG2ic+HWUGb5k16uxDqiWurhDHjcdi\niiFjC4cxlebTjS/5+RNMYdaChaEX1q6wzsGAIwVhbFhF00bFQTbZGPOUveum//4x\nKedF2gS7L+MORLMiojMN6G5intbjWIqmBJs3RZ/lmFfCs4wrJY/ozqnVR+HbaqeL\nWDhtRisy2bZL4MeF9rwdyMughzSRodyCbQpLsMvdzsWYtHJbr8EXMyfIfXEY/+sm\n8jLcupzoe0dfYwl//4CoiikMrBpNuAp2dhAO/yCyRpR4b4yolbLdp4Y+a9CLWnkz\nrL3C2k+cseuK9nxBs4/fJftFhJTpAXG98yC4uk+3CjmRAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2024-01-08T11:57:08Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:41021" -time="2024-01-08T11:57:08Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[MKDnIRXyGA/26WvE3yjpCATVaOOYzyj9sG2/LPtnez6u4FToY2ZPzKnLQx4SEKOGIbEos14hcuta8l10fOhD67J8K2Kfwcro2XQnHQmgB4pbnFVX2GfqgEEpuLf5EaEnBAvmiq8o4F1OKD2FCf85GnHpJ10BxZWqYX7iM7Ny/6WPQQcpVAF8Rs+QytvarISfdR1UOChP/h8DPRYkD6rFKd0YIum9uF3RtgAD8FEB4V+UHCNDHlpP/gWtOiwLBKzEwp7Sscy4FRXePClQqLbtGZj7qcOLxOEhmYnyevYVAjw7t7ZKupObTzq/0r/TndsjT6hgU6YRJQaFo2m2vtLdKKbQWeNUGseSLKcLr4JFR8T6p7kP8kYM06jTlCXWRHHc75isc6Oca+MZOTe75TaInwq3OC2AepQ3YbI2o15WZDoyH3VXd1OWlXaPdu2mSSyenoO30xALVkbEwk4ty8SHK0IAJVSwgjdY68PS5lvdGEUtVgiWxysrZCUGdh4fvtDF]] 0x2077020 701 [] false 127.0.0.1:41021 map[] map[] map[] 127.0.0.1:58430 /api/devices/v1/authentication/auth_requests 0x20dcd00}" -time="2024-01-08T11:57:08Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[9] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 08 Jan 2024 11:57:08 GMT]] 0x25baee0 9 [] false false map[] 0x2136c00 }" -time="2024-01-08T11:57:08Z" level=debug msg="Receive response data" -time="2024-01-08T11:57:08Z" level=debug msg="Received response data: [116 111 107 101 110 100 97 116 97]" -time="2024-01-08T11:57:08Z" level=info msg="got deployments log/status request &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x2077170 21 [] false 127.0.0.1:41021 map[] map[] map[] 127.0.0.1:58430 /api/devices/v1/deployments/device/deployments/foobar/status 0x20dcfa0}" -time="2024-01-08T11:57:08Z" level=info msg="request for foobar/status" -time="2024-01-08T11:57:08Z" level=info msg="got status request deployment ID: foobar, &{PUT /api/devices/v1/deployments/device/deployments/foobar/status HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer tokendata] Content-Length:[21] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x2077170 21 [] false 127.0.0.1:41021 map[] map[] map[] 127.0.0.1:58430 /api/devices/v1/deployments/device/deployments/foobar/status 0x20dcfa0}" -time="2024-01-08T11:57:08Z" level=warning msg="Status report rejected, deployment aborted at the backend" -time="2024-01-08T11:57:08Z" level=error msg="error reporting update status: (request_id: ): deployment was aborted server error message: failed to parse server response: EOF" ---- PASS: TestMenderReportStatus (4.78s) +time="2024-01-08T12:25:35Z" level=debug msg="Private key does not exist" +time="2024-01-08T12:25:35Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2024-01-08T12:25:35Z" level=info msg="authorization data present and valid, skipping authorization attempt" +time="2024-01-08T12:25:35Z" 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]] 0x14a78f0 21 [] false 127.0.0.1:46177 map[] map[] map[] 127.0.0.1:39928 /api/devices/v1/deployments/device/deployments/foobar/status 0x169fea0}" +time="2024-01-08T12:25:35Z" level=info msg="request for foobar/status" +time="2024-01-08T12:25:35Z" 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]] 0x14a78f0 21 [] false 127.0.0.1:46177 map[] map[] map[] 127.0.0.1:39928 /api/devices/v1/deployments/device/deployments/foobar/status 0x169fea0}" +time="2024-01-08T12:25:35Z" level=debug msg="Status reported, response 204 No Content" +time="2024-01-08T12:25:35Z" 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]] 0x14a7b00 21 [] false 127.0.0.1:46177 map[] map[] map[] 127.0.0.1:39928 /api/devices/v1/deployments/device/deployments/foobar/status 0x16b6320}" +time="2024-01-08T12:25:35Z" level=info msg="request for foobar/status" +time="2024-01-08T12:25:35Z" 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]] 0x14a7b00 21 [] false 127.0.0.1:46177 map[] map[] map[] 127.0.0.1:39928 /api/devices/v1/deployments/device/deployments/foobar/status 0x16b6320}" +time="2024-01-08T12:25:35Z" level=error msg="bad token, got Bearer tokendata expected footoken" +time="2024-01-08T12:25:35Z" level=info msg="Device unauthorized; attempting reauthorization" +time="2024-01-08T12:25:35Z" level=debug msg="Needs keys" +time="2024-01-08T12:25:35Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2024-01-08T12:25:52Z" level=debug msg="Tenant token: " +time="2024-01-08T12:25:52Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEArA+YxysXJTXywrCyJH+J\nelZZ8Zoct/SHaepDPrW1TC8yFVHjXy+YPJNS1Ih1SNJn5VoqjXpjg9k2Cvpnh0OP\nlh0BAWJ7EXeykM8tHdNq7MVUhOAB9g5p+iRbBXMqsKQUa3vwCP9LSsEmoTdD7nrr\nPPtcBWxDnobbKT0YznxBzMwgTVxHt/Vglne1pVOONUR5V1TEfMg1FD1XxBBzL68m\nUxUIu+PvTCGSgRFSJgPOvhHqwu9TsZrijNrBNiZvzckMWm9TlSdvJ6V1TpsST+XM\nBjPN+r38uxPkGd9wdUw4I4/jIeIZRWT619z1AnGYzwuhyInT0a/t6ukbs71HFY4u\n4XljMlFx4asC6v0ugocfz2vunSDYwA8fHO9QYfHXm0ZEwUQorkR4JYc8CdxgUPuj\n022NcGLqrJjyz8Cvm81OdYv5PM4eRFmjteIvBgDYCbKh6H8yEfOE0MHaIDiw4TAZ\njXTVjfoRHeRHxaNsCwsirNnrA0aGAYdszROw1XeTAdvHAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2024-01-08T12:25:52Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:46177" +time="2024-01-08T12:25:52Z" 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:[UX2WGsZTmqis2QpQfdYoVL0R4Inro/VqOWdUgc3szAZxDwWsgrRoORp4DKjFa9GSDEDH5BpCjTy5NiHMzpDxxxAuHo00WFQaI431Bz9aC3SReJmMTk1WnaxreM1q+gYJuRhdiVBb+i3ITy6r3WJCW7+Rjcu3l+SDZtwucSjILJR6W3yl0eK65hZBQOwLXsyaH155Um9DPNG+jvIENk7dVH2WK3JurY1or96v9CsV58k3vRD2pWvG44mZJEapXUngz8sT7/Bhh83tS+AOydUG1zLB5RtwwCYbZdlF3AcuCppVvzNq/w6nohxKPK0lYN0wMGwZj7LOk2b34wGuYy7uBuaI1W4K8lZWEP33kTJfmET1qhtIBA/I8X9aW9mUMV+ojuKJV5d6rA4+By8bUM8o/K9N825fTNDnpNmfJYL1aSFj5WhJIQVFedwiuG6iBizQbKQ2vWiqB3884AAb92msV4GOpRWHuddU3zUkWZRbkqxUTxVuULoGm8o3123FLhMg]] 0x14a7ce0 701 [] false 127.0.0.1:46177 map[] map[] map[] 127.0.0.1:39928 /api/devices/v1/authentication/auth_requests 0x16b6580}" +time="2024-01-08T12:25:52Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Mon, 08 Jan 2024 12:25:52 GMT]] 0x1497b90 0 [] false false map[] 0x15e4100 }" +time="2024-01-08T12:25:52Z" level=warning msg="Reauthorization failed with error: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: failed to parse server response: EOF" +time="2024-01-08T12:25:52Z" level=error msg="Got unexpected HTTP status when reporting status: 401" +time="2024-01-08T12:25:52Z" level=error msg="error reporting update status: (request_id: ): reporting status failed, bad status 401 server error message: failed to parse server response: EOF" +time="2024-01-08T12:25:52Z" 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]] 0x14a7e90 21 [] false 127.0.0.1:46177 map[] map[] map[] 127.0.0.1:39928 /api/devices/v1/deployments/device/deployments/foobar/status 0x16b69c0}" +time="2024-01-08T12:25:52Z" level=info msg="request for foobar/status" +time="2024-01-08T12:25:52Z" 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]] 0x14a7e90 21 [] false 127.0.0.1:46177 map[] map[] map[] 127.0.0.1:39928 /api/devices/v1/deployments/device/deployments/foobar/status 0x16b69c0}" +time="2024-01-08T12:25:52Z" level=error msg="bad authorization value: Bearer" +time="2024-01-08T12:25:52Z" level=info msg="Device unauthorized; attempting reauthorization" +time="2024-01-08T12:25:52Z" level=debug msg="Tenant token: " +time="2024-01-08T12:25:52Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEArA+YxysXJTXywrCyJH+J\nelZZ8Zoct/SHaepDPrW1TC8yFVHjXy+YPJNS1Ih1SNJn5VoqjXpjg9k2Cvpnh0OP\nlh0BAWJ7EXeykM8tHdNq7MVUhOAB9g5p+iRbBXMqsKQUa3vwCP9LSsEmoTdD7nrr\nPPtcBWxDnobbKT0YznxBzMwgTVxHt/Vglne1pVOONUR5V1TEfMg1FD1XxBBzL68m\nUxUIu+PvTCGSgRFSJgPOvhHqwu9TsZrijNrBNiZvzckMWm9TlSdvJ6V1TpsST+XM\nBjPN+r38uxPkGd9wdUw4I4/jIeIZRWT619z1AnGYzwuhyInT0a/t6ukbs71HFY4u\n4XljMlFx4asC6v0ugocfz2vunSDYwA8fHO9QYfHXm0ZEwUQorkR4JYc8CdxgUPuj\n022NcGLqrJjyz8Cvm81OdYv5PM4eRFmjteIvBgDYCbKh6H8yEfOE0MHaIDiw4TAZ\njXTVjfoRHeRHxaNsCwsirNnrA0aGAYdszROw1XeTAdvHAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2024-01-08T12:25:52Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:46177" +time="2024-01-08T12:25:52Z" 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:[UX2WGsZTmqis2QpQfdYoVL0R4Inro/VqOWdUgc3szAZxDwWsgrRoORp4DKjFa9GSDEDH5BpCjTy5NiHMzpDxxxAuHo00WFQaI431Bz9aC3SReJmMTk1WnaxreM1q+gYJuRhdiVBb+i3ITy6r3WJCW7+Rjcu3l+SDZtwucSjILJR6W3yl0eK65hZBQOwLXsyaH155Um9DPNG+jvIENk7dVH2WK3JurY1or96v9CsV58k3vRD2pWvG44mZJEapXUngz8sT7/Bhh83tS+AOydUG1zLB5RtwwCYbZdlF3AcuCppVvzNq/w6nohxKPK0lYN0wMGwZj7LOk2b34wGuYy7uBuaI1W4K8lZWEP33kTJfmET1qhtIBA/I8X9aW9mUMV+ojuKJV5d6rA4+By8bUM8o/K9N825fTNDnpNmfJYL1aSFj5WhJIQVFedwiuG6iBizQbKQ2vWiqB3884AAb92msV4GOpRWHuddU3zUkWZRbkqxUTxVuULoGm8o3123FLhMg]] 0x17840c0 701 [] false 127.0.0.1:46177 map[] map[] map[] 127.0.0.1:39928 /api/devices/v1/authentication/auth_requests 0x16b6f80}" +time="2024-01-08T12:25:52Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[9] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 08 Jan 2024 12:25:52 GMT]] 0x1804160 9 [] false false map[] 0x17fd580 }" +time="2024-01-08T12:25:52Z" level=debug msg="Receive response data" +time="2024-01-08T12:25:52Z" level=debug msg="Received response data: [116 111 107 101 110 100 97 116 97]" +time="2024-01-08T12:25:52Z" 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]] 0x1784330 21 [] false 127.0.0.1:46177 map[] map[] map[] 127.0.0.1:39928 /api/devices/v1/deployments/device/deployments/foobar/status 0x16b7340}" +time="2024-01-08T12:25:52Z" level=info msg="request for foobar/status" +time="2024-01-08T12:25:52Z" 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]] 0x1784330 21 [] false 127.0.0.1:46177 map[] map[] map[] 127.0.0.1:39928 /api/devices/v1/deployments/device/deployments/foobar/status 0x16b7340}" +time="2024-01-08T12:25:52Z" level=warning msg="Status report rejected, deployment aborted at the backend" +time="2024-01-08T12:25:52Z" level=error msg="error reporting update status: (request_id: ): deployment was aborted server error message: failed to parse server response: EOF" +--- PASS: TestMenderReportStatus (16.34s) === RUN TestMenderLogUpload -time="2024-01-08T11:57:08Z" level=debug msg="Private key does not exist" -time="2024-01-08T11:57:08Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-08T11:57:08Z" level=info msg="authorization data present and valid, skipping authorization attempt" -time="2024-01-08T11:57:08Z" 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]] 0x25b9080 136 [] false 127.0.0.1:41915 map[] map[] map[] 127.0.0.1:60012 /api/devices/v1/deployments/device/deployments/foobar/log 0x200d860}" -time="2024-01-08T11:57:08Z" level=info msg="request for foobar/log" -time="2024-01-08T11:57:08Z" 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]] 0x25b9080 136 [] false 127.0.0.1:41915 map[] map[] map[] 127.0.0.1:60012 /api/devices/v1/deployments/device/deployments/foobar/log 0x200d860}" -time="2024-01-08T11:57:08Z" level=info msg="got logs: [123 32 34 109 101 115 115 97 103 101 115 34 58 10 91 123 32 34 116 105 109 101 34 58 32 34 49 50 58 49 50 58 49 50 34 44 32 34 108 101 118 101 108 34 58 32 34 101 114 114 111 114 34 44 32 34 109 115 103 34 58 32 34 108 111 103 32 102 111 111 34 32 125 44 10 123 32 34 116 105 109 101 34 58 32 34 49 50 58 49 50 58 49 51 34 44 32 34 108 101 118 101 108 34 58 32 34 100 101 98 117 103 34 44 32 34 109 115 103 34 58 32 34 108 111 103 32 98 97 114 34 32 125 93 10 125]" -time="2024-01-08T11:57:08Z" level=debug msg="Logs uploaded, response &{204 No Content 204 HTTP/1.1 1 1 map[Date:[Mon, 08 Jan 2024 11:57:08 GMT]] 0x25bb150 0 [] false false map[] 0x21ac680 }" -time="2024-01-08T11:57:08Z" 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]] 0x25b93e0 136 [] false 127.0.0.1:41915 map[] map[] map[] 127.0.0.1:60012 /api/devices/v1/deployments/device/deployments/foobar/log 0x200de00}" -time="2024-01-08T11:57:08Z" level=info msg="request for foobar/log" -time="2024-01-08T11:57:08Z" 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]] 0x25b93e0 136 [] false 127.0.0.1:41915 map[] map[] map[] 127.0.0.1:60012 /api/devices/v1/deployments/device/deployments/foobar/log 0x200de00}" -time="2024-01-08T11:57:08Z" level=error msg="bad token, got Bearer tokendata expected footoken" -time="2024-01-08T11:57:08Z" level=info msg="Device unauthorized; attempting reauthorization" -time="2024-01-08T11:57:08Z" level=debug msg="Needs keys" -time="2024-01-08T11:57:08Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2024-01-08T11:57:16Z" level=debug msg="Tenant token: " -time="2024-01-08T11:57:16Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA6h1zSnAw11I//xvofVlt\nGTg0VHN7nM07gCmbGi44JB7IIrjNOCEmWsWHPK/JGW1ifiWfnLcv7wi8cTJlCKCR\nX4U2cb0dgFUMwBvb7fAecZznJ4sUHVbZuQdQ+8EVcez7ObopqALt+uiOpuronfdE\nuRQRghUp2H0oe616Qjm7oSItxAu2/URUM2d6uH0Q5xUJPNkrkLhrWUCBjeMvTk+a\nDQerGNWQIZtlxuanpSFTuqEVBiA4LdXkad/vu9D3nmN2Q2Q1S7bVW1iLAXxm8+bF\nj+j6m9b/aLBczFpYTPIxKLiO2m61O2vXCVctOHcLAfgJVJjgED6ji6Wjs9mSM4za\n4nrLHVB07ShNUhWRUaru+TkKDMCoCoC8wYWfs2ggVftDZaVYNkeauIrj7/96qygC\nidmlUwad/A8RvsuP4DPne7h92eonCjQmiL5vc7VXZ2Pg1HlN2g01i/dpciqISDvf\nGRSPDqcxiHi6LkmcT6Qk7rCDx3ll85iS4rKSIgWkGNGfAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2024-01-08T11:57:16Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:41915" -time="2024-01-08T11:57:16Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[Pf7VKahpuksTgJQ6D29Pkn50VCjxKg2Z3XmtdOCgX9B3GkLUSOtsHafRh/O+0ixOTQk7xeCot0C94BUrAPef3EO8mKwjQjjxyKhDleb2qiUeM/YNn2jHj9M8vVVm3OEfYXfKgOAG2O8m16DP16vfafimuFQ9abnbRzF9HHlaV3zzkt6a4q7b7vPZPUSziw/jHetUkE6ssSCsCOad2GwgJNLAc2jNGHc7nymhgSExvBypRvF4U3k74MXJqFXPutPVAICVl6QL7uhdnxydVypbkpBfVfTdUe1HyBQbkjI7PsOH1KCG9dXrHSm8Cbfvj8o0a/dZNWQYylPXVKZoT7Ut3Tag+UpN6ruLPB2+uCBcjTOQ5V6MUsMPBJARKB19sqdqcjTJYpWDYgExOeb79lJGjtBqzmAiJs66yAjQu4e8dgsGlzN3J2xOgxQLHK23vFkG5tgZFZfyD0WWsH5ZSp6nAZ45m57vUrE6xKQgjPDhguZLyNlPpqfScnGMJF3+BdCR]] 0x2077350 701 [] false 127.0.0.1:41915 map[] map[] map[] 127.0.0.1:60012 /api/devices/v1/authentication/auth_requests 0x20dd200}" -time="2024-01-08T11:57:16Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Mon, 08 Jan 2024 11:57:16 GMT]] 0x2129040 0 [] false false map[] 0x25cb100 }" -time="2024-01-08T11:57:16Z" level=warning msg="Reauthorization failed with error: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: failed to parse server response: EOF" -time="2024-01-08T11:57:16Z" level=error msg="Got unexpected HTTP status when uploading log: 401" -time="2024-01-08T11:57:16Z" 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 (7.81s) +time="2024-01-08T12:25:52Z" level=debug msg="Private key does not exist" +time="2024-01-08T12:25:52Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2024-01-08T12:25:52Z" level=info msg="authorization data present and valid, skipping authorization attempt" +time="2024-01-08T12:25:52Z" 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]] 0x170e330 136 [] false 127.0.0.1:42365 map[] map[] map[] 127.0.0.1:60154 /api/devices/v1/deployments/device/deployments/foobar/log 0x172c440}" +time="2024-01-08T12:25:52Z" level=info msg="request for foobar/log" +time="2024-01-08T12:25:52Z" 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]] 0x170e330 136 [] false 127.0.0.1:42365 map[] map[] map[] 127.0.0.1:60154 /api/devices/v1/deployments/device/deployments/foobar/log 0x172c440}" +time="2024-01-08T12:25:52Z" level=info msg="got logs: [123 32 34 109 101 115 115 97 103 101 115 34 58 10 91 123 32 34 116 105 109 101 34 58 32 34 49 50 58 49 50 58 49 50 34 44 32 34 108 101 118 101 108 34 58 32 34 101 114 114 111 114 34 44 32 34 109 115 103 34 58 32 34 108 111 103 32 102 111 111 34 32 125 44 10 123 32 34 116 105 109 101 34 58 32 34 49 50 58 49 50 58 49 51 34 44 32 34 108 101 118 101 108 34 58 32 34 100 101 98 117 103 34 44 32 34 109 115 103 34 58 32 34 108 111 103 32 98 97 114 34 32 125 93 10 125]" +time="2024-01-08T12:25:52Z" level=debug msg="Logs uploaded, response &{204 No Content 204 HTTP/1.1 1 1 map[Date:[Mon, 08 Jan 2024 12:25:52 GMT]] 0x15ea570 0 [] false false map[] 0x15e4280 }" +time="2024-01-08T12:25:52Z" 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]] 0x170e690 136 [] false 127.0.0.1:42365 map[] map[] map[] 127.0.0.1:60154 /api/devices/v1/deployments/device/deployments/foobar/log 0x172ca00}" +time="2024-01-08T12:25:52Z" level=info msg="request for foobar/log" +time="2024-01-08T12:25:52Z" 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]] 0x170e690 136 [] false 127.0.0.1:42365 map[] map[] map[] 127.0.0.1:60154 /api/devices/v1/deployments/device/deployments/foobar/log 0x172ca00}" +time="2024-01-08T12:25:52Z" level=error msg="bad token, got Bearer tokendata expected footoken" +time="2024-01-08T12:25:52Z" level=info msg="Device unauthorized; attempting reauthorization" +time="2024-01-08T12:25:52Z" level=debug msg="Needs keys" +time="2024-01-08T12:25:52Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2024-01-08T12:26:01Z" level=debug msg="Tenant token: " +time="2024-01-08T12:26:01Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA2rmBpzlAtmUhL/enIRJy\nT4cLC/tFULJaoAcQWCfsisrpX3yPyd6e+l5Vy/GK4ggoB6mdaOHZsD6Bz6gxbT9v\nTIgOoP8z3Qfm1o55To3Nu/+saf+uSfOonmM19986vxwuSQEV1O9wx9K2QmS86b3M\n/Gwn0W5rqpqQlYTzGcAsn6T+8BbOR5zLNFiwuS+7dbwj8hhGuOpRVYExPXD7Q9iD\npMK+VPIb0eTDFC1GYVRES+ZpeUf2rm0xcsEPzbI9n9SiHBcc3DHDXayK2owGX/La\ndTks+FyS98pvsEwLssa03TiJljIIg+ktYGo3aC1W5sRt5QfNzhvuN3FXrCbtxfkR\nlSvbnORJxlLwpBpYxelRF7XKcMzT/j6JTpjdXrQxGq17VWBwhbpkMV2tCD4Ks28U\nfTVh1Vneji6Lt48SO6ldkDdQDmLqIg/YbqDsA1m3a0uxcoxWE5MeD/E4nSwYWO0w\n5iguwW4JPsIGvSu+iFm3RmnS99opo9dAq+0HnorqLt/5AgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2024-01-08T12:26:01Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:42365" +time="2024-01-08T12:26:01Z" 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:[a2tWiY40rdmpYXO/2fqT/U9+uPoG1+76eJGGnOrc7RinhOwwspzq50ON8dMOIBLHOK35VDXzeXAZDm56oyb19xVLn6HZHBhLlXz6WQwDuJ1yscQu7HIkkUgf2XJE8+wLQ56fmncbXOjJ+wxV9jwr7YMjr3oUjtjYxc1XZ9gew8DzDta8A6mJUCEkCC2Q5u/6kDuQh+Ziej7goDbwHCUuut5TEv1ckZVn+kRi39d4uXsnkUni3u6NzfTUpZlAB9GPHHPKAn4EuYDx43gVMQ5u6FZkVxvCrAaPhb1DY1xRGM6ZZ0hZKt28oujpFPAYCZiJ6TiLBV8LB865Bduy8GpzC3lRuqvs4ZVHtUy3VTYWKkRhhuHRvkFHbUhexQFT6qwKxEPBT4j3y7ICORV6Zmx2OLw97g8qgRYvzGrWIRjpk9QP1Kv8Wgpx+6DEZy1TEMCH8tGFS8lATYws7oeFElvjd6R23ensqI+RSF89jWfU2iWeTipQGIdBcL+SLVJBfT4v]] 0x170e8a0 701 [] false 127.0.0.1:42365 map[] map[] map[] 127.0.0.1:60154 /api/devices/v1/authentication/auth_requests 0x172d080}" +time="2024-01-08T12:26:01Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Mon, 08 Jan 2024 12:26:01 GMT]] 0x15eab40 0 [] false false map[] 0x15e4900 }" +time="2024-01-08T12:26:01Z" level=warning msg="Reauthorization failed with error: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: failed to parse server response: EOF" +time="2024-01-08T12:26:01Z" level=error msg="Got unexpected HTTP status when uploading log: 401" +time="2024-01-08T12:26:01Z" 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 (9.60s) === RUN TestAuthToken -time="2024-01-08T11:57:16Z" level=debug msg="Private key does not exist" -time="2024-01-08T11:57:16Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-08T11:57:16Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-499900942/artifact_info file." -time="2024-01-08T11:57:16Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-499900942/artifact_info" -time="2024-01-08T11:57:16Z" level=debug msg="artifact_name=fake-id" -time="2024-01-08T11:57:16Z" level=debug msg="Current manifest data: fake-id" -time="2024-01-08T11:57:16Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-499900942/device_type" -time="2024-01-08T11:57:16Z" level=debug msg="device_type=foo-bar" -time="2024-01-08T11:57:16Z" level=debug msg="Current manifest data: foo-bar" -time="2024-01-08T11:57:16Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[51] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x2422bd0 51 [] false 127.0.0.1:44707 map[] map[] map[] 127.0.0.1:58132 /api/devices/v1/deployments/device/deployments/next 0x241bb60}" -time="2024-01-08T11:57:16Z" level=debug msg="device provides not accepted by the server. Response code: 400" -time="2024-01-08T11:57:16Z" 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:44707 map[] map[] map[] 127.0.0.1:58148 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=foo-bar 0x2216c80}" -time="2024-01-08T11:57:16Z" 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:44707 map[] map[] map[] 127.0.0.1:58148 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=foo-bar 0x2216c80}" -time="2024-01-08T11:57:16Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[foo-bar]]" -time="2024-01-08T11:57:16Z" level=info msg="Device unauthorized; attempting reauthorization" -time="2024-01-08T11:57:16Z" level=debug msg="Needs keys" -time="2024-01-08T11:57:16Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2024-01-08T11:57:19Z" level=debug msg="Tenant token: " -time="2024-01-08T11:57:19Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAuW8qAVlCo8yz39Z/RwPO\ntfK5CrZBB1yHLGcgbc768pkaIW/yrup5G2KcDk44vk4uorADU2Wz7ILRmMKbFZC5\n+SNhVWT+hgjb7oJtC09yLqaZbb8L1I96WeAQPJnDByQYKKFgS+egvHKeL4e2nCwt\nSLjR1EghFiCOviQQJKwyxxXUVoK3hn4gJ5QqsrmSMcG8Wx1WwjNdeaFe2bQ+/5Kb\neOhKdS45JlXiXvcG7uxUfGOVM/ZIatd9shgYfvf4OJ0eJsNYebzWsPeRRCiQlxN+\nIc9AzdFW1FFkZmMIdhxfN6cSf4Pv35i462KTQg0/4mlZZezhKJhytxTOyG9ZYkwY\nDkFmGLzhlYtU8l+mi972gaFqVny3fwJt/cc5TA/41KrNcx/DANa7TQxRuLISdcoW\nbtj9Lu1fOtfQhvp8jFinOIlmboz7FfHXfrx+OK1vvBHMr/RenseOVi9qUiQhdV0d\nCDkv2Z+eiySRetMjSzEyyPaCSdoKWPVRI0MNbKfzjWehAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2024-01-08T11:57:19Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:44707" -time="2024-01-08T11:57:19Z" 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:[OOfs9UECDgUB5dJ4MbMfyok0eVL2EnNgCTU56XA0sSSGD8KOjhaCJROVbniq+T4v4RnBGmgA8z32p0UMKNpkohkELH4RiSxu7Ehpsvj2iPrcdRoLxETpprsht7shCzqj0MEfw/jP8U1m2n/iPVg6zGk5cZTp06eqblUmokp1NShwtqyl5CRvN6W6k95hJ+rsAdDD9o9wQtYvXTW4ZUQv/8oLa+B/uf2IceVOcFMQeWDCbf213+eqgJHUKNoo5F3kdR7303Yn5bLIuaZBpwhzw41uQSAd4x9gJWHMNqF51YInxfP+MFzD5NN8BXEydZuKIIUrqufYNac2vZR6PHYWd5rpog25v7zqejK7wKfZun9k2yh+uy9vj2A8gg9qIdxUeZaPNx5A0HYuGnSO6ig4rD47fMxDcIypLtZItDBSb2nveqhIh09OR7UwamGk/A6LL2BrdfOftSPd7kio1lZBTmV+uzg27EyVVvQ8j6BWqPPgHx7Pg/nv++KAq2Ymtp20]] 0x2100e70 701 [] false 127.0.0.1:44707 map[] map[] map[] 127.0.0.1:58148 /api/devices/v1/authentication/auth_requests 0x21bad40}" -time="2024-01-08T11:57:19Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Mon, 08 Jan 2024 11:57:19 GMT]] 0x2129480 0 [] false false map[] 0x21ac900 }" -time="2024-01-08T11:57:19Z" level=warning msg="Reauthorization failed with error: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: failed to parse server response: EOF" -time="2024-01-08T11:57:19Z" level=debug msg="Received response:401 Unauthorized" -time="2024-01-08T11:57:19Z" level=warning msg="Client not authorized to get update schedule." -time="2024-01-08T11:57:19Z" level=error msg="Error receiving scheduled update data: (request_id: ): client not authorized server error message: failed to parse server response: EOF" ---- PASS: TestAuthToken (2.86s) +time="2024-01-08T12:26:01Z" level=debug msg="Private key does not exist" +time="2024-01-08T12:26:01Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2024-01-08T12:26:01Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-415826119/artifact_info file." +time="2024-01-08T12:26:01Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-415826119/artifact_info" +time="2024-01-08T12:26:01Z" level=debug msg="artifact_name=fake-id" +time="2024-01-08T12:26:01Z" level=debug msg="Current manifest data: fake-id" +time="2024-01-08T12:26:01Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-415826119/device_type" +time="2024-01-08T12:26:01Z" level=debug msg="device_type=foo-bar" +time="2024-01-08T12:26:01Z" level=debug msg="Current manifest data: foo-bar" +time="2024-01-08T12:26:01Z" 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]] 0x16cc360 51 [] false 127.0.0.1:34517 map[] map[] map[] 127.0.0.1:59878 /api/devices/v1/deployments/device/deployments/next 0x16c6580}" +time="2024-01-08T12:26:01Z" level=debug msg="device provides not accepted by the server. Response code: 400" +time="2024-01-08T12:26:01Z" 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:34517 map[] map[] map[] 127.0.0.1:59888 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=foo-bar 0x16c69a0}" +time="2024-01-08T12:26:01Z" 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:34517 map[] map[] map[] 127.0.0.1:59888 /api/devices/v1/deployments/device/deployments/next?artifact_name=fake-id&device_type=foo-bar 0x16c69a0}" +time="2024-01-08T12:26:01Z" level=info msg="parsed URL query: map[artifact_name:[fake-id] device_type:[foo-bar]]" +time="2024-01-08T12:26:01Z" level=info msg="Device unauthorized; attempting reauthorization" +time="2024-01-08T12:26:01Z" level=debug msg="Needs keys" +time="2024-01-08T12:26:01Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2024-01-08T12:26:08Z" level=debug msg="Tenant token: " +time="2024-01-08T12:26:08Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAoEBlc00VnA2axjBt1smJ\nJcx9xkMJJZrqE/xDAi8okvrZKq5f9y5R982z0rjTXtbxQrVU0Hx/Hf3e66bI0BEF\n6kyKkpDuhQVR9nrRQLmL1sa6TK83hI+ONv5jIHkaM2MrHDFT9AOwyFAaxuZAD2Ab\nxsoefYkLksxRRL+L456LamYCdtMIFRS1WxE02j8q7tfHt80Z3ZGEw9w9rtNnhWey\n0MJv809GY6b8itKCPziEC3JrjeMqyBBTHDHKxbkgvwOdeWFqFahkz7OTMfryi9pw\nKj2GuO0z4eh6v9HrEQ7lj4wr8AeCIHg3CbY0Xf/IAOyCfNkrsqhSW3+FKSsFQhJ7\npB17Wwc/y+8xPtLW3xPCSYcvOK5JoK6EwKdNScj3rXBxkCVZ+xPCRuUFPoPU2PWE\nMfKuUn8HTkF2h6ESFlyfxdKdMw1LX/bk82pQsBGpnRx1AyiMi1HIFKdtjMyuo3pS\nxbqQHj/JQvtouCx4O4siOSLE+lVxOTBWvDX5BjSETh6DAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2024-01-08T12:26:08Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:34517" +time="2024-01-08T12:26:08Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[EHTsc4FaUf7GmegZ9ebYvOO3veQGDc4XrAX9QHhBeNCgGiwgwdFtJ3X6wqLMEEXxOK4ZSZHlGM5Qz+YSKsfIsNBBi8xgcwgNkneBpIPUWZRMaarZU+gMB1TfJG+wWWnjrxvUjpcs9eAzELBmohtiyTMUS6STJe1d14YrKFqkrX3BxLL70/4tFb+JUo1pQK9xalRyRHdKXW3WcH2j2xXEaGc2vWS7dA7OzPIrwwoX5HAokkYJzSIu8x6dz/pDsGsuDwBK/1u3yPgjD0hcZgES5JZSMQyXysPsN0tZ1lSJ0DykVfYvZEdX0x577IfUwzQ//J4X9BD8+GOKr5JriQQfK9vWg1xF9ACHBsfDjLr5h7geay6RZy8MFjOXWJpstKD6uKMKTDrcTUyR3SL0H/y9AjEG8c3xMToeHWvqoECdkZ7QOsi6KPtFoQ0CcyQhMBVFRqeZ6QVn+XWZVea6B1kXT3zQaTteEv6V+LkuVCcNZZ/4VFXtgCOe8zpb9a1Umx12]] 0x16cc7e0 701 [] false 127.0.0.1:34517 map[] map[] map[] 127.0.0.1:59888 /api/devices/v1/authentication/auth_requests 0x16c7160}" +time="2024-01-08T12:26:08Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Mon, 08 Jan 2024 12:26:08 GMT]] 0x16c4720 0 [] false false map[] 0x16d0580 }" +time="2024-01-08T12:26:08Z" level=warning msg="Reauthorization failed with error: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: failed to parse server response: EOF" +time="2024-01-08T12:26:08Z" level=debug msg="Received response:401 Unauthorized" +time="2024-01-08T12:26:08Z" level=warning msg="Client not authorized to get update schedule." +time="2024-01-08T12:26:08Z" level=error msg="Error receiving scheduled update data: (request_id: ): client not authorized server error message: failed to parse server response: EOF" +--- PASS: TestAuthToken (6.90s) === RUN TestMenderInventoryRefresh -time="2024-01-08T11:57:19Z" level=debug msg="Private key does not exist" -time="2024-01-08T11:57:19Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-08T11:57:19Z" level=info msg="authorization data present and valid, skipping authorization attempt" -time="2024-01-08T11:57:19Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-924395541/artifact_info file." -time="2024-01-08T11:57:19Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-924395541/artifact_info" -time="2024-01-08T11:57:19Z" level=debug msg="artifact_name=fake-id" -time="2024-01-08T11:57:19Z" level=debug msg="Current manifest data: fake-id" -time="2024-01-08T11:57:19Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-924395541/device_type" -time="2024-01-08T11:57:19Z" level=debug msg="device_type=foo-bar" -time="2024-01-08T11:57:19Z" level=debug msg="Current manifest data: foo-bar" -time="2024-01-08T11:57:19Z" 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]] 0x2422d50 137 [] false 127.0.0.1:36339 map[] map[] map[] 127.0.0.1:49044 /api/devices/v1/inventory/device/attributes 0x241be40}" -time="2024-01-08T11:57:19Z" level=info msg="got attrs: [{device_type foo-bar} {artifact_name fake-id} {mender_client_version unknown}]" -time="2024-01-08T11:57:19Z" level=debug msg="Inventory update sent, response &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Mon, 08 Jan 2024 11:57:19 GMT]] 0x242ab60 0 [] false false map[] 0x21acc00 }" -time="2024-01-08T11:57:19Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-924395541/artifact_info file." -time="2024-01-08T11:57:19Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-924395541/artifact_info" -time="2024-01-08T11:57:19Z" level=debug msg="artifact_name=fake-id" -time="2024-01-08T11:57:19Z" level=debug msg="Current manifest data: fake-id" -time="2024-01-08T11:57:19Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-924395541/device_type" -time="2024-01-08T11:57:19Z" level=debug msg="device_type=foo-bar" -time="2024-01-08T11:57:19Z" level=debug msg="Current manifest data: foo-bar" -time="2024-01-08T11:57:19Z" 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]] 0x25b9b00 166 [] false 127.0.0.1:36339 map[] map[] map[] 127.0.0.1:49044 /api/devices/v1/inventory/device/attributes 0x2217060}" -time="2024-01-08T11:57:19Z" level=info msg="got attrs: [{foo bar} {device_type foo-bar} {artifact_name fake-id} {mender_client_version unknown}]" -time="2024-01-08T11:57:19Z" level=debug msg="Inventory update sent, response &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Mon, 08 Jan 2024 11:57:19 GMT]] 0x2129800 0 [] false false map[] 0x241cb00 }" -time="2024-01-08T11:57:19Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-924395541/artifact_info file." -time="2024-01-08T11:57:19Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-924395541/artifact_info" -time="2024-01-08T11:57:19Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-924395541/artifact_info file." -time="2024-01-08T11:57:19Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-924395541/artifact_info" ---- PASS: TestMenderInventoryRefresh (0.04s) +time="2024-01-08T12:26:08Z" level=debug msg="Private key does not exist" +time="2024-01-08T12:26:08Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2024-01-08T12:26:08Z" level=info msg="authorization data present and valid, skipping authorization attempt" +time="2024-01-08T12:26:08Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-199047034/artifact_info file." +time="2024-01-08T12:26:08Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-199047034/artifact_info" +time="2024-01-08T12:26:08Z" level=debug msg="artifact_name=fake-id" +time="2024-01-08T12:26:08Z" level=debug msg="Current manifest data: fake-id" +time="2024-01-08T12:26:08Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-199047034/device_type" +time="2024-01-08T12:26:08Z" level=debug msg="device_type=foo-bar" +time="2024-01-08T12:26:08Z" level=debug msg="Current manifest data: foo-bar" +time="2024-01-08T12:26:08Z" 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]] 0x146a120 137 [] false 127.0.0.1:40431 map[] map[] map[] 127.0.0.1:53456 /api/devices/v1/inventory/device/attributes 0x16280a0}" +time="2024-01-08T12:26:08Z" level=info msg="got attrs: [{device_type foo-bar} {artifact_name fake-id} {mender_client_version unknown}]" +time="2024-01-08T12:26:08Z" level=debug msg="Inventory update sent, response &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Mon, 08 Jan 2024 12:26:08 GMT]] 0x140e290 0 [] false false map[] 0x16d0880 }" +time="2024-01-08T12:26:08Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-199047034/artifact_info file." +time="2024-01-08T12:26:08Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-199047034/artifact_info" +time="2024-01-08T12:26:08Z" level=debug msg="artifact_name=fake-id" +time="2024-01-08T12:26:08Z" level=debug msg="Current manifest data: fake-id" +time="2024-01-08T12:26:08Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-199047034/device_type" +time="2024-01-08T12:26:08Z" level=debug msg="device_type=foo-bar" +time="2024-01-08T12:26:08Z" level=debug msg="Current manifest data: foo-bar" +time="2024-01-08T12:26:08Z" 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]] 0x170e030 166 [] false 127.0.0.1:40431 map[] map[] map[] 127.0.0.1:53456 /api/devices/v1/inventory/device/attributes 0x16c6080}" +time="2024-01-08T12:26:08Z" level=info msg="got attrs: [{foo bar} {device_type foo-bar} {artifact_name fake-id} {mender_client_version unknown}]" +time="2024-01-08T12:26:08Z" level=debug msg="Inventory update sent, response &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Mon, 08 Jan 2024 12:26:08 GMT]] 0x140e7c0 0 [] false false map[] 0x150a200 }" +time="2024-01-08T12:26:08Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-199047034/artifact_info file." +time="2024-01-08T12:26:08Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-199047034/artifact_info" +time="2024-01-08T12:26:08Z" level=debug msg="Returning artifact name from /tmp/mender-install-update-199047034/artifact_info file." +time="2024-01-08T12:26:08Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-199047034/artifact_info" +--- PASS: TestMenderInventoryRefresh (0.07s) === RUN TestMenderStoreUpdate -time="2024-01-08T11:57:19Z" level=debug msg="Private key does not exist" -time="2024-01-08T11:57:19Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-08T11:57:19Z" level=error msg="Unable to verify the existing hardware. Update will continue anyway: : open /tmp/mender-install-update-594598671/device_type: no such file or directory" -time="2024-01-08T11:57:19Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:57:19Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2024-01-08T11:57:19Z" level=error msg="Unable to verify the existing hardware. Update will continue anyway: : open /tmp/mender-install-update-594598671/device_type: no such file or directory" -time="2024-01-08T11:57:19Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:57:19Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2024-01-08T11:57:19Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-594598671/device_type" -time="2024-01-08T11:57:19Z" level=debug msg="device_type=bogusdevicetype" -time="2024-01-08T11:57:19Z" level=debug msg="Current manifest data: bogusdevicetype" -time="2024-01-08T11:57:19Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:57:19Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2024-01-08T11:57:19Z" level=debug msg="Checking if device [bogusdevicetype] is on compatible device list: [vexpress-qemu]\n" -time="2024-01-08T11:57:19Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-594598671/device_type" -time="2024-01-08T11:57:19Z" level=debug msg="device_type=vexpress-qemu" -time="2024-01-08T11:57:19Z" level=debug msg="Current manifest data: vexpress-qemu" -time="2024-01-08T11:57:19Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:57:19Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2024-01-08T11:57:19Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2024-01-08T11:57:19Z" level=debug msg="Installer: Successfully read artifact [name: mender-1.1; version: 2; compatible devices: [vexpress-qemu]]" -time="2024-01-08T11:57:19Z" level=debug msg="Private key does not exist" -time="2024-01-08T11:57:19Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-08T11:57:19Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-594598671/device_type" -time="2024-01-08T11:57:19Z" level=debug msg="device_type=vexpress-qemu" -time="2024-01-08T11:57:19Z" level=debug msg="Current manifest data: vexpress-qemu" -time="2024-01-08T11:57:19Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:57:19Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2024-01-08T11:57:19Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2024-01-08T11:57:19Z" level=debug msg="Installer: Successfully read artifact [name: mender-1.1; version: 2; compatible devices: [vexpress-qemu]]" ---- PASS: TestMenderStoreUpdate (0.27s) +time="2024-01-08T12:26:08Z" level=debug msg="Private key does not exist" +time="2024-01-08T12:26:08Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2024-01-08T12:26:08Z" level=error msg="Unable to verify the existing hardware. Update will continue anyway: : open /tmp/mender-install-update-143152316/device_type: no such file or directory" +time="2024-01-08T12:26:08Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:08Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2024-01-08T12:26:08Z" level=error msg="Unable to verify the existing hardware. Update will continue anyway: : open /tmp/mender-install-update-143152316/device_type: no such file or directory" +time="2024-01-08T12:26:08Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:08Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2024-01-08T12:26:08Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-143152316/device_type" +time="2024-01-08T12:26:08Z" level=debug msg="device_type=bogusdevicetype" +time="2024-01-08T12:26:08Z" level=debug msg="Current manifest data: bogusdevicetype" +time="2024-01-08T12:26:08Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:08Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2024-01-08T12:26:08Z" level=debug msg="Checking if device [bogusdevicetype] is on compatible device list: [vexpress-qemu]\n" +time="2024-01-08T12:26:08Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-143152316/device_type" +time="2024-01-08T12:26:08Z" level=debug msg="device_type=vexpress-qemu" +time="2024-01-08T12:26:08Z" level=debug msg="Current manifest data: vexpress-qemu" +time="2024-01-08T12:26:08Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:08Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2024-01-08T12:26:08Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2024-01-08T12:26:08Z" level=debug msg="Installer: Successfully read artifact [name: mender-1.1; version: 2; compatible devices: [vexpress-qemu]]" +time="2024-01-08T12:26:08Z" level=debug msg="Private key does not exist" +time="2024-01-08T12:26:08Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2024-01-08T12:26:08Z" level=debug msg="Reading data from the device manifest file: /tmp/mender-install-update-143152316/device_type" +time="2024-01-08T12:26:08Z" level=debug msg="device_type=vexpress-qemu" +time="2024-01-08T12:26:08Z" level=debug msg="Current manifest data: vexpress-qemu" +time="2024-01-08T12:26:08Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:08Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2024-01-08T12:26:08Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2024-01-08T12:26:08Z" level=debug msg="Installer: Successfully read artifact [name: mender-1.1; version: 2; compatible devices: [vexpress-qemu]]" +--- PASS: TestMenderStoreUpdate (0.14s) === RUN TestMenderFetchUpdate -time="2024-01-08T11:57:19Z" level=debug msg="Private key does not exist" -time="2024-01-08T11:57:19Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-08T11:57:19Z" level=info msg="authorization data present and valid, skipping authorization attempt" -time="2024-01-08T11:57:19Z" level=warning msg="RetryPollIntervalSeconds is not defined" -time="2024-01-08T11:57:19Z" 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:33779 map[] map[] map[] 127.0.0.1:38134 /api/devices/v1/download 0x20dc040}" -time="2024-01-08T11:57:19Z" level=debug msg="Received fetch update response &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[8192] Content-Type:[application/octet-stream] Date:[Mon, 08 Jan 2024 11:57:19 GMT]] 0x200e0b0 8192 [] false false map[] 0x21ac080 }+" ---- PASS: TestMenderFetchUpdate (0.01s) +time="2024-01-08T12:26:08Z" level=debug msg="Private key does not exist" +time="2024-01-08T12:26:08Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2024-01-08T12:26:08Z" level=info msg="authorization data present and valid, skipping authorization attempt" +time="2024-01-08T12:26:08Z" level=warning msg="RetryPollIntervalSeconds is not defined" +time="2024-01-08T12:26:08Z" 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:45979 map[] map[] map[] 127.0.0.1:35628 /api/devices/v1/download 0x14901e0}" +time="2024-01-08T12:26:08Z" level=debug msg="Received fetch update response &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[8192] Content-Type:[application/octet-stream] Date:[Mon, 08 Jan 2024 12:26:08 GMT]] 0x1804110 8192 [] false false map[] 0x17fc080 }+" +--- PASS: TestMenderFetchUpdate (0.00s) === RUN TestReauthorization -time="2024-01-08T11:57:19Z" level=debug msg="Private key does not exist" -time="2024-01-08T11:57:19Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-08T11:57:19Z" level=debug msg="Needs keys" -time="2024-01-08T11:57:19Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2024-01-08T11:57:23Z" level=debug msg="Tenant token: " -time="2024-01-08T11:57:23Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAzNcIXIKqpxoAXXGR2hL3\nGnwNfNDNaKM9iLdk79NtQOAqozuU1jMhSdzjYymWO2TICPam4CG+dE0GHL0XeHOK\n3WpSpGhGni4Rnz+/3chCkD2LPGqnQkMn9p5Tp++m7Qjw8rAPLL0Ko5j4Bff5gWrP\nnvZ5DXZU006/AE4p5WnXx4qepd1R+lnf8C1ealpYd+2r0Zos7jpUVfKR+6c1Np4q\nkuYQ7LLl/AOSx6T1d8cksiamJT6U7dgcQitp+yhCw1Qim7T+nMBfWxj729EU3MVC\nZ25L9xoh4PpBd0lrPM/3K/uHJjN2zNzFdRzZgn+zINOgCdSkfRoiMKzX23nd1nQE\n3qEDGZQrgCzBvCymR2vuthb3dgAmiVL3+4KgNIF3fZ48ieTMXA7rWLqFRWMgiABJ\nriNK23o+1/Q+PfiP3pPhHS8gnrIguwIrdYJu3/XK8DLodcst0IOYmjkUhElglA7h\nbdpOvTGPEKbmAMs8d1Guev17aS9mZATYisCL/TkmOnPRAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2024-01-08T11:57:23Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:40297" -time="2024-01-08T11:57:23Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[CWeoollVQUkPhZhi9Z5NkrghR3WidckajMW/ULII9OemxiKjjtwkc0Ofv6/73R2rQ2XrqjVsTc8l49FXU+bHjfDRYGJrNal0WaGtxub4SLvNAwd0/NbCrmjDXaaVBskrKROLYKYZiHJCJoUrQCtA+YngXlRQLLQE5RObc+Vn5zPNkP/bu447XUIFwt6DGkT/WoJ1CAhx88CLzBfNDs1JvJMItVsy8fpuLGq0CJLXwTwRSuWo8jKWTrKCjmy+wOXdVyPI1RWQEy7SzzQoogs+Vyjg/seGJ145G/UuB7qBe55P02Q8jkj362cJ894P0SZw+0GdpqcDpZw74v2QjKNSqakotGToKx6j5vfZi7CxBTd6Zdv3HpnarFKaI8KG/OrQL1/asVBk9vGAJQB1ejvSWZe/p4VuAr8l7Zy8kcEe+5CKZUTLTZ6K1g1o0X4uIkXgWRlgLHo1Niv3X/0yUCKGvVd09FIiXBrdfgquye9ZzddWQUvDRZzmiQNaETto/zPA]] 0x232c060 701 [] false 127.0.0.1:40297 map[] map[] map[] 127.0.0.1:50688 /api/devices/v1/authentication/auth_requests 0x2116d40}" -time="2024-01-08T11:57:23Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 08 Jan 2024 11:57:23 GMT]] 0x21286e0 3 [] false false map[] 0x2136300 }" -time="2024-01-08T11:57:23Z" level=debug msg="Receive response data" -time="2024-01-08T11:57:23Z" level=debug msg="Received response data: [102 111 111]" -time="2024-01-08T11:57:23Z" level=info msg="successfully received new authorization data" -time="2024-01-08T11:57:23Z" level=debug msg="Returning artifact name from artifact_info file." -time="2024-01-08T11:57:23Z" level=debug msg="Reading data from the device manifest file: artifact_info" -time="2024-01-08T11:57:23Z" level=debug msg="artifact_name=mender-image" -time="2024-01-08T11:57:23Z" level=debug msg="Current manifest data: mender-image" -time="2024-01-08T11:57:23Z" level=debug msg="Reading data from the device manifest file: device_type" -time="2024-01-08T11:57:23Z" level=debug msg="device_type=dev" -time="2024-01-08T11:57:23Z" level=debug msg="Current manifest data: dev" -time="2024-01-08T11:57:23Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer foo] Content-Length:[52] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x2076450 52 [] false 127.0.0.1:40297 map[] map[] map[] 127.0.0.1:50688 /api/devices/v1/deployments/device/deployments/next 0x20dcd60}" -time="2024-01-08T11:57:23Z" level=error msg="bad token, got Bearer foo expected bar" -time="2024-01-08T11:57:23Z" level=info msg="Device unauthorized; attempting reauthorization" -time="2024-01-08T11:57:23Z" level=debug msg="Tenant token: " -time="2024-01-08T11:57:23Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAzNcIXIKqpxoAXXGR2hL3\nGnwNfNDNaKM9iLdk79NtQOAqozuU1jMhSdzjYymWO2TICPam4CG+dE0GHL0XeHOK\n3WpSpGhGni4Rnz+/3chCkD2LPGqnQkMn9p5Tp++m7Qjw8rAPLL0Ko5j4Bff5gWrP\nnvZ5DXZU006/AE4p5WnXx4qepd1R+lnf8C1ealpYd+2r0Zos7jpUVfKR+6c1Np4q\nkuYQ7LLl/AOSx6T1d8cksiamJT6U7dgcQitp+yhCw1Qim7T+nMBfWxj729EU3MVC\nZ25L9xoh4PpBd0lrPM/3K/uHJjN2zNzFdRzZgn+zINOgCdSkfRoiMKzX23nd1nQE\n3qEDGZQrgCzBvCymR2vuthb3dgAmiVL3+4KgNIF3fZ48ieTMXA7rWLqFRWMgiABJ\nriNK23o+1/Q+PfiP3pPhHS8gnrIguwIrdYJu3/XK8DLodcst0IOYmjkUhElglA7h\nbdpOvTGPEKbmAMs8d1Guev17aS9mZATYisCL/TkmOnPRAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2024-01-08T11:57:23Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:40297" -time="2024-01-08T11:57:23Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[CWeoollVQUkPhZhi9Z5NkrghR3WidckajMW/ULII9OemxiKjjtwkc0Ofv6/73R2rQ2XrqjVsTc8l49FXU+bHjfDRYGJrNal0WaGtxub4SLvNAwd0/NbCrmjDXaaVBskrKROLYKYZiHJCJoUrQCtA+YngXlRQLLQE5RObc+Vn5zPNkP/bu447XUIFwt6DGkT/WoJ1CAhx88CLzBfNDs1JvJMItVsy8fpuLGq0CJLXwTwRSuWo8jKWTrKCjmy+wOXdVyPI1RWQEy7SzzQoogs+Vyjg/seGJ145G/UuB7qBe55P02Q8jkj362cJ894P0SZw+0GdpqcDpZw74v2QjKNSqakotGToKx6j5vfZi7CxBTd6Zdv3HpnarFKaI8KG/OrQL1/asVBk9vGAJQB1ejvSWZe/p4VuAr8l7Zy8kcEe+5CKZUTLTZ6K1g1o0X4uIkXgWRlgLHo1Niv3X/0yUCKGvVd09FIiXBrdfgquye9ZzddWQUvDRZzmiQNaETto/zPA]] 0x21004e0 701 [] false 127.0.0.1:40297 map[] map[] map[] 127.0.0.1:50688 /api/devices/v1/authentication/auth_requests 0x2390ac0}" -time="2024-01-08T11:57:23Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 08 Jan 2024 11:57:23 GMT]] 0x25ba210 3 [] false false map[] 0x2208080 }" -time="2024-01-08T11:57:23Z" level=debug msg="Receive response data" -time="2024-01-08T11:57:23Z" level=debug msg="Received response data: [98 97 114]" -time="2024-01-08T11:57:23Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer bar] Content-Length:[52] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x25b85a0 52 [] false 127.0.0.1:40297 map[] map[] map[] 127.0.0.1:50688 /api/devices/v1/deployments/device/deployments/next 0x2216c20}" -time="2024-01-08T11:57:23Z" level=debug msg="device provides not accepted by the server. Response code: 400" -time="2024-01-08T11:57:23Z" 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:40297 map[] map[] map[] 127.0.0.1:50696 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x20dcfa0}" -time="2024-01-08T11:57:23Z" 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:40297 map[] map[] map[] 127.0.0.1:50696 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x20dcfa0}" -time="2024-01-08T11:57:23Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" -time="2024-01-08T11:57:23Z" level=debug msg="Received response:204 No Content" -time="2024-01-08T11:57:23Z" level=debug msg="No update available" -time="2024-01-08T11:57:23Z" level=debug msg="no updates available" -time="2024-01-08T11:57:23Z" level=debug msg="Returning artifact name from artifact_info file." -time="2024-01-08T11:57:23Z" level=debug msg="Reading data from the device manifest file: artifact_info" -time="2024-01-08T11:57:23Z" level=debug msg="artifact_name=mender-image" -time="2024-01-08T11:57:23Z" level=debug msg="Current manifest data: mender-image" -time="2024-01-08T11:57:23Z" level=debug msg="Reading data from the device manifest file: device_type" -time="2024-01-08T11:57:23Z" level=debug msg="device_type=dev" -time="2024-01-08T11:57:23Z" level=debug msg="Current manifest data: dev" -time="2024-01-08T11:57:23Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer bar] Content-Length:[52] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x25b8750 52 [] false 127.0.0.1:40297 map[] map[] map[] 127.0.0.1:50696 /api/devices/v1/deployments/device/deployments/next 0x2216f00}" -time="2024-01-08T11:57:23Z" level=error msg="bad token, got Bearer bar expected foo" -time="2024-01-08T11:57:23Z" level=info msg="Device unauthorized; attempting reauthorization" -time="2024-01-08T11:57:23Z" level=debug msg="Tenant token: " -time="2024-01-08T11:57:23Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAzNcIXIKqpxoAXXGR2hL3\nGnwNfNDNaKM9iLdk79NtQOAqozuU1jMhSdzjYymWO2TICPam4CG+dE0GHL0XeHOK\n3WpSpGhGni4Rnz+/3chCkD2LPGqnQkMn9p5Tp++m7Qjw8rAPLL0Ko5j4Bff5gWrP\nnvZ5DXZU006/AE4p5WnXx4qepd1R+lnf8C1ealpYd+2r0Zos7jpUVfKR+6c1Np4q\nkuYQ7LLl/AOSx6T1d8cksiamJT6U7dgcQitp+yhCw1Qim7T+nMBfWxj729EU3MVC\nZ25L9xoh4PpBd0lrPM/3K/uHJjN2zNzFdRzZgn+zINOgCdSkfRoiMKzX23nd1nQE\n3qEDGZQrgCzBvCymR2vuthb3dgAmiVL3+4KgNIF3fZ48ieTMXA7rWLqFRWMgiABJ\nriNK23o+1/Q+PfiP3pPhHS8gnrIguwIrdYJu3/XK8DLodcst0IOYmjkUhElglA7h\nbdpOvTGPEKbmAMs8d1Guev17aS9mZATYisCL/TkmOnPRAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2024-01-08T11:57:23Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:40297" -time="2024-01-08T11:57:23Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[CWeoollVQUkPhZhi9Z5NkrghR3WidckajMW/ULII9OemxiKjjtwkc0Ofv6/73R2rQ2XrqjVsTc8l49FXU+bHjfDRYGJrNal0WaGtxub4SLvNAwd0/NbCrmjDXaaVBskrKROLYKYZiHJCJoUrQCtA+YngXlRQLLQE5RObc+Vn5zPNkP/bu447XUIFwt6DGkT/WoJ1CAhx88CLzBfNDs1JvJMItVsy8fpuLGq0CJLXwTwRSuWo8jKWTrKCjmy+wOXdVyPI1RWQEy7SzzQoogs+Vyjg/seGJ145G/UuB7qBe55P02Q8jkj362cJ894P0SZw+0GdpqcDpZw74v2QjKNSqakotGToKx6j5vfZi7CxBTd6Zdv3HpnarFKaI8KG/OrQL1/asVBk9vGAJQB1ejvSWZe/p4VuAr8l7Zy8kcEe+5CKZUTLTZ6K1g1o0X4uIkXgWRlgLHo1Niv3X/0yUCKGvVd09FIiXBrdfgquye9ZzddWQUvDRZzmiQNaETto/zPA]] 0x20768a0 701 [] false 127.0.0.1:40297 map[] map[] map[] 127.0.0.1:50696 /api/devices/v1/authentication/auth_requests 0x20dd760}" -time="2024-01-08T11:57:23Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 08 Jan 2024 11:57:23 GMT]] 0x2128dc0 3 [] false false map[] 0x2332180 }" -time="2024-01-08T11:57:23Z" level=debug msg="Receive response data" -time="2024-01-08T11:57:23Z" level=debug msg="Received response data: [102 111 111]" -time="2024-01-08T11:57:23Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer foo] Content-Length:[52] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x2076b10 52 [] false 127.0.0.1:40297 map[] map[] map[] 127.0.0.1:50696 /api/devices/v1/deployments/device/deployments/next 0x20ddb20}" -time="2024-01-08T11:57:23Z" level=debug msg="device provides not accepted by the server. Response code: 400" -time="2024-01-08T11:57:23Z" 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:40297 map[] map[] map[] 127.0.0.1:50704 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x20dde80}" -time="2024-01-08T11:57:23Z" 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:40297 map[] map[] map[] 127.0.0.1:50704 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x20dde80}" -time="2024-01-08T11:57:23Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" -time="2024-01-08T11:57:23Z" level=info msg="Device unauthorized; attempting reauthorization" -time="2024-01-08T11:57:23Z" level=debug msg="Tenant token: " -time="2024-01-08T11:57:23Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAzNcIXIKqpxoAXXGR2hL3\nGnwNfNDNaKM9iLdk79NtQOAqozuU1jMhSdzjYymWO2TICPam4CG+dE0GHL0XeHOK\n3WpSpGhGni4Rnz+/3chCkD2LPGqnQkMn9p5Tp++m7Qjw8rAPLL0Ko5j4Bff5gWrP\nnvZ5DXZU006/AE4p5WnXx4qepd1R+lnf8C1ealpYd+2r0Zos7jpUVfKR+6c1Np4q\nkuYQ7LLl/AOSx6T1d8cksiamJT6U7dgcQitp+yhCw1Qim7T+nMBfWxj729EU3MVC\nZ25L9xoh4PpBd0lrPM/3K/uHJjN2zNzFdRzZgn+zINOgCdSkfRoiMKzX23nd1nQE\n3qEDGZQrgCzBvCymR2vuthb3dgAmiVL3+4KgNIF3fZ48ieTMXA7rWLqFRWMgiABJ\nriNK23o+1/Q+PfiP3pPhHS8gnrIguwIrdYJu3/XK8DLodcst0IOYmjkUhElglA7h\nbdpOvTGPEKbmAMs8d1Guev17aS9mZATYisCL/TkmOnPRAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2024-01-08T11:57:23Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:40297" -time="2024-01-08T11:57:23Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[CWeoollVQUkPhZhi9Z5NkrghR3WidckajMW/ULII9OemxiKjjtwkc0Ofv6/73R2rQ2XrqjVsTc8l49FXU+bHjfDRYGJrNal0WaGtxub4SLvNAwd0/NbCrmjDXaaVBskrKROLYKYZiHJCJoUrQCtA+YngXlRQLLQE5RObc+Vn5zPNkP/bu447XUIFwt6DGkT/WoJ1CAhx88CLzBfNDs1JvJMItVsy8fpuLGq0CJLXwTwRSuWo8jKWTrKCjmy+wOXdVyPI1RWQEy7SzzQoogs+Vyjg/seGJ145G/UuB7qBe55P02Q8jkj362cJ894P0SZw+0GdpqcDpZw74v2QjKNSqakotGToKx6j5vfZi7CxBTd6Zdv3HpnarFKaI8KG/OrQL1/asVBk9vGAJQB1ejvSWZe/p4VuAr8l7Zy8kcEe+5CKZUTLTZ6K1g1o0X4uIkXgWRlgLHo1Niv3X/0yUCKGvVd09FIiXBrdfgquye9ZzddWQUvDRZzmiQNaETto/zPA]] 0x2100600 701 [] false 127.0.0.1:40297 map[] map[] map[] 127.0.0.1:50704 /api/devices/v1/authentication/auth_requests 0x2390d20}" -time="2024-01-08T11:57:23Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 08 Jan 2024 11:57:23 GMT]] 0x233a290 3 [] false false map[] 0x2137080 }" -time="2024-01-08T11:57:23Z" level=debug msg="Receive response data" -time="2024-01-08T11:57:23Z" level=debug msg="Received response data: [102 111 111]" -time="2024-01-08T11:57:23Z" 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:40297 map[] map[] map[] 127.0.0.1:50704 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x2458560}" -time="2024-01-08T11:57:23Z" 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:40297 map[] map[] map[] 127.0.0.1:50704 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x2458560}" -time="2024-01-08T11:57:23Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" -time="2024-01-08T11:57:23Z" level=debug msg="Received response:401 Unauthorized" -time="2024-01-08T11:57:23Z" level=warning msg="Client not authorized to get update schedule." -time="2024-01-08T11:57:23Z" level=error msg="Error receiving scheduled update data: (request_id: ): client not authorized server error message: failed to parse server response: EOF" ---- PASS: TestReauthorization (3.97s) +time="2024-01-08T12:26:08Z" level=debug msg="Private key does not exist" +time="2024-01-08T12:26:08Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2024-01-08T12:26:08Z" level=debug msg="Needs keys" +time="2024-01-08T12:26:08Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2024-01-08T12:26:17Z" level=debug msg="Tenant token: " +time="2024-01-08T12:26:17Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA0kKA+Ag0jO/H3M/mi65/\nxpi82WDG4kOFrcpsYDJZo6mbS9GzrMNUtp77dCSWVmrHV2Fr5B3k04ZZMhH4G+mU\ng36wAavxrEksj5TKSb5n+8fdhyFZk3RWMdDtLm189G6PY8VPjnKx4fTJ15oHBjkr\nYjdrtBe6jtf15aNtR9BQ+5IcytyoV4Rm+WO6awb/uuq1DTi0FOiMAip1+dgEsfyy\ndwOaAhBq3Z6LA14AkjJdKYNC/bd6MvUHht9DUkR4NaKuFGywtvLiYLY0nQbXY0XM\nOEHftwRnhSDa9cC2gR4FYvZ/Y08Fy2e8lW+MRKmD77u7E/JEdOtsaRD0l4rjYwP3\nyQqEpAsXLLnsAh9l2KNyYbTCMC4ILVLn1soYsQ3VzCSo7ZM50fZF2uXGfXf1Tjxc\nBMuKZzNcnPzkUndIAJ8nwhMdwNSxaQ5EOqil3UiVScq94sOszNQBxDMTRY81X048\nEU1UGYd+RJ8YS9oOQblzialJm1qQLMCth1c8z4EpBfBpAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2024-01-08T12:26:17Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:46321" +time="2024-01-08T12:26:17Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[oKhtVEBBRQtxFL1x0Nom6R5mBhqy+QxAg0E/S8BDyHQC0PPQgjwX76daJd82f5pU+/doH0gHwUfUmXVpoR1GWrRztlXBTmr9v1ol/kOYqqcbmLTpVdT94rbIn3RpyQLUjAQcujZOs8LgHQ9N3p9vQu2Vl0yUlyFnKPxfj2XxKGjY0T4+2jxKJ/X5W84q5r6FCHEnwrdJaiNqkbfJ7LG2q3w96KAtLBzTsIrOInsgF1luw35+7S2AAQLDmswRHAFPTEtUqcxOJ+KddUMKa9R3+OGAlVkyMz9TvceLNGGIfSCh4ABcYVYW5W7iHvtp3ArCY/PcIVNAW1VgEWeRKops0FRlmg/C7MO/f/Jb6p0wePPh5+fru4eDkTpGKlsqhhAmxoFFV8o5qPuirhxc0oJ75lXfrwES7Buq/oElDpcWQsjoAkabiLY7SL8nlBkCm/RVcYo8C2haa/9T82tvoZ4zqAkdQj8j124ybVivqxPfNQLJjr+jKkBdstWVBrRZxsHQ]] 0x146a690 701 [] false 127.0.0.1:46321 map[] map[] map[] 127.0.0.1:46838 /api/devices/v1/authentication/auth_requests 0x1628e00}" +time="2024-01-08T12:26:17Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 08 Jan 2024 12:26:17 GMT]] 0x140eb30 3 [] false false map[] 0x15aa080 }" +time="2024-01-08T12:26:17Z" level=debug msg="Receive response data" +time="2024-01-08T12:26:17Z" level=debug msg="Received response data: [102 111 111]" +time="2024-01-08T12:26:17Z" level=info msg="successfully received new authorization data" +time="2024-01-08T12:26:17Z" level=debug msg="Returning artifact name from artifact_info file." +time="2024-01-08T12:26:17Z" level=debug msg="Reading data from the device manifest file: artifact_info" +time="2024-01-08T12:26:17Z" level=debug msg="artifact_name=mender-image" +time="2024-01-08T12:26:17Z" level=debug msg="Current manifest data: mender-image" +time="2024-01-08T12:26:17Z" level=debug msg="Reading data from the device manifest file: device_type" +time="2024-01-08T12:26:17Z" level=debug msg="device_type=dev" +time="2024-01-08T12:26:17Z" level=debug msg="Current manifest data: dev" +time="2024-01-08T12:26:17Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer foo] Content-Length:[52] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x146a9f0 52 [] false 127.0.0.1:46321 map[] map[] map[] 127.0.0.1:46838 /api/devices/v1/deployments/device/deployments/next 0x16296c0}" +time="2024-01-08T12:26:17Z" level=error msg="bad token, got Bearer foo expected bar" +time="2024-01-08T12:26:17Z" level=info msg="Device unauthorized; attempting reauthorization" +time="2024-01-08T12:26:17Z" level=debug msg="Tenant token: " +time="2024-01-08T12:26:17Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA0kKA+Ag0jO/H3M/mi65/\nxpi82WDG4kOFrcpsYDJZo6mbS9GzrMNUtp77dCSWVmrHV2Fr5B3k04ZZMhH4G+mU\ng36wAavxrEksj5TKSb5n+8fdhyFZk3RWMdDtLm189G6PY8VPjnKx4fTJ15oHBjkr\nYjdrtBe6jtf15aNtR9BQ+5IcytyoV4Rm+WO6awb/uuq1DTi0FOiMAip1+dgEsfyy\ndwOaAhBq3Z6LA14AkjJdKYNC/bd6MvUHht9DUkR4NaKuFGywtvLiYLY0nQbXY0XM\nOEHftwRnhSDa9cC2gR4FYvZ/Y08Fy2e8lW+MRKmD77u7E/JEdOtsaRD0l4rjYwP3\nyQqEpAsXLLnsAh9l2KNyYbTCMC4ILVLn1soYsQ3VzCSo7ZM50fZF2uXGfXf1Tjxc\nBMuKZzNcnPzkUndIAJ8nwhMdwNSxaQ5EOqil3UiVScq94sOszNQBxDMTRY81X048\nEU1UGYd+RJ8YS9oOQblzialJm1qQLMCth1c8z4EpBfBpAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2024-01-08T12:26:17Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:46321" +time="2024-01-08T12:26:17Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[oKhtVEBBRQtxFL1x0Nom6R5mBhqy+QxAg0E/S8BDyHQC0PPQgjwX76daJd82f5pU+/doH0gHwUfUmXVpoR1GWrRztlXBTmr9v1ol/kOYqqcbmLTpVdT94rbIn3RpyQLUjAQcujZOs8LgHQ9N3p9vQu2Vl0yUlyFnKPxfj2XxKGjY0T4+2jxKJ/X5W84q5r6FCHEnwrdJaiNqkbfJ7LG2q3w96KAtLBzTsIrOInsgF1luw35+7S2AAQLDmswRHAFPTEtUqcxOJ+KddUMKa9R3+OGAlVkyMz9TvceLNGGIfSCh4ABcYVYW5W7iHvtp3ArCY/PcIVNAW1VgEWeRKops0FRlmg/C7MO/f/Jb6p0wePPh5+fru4eDkTpGKlsqhhAmxoFFV8o5qPuirhxc0oJ75lXfrwES7Buq/oElDpcWQsjoAkabiLY7SL8nlBkCm/RVcYo8C2haa/9T82tvoZ4zqAkdQj8j124ybVivqxPfNQLJjr+jKkBdstWVBrRZxsHQ]] 0x14a6000 701 [] false 127.0.0.1:46321 map[] map[] map[] 127.0.0.1:46838 /api/devices/v1/authentication/auth_requests 0x140c880}" +time="2024-01-08T12:26:17Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 08 Jan 2024 12:26:17 GMT]] 0x16c4150 3 [] false false map[] 0x150a200 }" +time="2024-01-08T12:26:17Z" level=debug msg="Receive response data" +time="2024-01-08T12:26:17Z" level=debug msg="Received response data: [98 97 114]" +time="2024-01-08T12:26:17Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer bar] Content-Length:[52] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x14a6330 52 [] false 127.0.0.1:46321 map[] map[] map[] 127.0.0.1:46838 /api/devices/v1/deployments/device/deployments/next 0x140d280}" +time="2024-01-08T12:26:17Z" level=debug msg="device provides not accepted by the server. Response code: 400" +time="2024-01-08T12:26:17Z" 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:46321 map[] map[] map[] 127.0.0.1:46840 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x140db20}" +time="2024-01-08T12:26:17Z" 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:46321 map[] map[] map[] 127.0.0.1:46840 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x140db20}" +time="2024-01-08T12:26:17Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" +time="2024-01-08T12:26:17Z" level=debug msg="Received response:204 No Content" +time="2024-01-08T12:26:17Z" level=debug msg="No update available" +time="2024-01-08T12:26:17Z" level=debug msg="no updates available" +time="2024-01-08T12:26:17Z" level=debug msg="Returning artifact name from artifact_info file." +time="2024-01-08T12:26:17Z" level=debug msg="Reading data from the device manifest file: artifact_info" +time="2024-01-08T12:26:17Z" level=debug msg="artifact_name=mender-image" +time="2024-01-08T12:26:17Z" level=debug msg="Current manifest data: mender-image" +time="2024-01-08T12:26:17Z" level=debug msg="Reading data from the device manifest file: device_type" +time="2024-01-08T12:26:17Z" level=debug msg="device_type=dev" +time="2024-01-08T12:26:17Z" level=debug msg="Current manifest data: dev" +time="2024-01-08T12:26:17Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer bar] Content-Length:[52] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x14a69c0 52 [] false 127.0.0.1:46321 map[] map[] map[] 127.0.0.1:46840 /api/devices/v1/deployments/device/deployments/next 0x16c64c0}" +time="2024-01-08T12:26:17Z" level=error msg="bad token, got Bearer bar expected foo" +time="2024-01-08T12:26:17Z" level=info msg="Device unauthorized; attempting reauthorization" +time="2024-01-08T12:26:17Z" level=debug msg="Tenant token: " +time="2024-01-08T12:26:17Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA0kKA+Ag0jO/H3M/mi65/\nxpi82WDG4kOFrcpsYDJZo6mbS9GzrMNUtp77dCSWVmrHV2Fr5B3k04ZZMhH4G+mU\ng36wAavxrEksj5TKSb5n+8fdhyFZk3RWMdDtLm189G6PY8VPjnKx4fTJ15oHBjkr\nYjdrtBe6jtf15aNtR9BQ+5IcytyoV4Rm+WO6awb/uuq1DTi0FOiMAip1+dgEsfyy\ndwOaAhBq3Z6LA14AkjJdKYNC/bd6MvUHht9DUkR4NaKuFGywtvLiYLY0nQbXY0XM\nOEHftwRnhSDa9cC2gR4FYvZ/Y08Fy2e8lW+MRKmD77u7E/JEdOtsaRD0l4rjYwP3\nyQqEpAsXLLnsAh9l2KNyYbTCMC4ILVLn1soYsQ3VzCSo7ZM50fZF2uXGfXf1Tjxc\nBMuKZzNcnPzkUndIAJ8nwhMdwNSxaQ5EOqil3UiVScq94sOszNQBxDMTRY81X048\nEU1UGYd+RJ8YS9oOQblzialJm1qQLMCth1c8z4EpBfBpAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2024-01-08T12:26:17Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:46321" +time="2024-01-08T12:26:17Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[oKhtVEBBRQtxFL1x0Nom6R5mBhqy+QxAg0E/S8BDyHQC0PPQgjwX76daJd82f5pU+/doH0gHwUfUmXVpoR1GWrRztlXBTmr9v1ol/kOYqqcbmLTpVdT94rbIn3RpyQLUjAQcujZOs8LgHQ9N3p9vQu2Vl0yUlyFnKPxfj2XxKGjY0T4+2jxKJ/X5W84q5r6FCHEnwrdJaiNqkbfJ7LG2q3w96KAtLBzTsIrOInsgF1luw35+7S2AAQLDmswRHAFPTEtUqcxOJ+KddUMKa9R3+OGAlVkyMz9TvceLNGGIfSCh4ABcYVYW5W7iHvtp3ArCY/PcIVNAW1VgEWeRKops0FRlmg/C7MO/f/Jb6p0wePPh5+fru4eDkTpGKlsqhhAmxoFFV8o5qPuirhxc0oJ75lXfrwES7Buq/oElDpcWQsjoAkabiLY7SL8nlBkCm/RVcYo8C2haa/9T82tvoZ4zqAkdQj8j124ybVivqxPfNQLJjr+jKkBdstWVBrRZxsHQ]] 0x1492060 701 [] false 127.0.0.1:46321 map[] map[] map[] 127.0.0.1:46840 /api/devices/v1/authentication/auth_requests 0x14902c0}" +time="2024-01-08T12:26:17Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 08 Jan 2024 12:26:17 GMT]] 0x18042b0 3 [] false false map[] 0x17fc080 }" +time="2024-01-08T12:26:17Z" level=debug msg="Receive response data" +time="2024-01-08T12:26:17Z" level=debug msg="Received response data: [102 111 111]" +time="2024-01-08T12:26:17Z" level=info msg="got update request &{POST /api/devices/v1/deployments/device/deployments/next HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer foo] Content-Length:[52] Content-Type:[application/json] User-Agent:[Go-http-client/1.1]] 0x14922d0 52 [] false 127.0.0.1:46321 map[] map[] map[] 127.0.0.1:46840 /api/devices/v1/deployments/device/deployments/next 0x1490940}" +time="2024-01-08T12:26:17Z" level=debug msg="device provides not accepted by the server. Response code: 400" +time="2024-01-08T12:26:17Z" 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:46321 map[] map[] map[] 127.0.0.1:46856 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x1490d80}" +time="2024-01-08T12:26:17Z" 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:46321 map[] map[] map[] 127.0.0.1:46856 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x1490d80}" +time="2024-01-08T12:26:17Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" +time="2024-01-08T12:26:17Z" level=info msg="Device unauthorized; attempting reauthorization" +time="2024-01-08T12:26:17Z" level=debug msg="Tenant token: " +time="2024-01-08T12:26:17Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA0kKA+Ag0jO/H3M/mi65/\nxpi82WDG4kOFrcpsYDJZo6mbS9GzrMNUtp77dCSWVmrHV2Fr5B3k04ZZMhH4G+mU\ng36wAavxrEksj5TKSb5n+8fdhyFZk3RWMdDtLm189G6PY8VPjnKx4fTJ15oHBjkr\nYjdrtBe6jtf15aNtR9BQ+5IcytyoV4Rm+WO6awb/uuq1DTi0FOiMAip1+dgEsfyy\ndwOaAhBq3Z6LA14AkjJdKYNC/bd6MvUHht9DUkR4NaKuFGywtvLiYLY0nQbXY0XM\nOEHftwRnhSDa9cC2gR4FYvZ/Y08Fy2e8lW+MRKmD77u7E/JEdOtsaRD0l4rjYwP3\nyQqEpAsXLLnsAh9l2KNyYbTCMC4ILVLn1soYsQ3VzCSo7ZM50fZF2uXGfXf1Tjxc\nBMuKZzNcnPzkUndIAJ8nwhMdwNSxaQ5EOqil3UiVScq94sOszNQBxDMTRY81X048\nEU1UGYd+RJ8YS9oOQblzialJm1qQLMCth1c8z4EpBfBpAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2024-01-08T12:26:17Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:46321" +time="2024-01-08T12:26:17Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[oKhtVEBBRQtxFL1x0Nom6R5mBhqy+QxAg0E/S8BDyHQC0PPQgjwX76daJd82f5pU+/doH0gHwUfUmXVpoR1GWrRztlXBTmr9v1ol/kOYqqcbmLTpVdT94rbIn3RpyQLUjAQcujZOs8LgHQ9N3p9vQu2Vl0yUlyFnKPxfj2XxKGjY0T4+2jxKJ/X5W84q5r6FCHEnwrdJaiNqkbfJ7LG2q3w96KAtLBzTsIrOInsgF1luw35+7S2AAQLDmswRHAFPTEtUqcxOJ+KddUMKa9R3+OGAlVkyMz9TvceLNGGIfSCh4ABcYVYW5W7iHvtp3ArCY/PcIVNAW1VgEWeRKops0FRlmg/C7MO/f/Jb6p0wePPh5+fru4eDkTpGKlsqhhAmxoFFV8o5qPuirhxc0oJ75lXfrwES7Buq/oElDpcWQsjoAkabiLY7SL8nlBkCm/RVcYo8C2haa/9T82tvoZ4zqAkdQj8j124ybVivqxPfNQLJjr+jKkBdstWVBrRZxsHQ]] 0x14a6b10 701 [] false 127.0.0.1:46321 map[] map[] map[] 127.0.0.1:46856 /api/devices/v1/authentication/auth_requests 0x16c68c0}" +time="2024-01-08T12:26:17Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 08 Jan 2024 12:26:17 GMT]] 0x16c4a50 3 [] false false map[] 0x150a900 }" +time="2024-01-08T12:26:17Z" level=debug msg="Receive response data" +time="2024-01-08T12:26:17Z" level=debug msg="Received response data: [102 111 111]" +time="2024-01-08T12:26:17Z" 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:46321 map[] map[] map[] 127.0.0.1:46856 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x16c6c80}" +time="2024-01-08T12:26:17Z" 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:46321 map[] map[] map[] 127.0.0.1:46856 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x16c6c80}" +time="2024-01-08T12:26:17Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" +time="2024-01-08T12:26:17Z" level=debug msg="Received response:401 Unauthorized" +time="2024-01-08T12:26:17Z" level=warning msg="Client not authorized to get update schedule." +time="2024-01-08T12:26:17Z" level=error msg="Error receiving scheduled update data: (request_id: ): client not authorized server error message: failed to parse server response: EOF" +--- PASS: TestReauthorization (8.96s) === RUN TestFailoverServers -time="2024-01-08T11:57:23Z" level=debug msg="Private key does not exist" -time="2024-01-08T11:57:23Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-08T11:57:23Z" level=debug msg="Needs keys" -time="2024-01-08T11:57:23Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2024-01-08T11:57:33Z" level=debug msg="Tenant token: " -time="2024-01-08T11:57:33Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA2b+/TeGm3zyeZYH4JhcP\nWUud1SifnVlSfxSVo4JyiloAVvrZ/0mnOggrxgLgMNYk60YX5NjBOOYSXOu8Lkwk\nrhMsm8Q9LuSkRbDmJqXPzCvqDuY0WuRqYNe39VPyqZQcpSdn/N/QqmI1rov3yeqO\n5DKrhPLWmOHXiewUh+KGPkXjRgCnFEzqSsEA1prMwnGNSkKfoJT1MsGzQrl27ylB\nuuGvx2VQVNz1bYLlZiBmR+crTDObJM3sEm0HTTifN3S2UTAeF2qc4xclzFq+pMIL\nfa5TiNvVaXvUyhj5ZoQsBFXYAuNYiDxEDs38m6YAC9/NPD0qjW/WqhN9vKffSX/1\nknsrTzIiwXb5ZAQT+K6uk2TWR7G2C8pCGNuw/GQ2x77nWU6pACdqQ2inSA2M17lN\n4odIgB14swVwwjHDZedTcEdwjOL2T+vGz0XYp3EdZoorGuIea2dpJia2i7i1oBws\nmD03T9zWUHyMwA6pwKx2z0zTfU4n/pKSvFCcFPUBHJoDAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2024-01-08T11:57:33Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:40629" -time="2024-01-08T11:57:33Z" 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:[1ppFvlqKhCTtJSglhVZxbcxk9f1H7FZ28ZgjlX0SnGleiw4drwQRqQQfhK1d+QAoRfvlBNHBbys1/h7x90xvsh174MQNHFdzpyEW3+TLoKU23X9CQGwS/SQGbJ78gNPC2UnggJqv32RchGoZEQQWPD6EFo9zoyKn1ro5loiqte0Ppfujor6FUyU0z9MFaCbvrFrb2i8OaxoJ41+urvuXrFWRHGdnVAauUXpV7V+s12H8L9HxRliYFS/3Z67kJIkRt4TK9mblW6qvoiHqNDsQPccYznMM7G7N7FVchNU6PvNSUxFP3aykq387A/IkNk1N58+0gan0xahn1M1F1Nui3CikdG3wt9HZ2TfMh8mqq+Ieivj7BA4CeBtovQ2IgY+TurxJOGYDbK2IsbVcGDzh0UBMcwVH/7UncswCyaV7NReB/2NucEIvcFyvnJmOeZ8g36MwhJRCKWQG2cDnv8mZGaa3IElKYfp1gUHV5hZfulytYc8V3w25w9yN8aJlP072]] 0x25b8870 701 [] false 127.0.0.1:40629 map[] map[] map[] 127.0.0.1:36316 /api/devices/v1/authentication/auth_requests 0x2217180}" -time="2024-01-08T11:57:33Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Mon, 08 Jan 2024 11:57:33 GMT]] 0x25ba6b0 0 [] false false map[] 0x2208480 }" -time="2024-01-08T11:57:33Z" level=warning msg="Failed to authorize \"http://127.0.0.1:40629\"; attempting \"http://127.0.0.1:36723\"." -time="2024-01-08T11:57:33Z" level=debug msg="Tenant token: " -time="2024-01-08T11:57:33Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA2b+/TeGm3zyeZYH4JhcP\nWUud1SifnVlSfxSVo4JyiloAVvrZ/0mnOggrxgLgMNYk60YX5NjBOOYSXOu8Lkwk\nrhMsm8Q9LuSkRbDmJqXPzCvqDuY0WuRqYNe39VPyqZQcpSdn/N/QqmI1rov3yeqO\n5DKrhPLWmOHXiewUh+KGPkXjRgCnFEzqSsEA1prMwnGNSkKfoJT1MsGzQrl27ylB\nuuGvx2VQVNz1bYLlZiBmR+crTDObJM3sEm0HTTifN3S2UTAeF2qc4xclzFq+pMIL\nfa5TiNvVaXvUyhj5ZoQsBFXYAuNYiDxEDs38m6YAC9/NPD0qjW/WqhN9vKffSX/1\nknsrTzIiwXb5ZAQT+K6uk2TWR7G2C8pCGNuw/GQ2x77nWU6pACdqQ2inSA2M17lN\n4odIgB14swVwwjHDZedTcEdwjOL2T+vGz0XYp3EdZoorGuIea2dpJia2i7i1oBws\nmD03T9zWUHyMwA6pwKx2z0zTfU4n/pKSvFCcFPUBHJoDAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2024-01-08T11:57:33Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:36723" -time="2024-01-08T11:57:33Z" 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:[1ppFvlqKhCTtJSglhVZxbcxk9f1H7FZ28ZgjlX0SnGleiw4drwQRqQQfhK1d+QAoRfvlBNHBbys1/h7x90xvsh174MQNHFdzpyEW3+TLoKU23X9CQGwS/SQGbJ78gNPC2UnggJqv32RchGoZEQQWPD6EFo9zoyKn1ro5loiqte0Ppfujor6FUyU0z9MFaCbvrFrb2i8OaxoJ41+urvuXrFWRHGdnVAauUXpV7V+s12H8L9HxRliYFS/3Z67kJIkRt4TK9mblW6qvoiHqNDsQPccYznMM7G7N7FVchNU6PvNSUxFP3aykq387A/IkNk1N58+0gan0xahn1M1F1Nui3CikdG3wt9HZ2TfMh8mqq+Ieivj7BA4CeBtovQ2IgY+TurxJOGYDbK2IsbVcGDzh0UBMcwVH/7UncswCyaV7NReB/2NucEIvcFyvnJmOeZ8g36MwhJRCKWQG2cDnv8mZGaa3IElKYfp1gUHV5hZfulytYc8V3w25w9yN8aJlP072]] 0x2077260 701 [] false 127.0.0.1:36723 map[] map[] map[] 127.0.0.1:58934 /api/devices/v1/authentication/auth_requests 0x2458a20}" -time="2024-01-08T11:57:33Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 08 Jan 2024 11:57:33 GMT]] 0x25ba8a0 3 [] false false map[] 0x21ac680 }" -time="2024-01-08T11:57:33Z" level=debug msg="Receive response data" -time="2024-01-08T11:57:33Z" level=debug msg="Received response data: [106 119 116]" -time="2024-01-08T11:57:33Z" level=info msg="successfully received new authorization data" -time="2024-01-08T11:57:33Z" level=debug msg="Returning artifact name from artifact_info file." -time="2024-01-08T11:57:33Z" level=debug msg="Reading data from the device manifest file: artifact_info" -time="2024-01-08T11:57:33Z" level=debug msg="artifact_name=mender-image" -time="2024-01-08T11:57:33Z" level=debug msg="Current manifest data: mender-image" -time="2024-01-08T11:57:33Z" level=debug msg="Reading data from the device manifest file: device_type" -time="2024-01-08T11:57:33Z" level=debug msg="device_type=dev" -time="2024-01-08T11:57:33Z" level=debug msg="Current manifest data: dev" -time="2024-01-08T11:57:33Z" 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]] 0x2100a80 52 [] false 127.0.0.1:40629 map[] map[] map[] 127.0.0.1:36316 /api/devices/v1/deployments/device/deployments/next 0x2391840}" -time="2024-01-08T11:57:33Z" level=warning msg="Server \"http://127.0.0.1:40629\" failed to serve request \"/api/devices/v1/deployments/device/deployments/next\". Attempting \"http://127.0.0.1:36723\"" -time="2024-01-08T11:57:33Z" 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]] 0x232c3c0 52 [] false 127.0.0.1:36723 map[] map[] map[] 127.0.0.1:58946 /api/devices/v1/deployments/device/deployments/next 0x2117e60}" -time="2024-01-08T11:57:33Z" level=debug msg="device provides not accepted by the server. Response code: 400" -time="2024-01-08T11:57:33Z" 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:40629 map[] map[] map[] 127.0.0.1:36322 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x24f00c0}" -time="2024-01-08T11:57:33Z" 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:40629 map[] map[] map[] 127.0.0.1:36322 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x24f00c0}" -time="2024-01-08T11:57:33Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" -2024/01/08 11:57:33 http: panic serving 127.0.0.1:36322: runtime error: invalid memory address or nil pointer dereference -goroutine 197 [running]: -net/http.(*conn).serve.func1(0x232a1e0) +time="2024-01-08T12:26:17Z" level=debug msg="Private key does not exist" +time="2024-01-08T12:26:17Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2024-01-08T12:26:17Z" level=debug msg="Needs keys" +time="2024-01-08T12:26:17Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2024-01-08T12:26:24Z" level=debug msg="Tenant token: " +time="2024-01-08T12:26:24Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA3JJhqkYtaSatiZ/U+E+w\njtYjiAIYishIVrQHF4LyyyW/pBC1uMQaWUCmE7yJNJc8BjW4R/rMQ5oI1z1ey50T\nyqmyYkT7PmlYwDqx8H07fpgishAs3LWRRygwF7kufZp7rQO2bvip13ONEoyiDU0S\nAbEni5g4OjfTj+jnDRxmgIhbsqSebKTVlt6Qne1fjQ+CcHWOf6Io7z2WY2ukhFjR\n3RQIM9RSYtO67favD8hSHB5XeX3oQgid6cEiFBnlfVfzjafXE/yzYz6D3CLINT1E\nf2GACxNbz4m3RgPUdD0jXeIel4xt6qXD/Wu0Ggz2E9JH6VgqlWfvqTxWYR/uqM+4\n+K9W896wzDxeKPfeC0o0skMIJSgZywJtJHfSWlMUQKfhQwTkvd3FbVgMY51ubA30\n3sdOasYlqbY74DmoGysHAu/fwLrMyJfhAsiAoD2J6wPkQFNOiadnsEvctFDcpwmq\nHGMxM4w2zSGRUSJUyaZfuRPkf7ix+bjgOD7SLgbPn/V7AgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2024-01-08T12:26:24Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:45813" +time="2024-01-08T12:26:24Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[N7HgvgNAxBiTAv+Sv35lAd4Xu+2hxsn9toucE3r7O1P9kUS8QW61YI4tIBFl2SypHVm+JH6+D3Ye3T8jY+ps28pUtLVEvKlufDe9SyQFAMmftWZ0V34STJCLdIlrBH9UZy8tfuSvdLFmIVLKvOw4bxGrAbIOIE10jrsByuTbSqLch143O9QqIJxOG3JO26dn0cMW8Ha7myK9EZblEc5bTUG/1+AzYxeSBkj3gcF7BauNzTQedXXspal+3ND0NPrYSCxK7MwD7hlDiySrR7kg4ZG1ACFpDqp4DIrva2qfZu0UE8aGcxH1gk4Dwf/o+disAfKIe0/toceK5F4sc8EZt5QrqHdQ53GYN7+0vQ6HpFrKXSuEI55/WpPmarmIXtOBaCMIFKbMeP1b9SWbQYP4tBMOqAbENN5nn71jHW9KEOEaJMn1G7PCFSrpzDEsPjIbI2QZpkAMP9oQkfGMOPnk+A/WDEvbRtWOGnqT678h+6qaQM/xBYDuLrDFkPlB/mPn]] 0x14927b0 701 [] false 127.0.0.1:45813 map[] map[] map[] 127.0.0.1:39672 /api/devices/v1/authentication/auth_requests 0x14914e0}" +time="2024-01-08T12:26:24Z" level=debug msg="Got response: &{401 Unauthorized 401 HTTP/1.1 1 1 map[Content-Length:[0] Date:[Mon, 08 Jan 2024 12:26:24 GMT]] 0x1804840 0 [] false false map[] 0x1540080 }" +time="2024-01-08T12:26:24Z" level=warning msg="Failed to authorize \"http://127.0.0.1:45813\"; attempting \"http://127.0.0.1:36137\"." +time="2024-01-08T12:26:24Z" level=debug msg="Tenant token: " +time="2024-01-08T12:26:24Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA3JJhqkYtaSatiZ/U+E+w\njtYjiAIYishIVrQHF4LyyyW/pBC1uMQaWUCmE7yJNJc8BjW4R/rMQ5oI1z1ey50T\nyqmyYkT7PmlYwDqx8H07fpgishAs3LWRRygwF7kufZp7rQO2bvip13ONEoyiDU0S\nAbEni5g4OjfTj+jnDRxmgIhbsqSebKTVlt6Qne1fjQ+CcHWOf6Io7z2WY2ukhFjR\n3RQIM9RSYtO67favD8hSHB5XeX3oQgid6cEiFBnlfVfzjafXE/yzYz6D3CLINT1E\nf2GACxNbz4m3RgPUdD0jXeIel4xt6qXD/Wu0Ggz2E9JH6VgqlWfvqTxWYR/uqM+4\n+K9W896wzDxeKPfeC0o0skMIJSgZywJtJHfSWlMUQKfhQwTkvd3FbVgMY51ubA30\n3sdOasYlqbY74DmoGysHAu/fwLrMyJfhAsiAoD2J6wPkQFNOiadnsEvctFDcpwmq\nHGMxM4w2zSGRUSJUyaZfuRPkf7ix+bjgOD7SLgbPn/V7AgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2024-01-08T12:26:24Z" level=debug msg="Making an authorization request () to server http://127.0.0.1:36137" +time="2024-01-08T12:26:24Z" level=info msg="got auth request &{POST /api/devices/v1/authentication/auth_requests HTTP/1.1 1 1 map[Accept-Encoding:[gzip] Authorization:[Bearer] Content-Length:[701] Content-Type:[application/json] User-Agent:[Go-http-client/1.1] X-Men-Signature:[N7HgvgNAxBiTAv+Sv35lAd4Xu+2hxsn9toucE3r7O1P9kUS8QW61YI4tIBFl2SypHVm+JH6+D3Ye3T8jY+ps28pUtLVEvKlufDe9SyQFAMmftWZ0V34STJCLdIlrBH9UZy8tfuSvdLFmIVLKvOw4bxGrAbIOIE10jrsByuTbSqLch143O9QqIJxOG3JO26dn0cMW8Ha7myK9EZblEc5bTUG/1+AzYxeSBkj3gcF7BauNzTQedXXspal+3ND0NPrYSCxK7MwD7hlDiySrR7kg4ZG1ACFpDqp4DIrva2qfZu0UE8aGcxH1gk4Dwf/o+disAfKIe0/toceK5F4sc8EZt5QrqHdQ53GYN7+0vQ6HpFrKXSuEI55/WpPmarmIXtOBaCMIFKbMeP1b9SWbQYP4tBMOqAbENN5nn71jHW9KEOEaJMn1G7PCFSrpzDEsPjIbI2QZpkAMP9oQkfGMOPnk+A/WDEvbRtWOGnqT678h+6qaQM/xBYDuLrDFkPlB/mPn]] 0x14a72f0 701 [] false 127.0.0.1:36137 map[] map[] map[] 127.0.0.1:51192 /api/devices/v1/authentication/auth_requests 0x16c7580}" +time="2024-01-08T12:26:24Z" level=debug msg="Got response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[3] Content-Type:[text/plain; charset=utf-8] Date:[Mon, 08 Jan 2024 12:26:24 GMT]] 0x16c4f10 3 [] false false map[] 0x150ab80 }" +time="2024-01-08T12:26:24Z" level=debug msg="Receive response data" +time="2024-01-08T12:26:24Z" level=debug msg="Received response data: [106 119 116]" +time="2024-01-08T12:26:24Z" level=info msg="successfully received new authorization data" +time="2024-01-08T12:26:24Z" level=debug msg="Returning artifact name from artifact_info file." +time="2024-01-08T12:26:24Z" level=debug msg="Reading data from the device manifest file: artifact_info" +time="2024-01-08T12:26:24Z" level=debug msg="artifact_name=mender-image" +time="2024-01-08T12:26:24Z" level=debug msg="Current manifest data: mender-image" +time="2024-01-08T12:26:24Z" level=debug msg="Reading data from the device manifest file: device_type" +time="2024-01-08T12:26:24Z" level=debug msg="device_type=dev" +time="2024-01-08T12:26:24Z" level=debug msg="Current manifest data: dev" +time="2024-01-08T12:26:24Z" 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]] 0x14a75c0 52 [] false 127.0.0.1:45813 map[] map[] map[] 127.0.0.1:39672 /api/devices/v1/deployments/device/deployments/next 0x16c7cc0}" +time="2024-01-08T12:26:24Z" level=warning msg="Server \"http://127.0.0.1:45813\" failed to serve request \"/api/devices/v1/deployments/device/deployments/next\". Attempting \"http://127.0.0.1:36137\"" +time="2024-01-08T12:26:24Z" 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]] 0x14a77d0 52 [] false 127.0.0.1:36137 map[] map[] map[] 127.0.0.1:51208 /api/devices/v1/deployments/device/deployments/next 0x179e120}" +time="2024-01-08T12:26:24Z" level=debug msg="device provides not accepted by the server. Response code: 400" +time="2024-01-08T12:26:24Z" 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:45813 map[] map[] map[] 127.0.0.1:39676 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x19cc7c0}" +time="2024-01-08T12:26:24Z" 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:45813 map[] map[] map[] 127.0.0.1:39676 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x19cc7c0}" +time="2024-01-08T12:26:24Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" +2024/01/08 12:26:24 http: panic serving 127.0.0.1:39676: runtime error: invalid memory address or nil pointer dereference +goroutine 235 [running]: +net/http.(*conn).serve.func1(0x171a900) /usr/lib/go-1.15/src/net/http/server.go:1801 +0xf0 panic(0x41c160, 0x6eefe0) /usr/lib/go-1.15/src/runtime/panic.go:975 +0x47c -github.com/mendersoftware/mender/client/test.(*ClientTestServer).updateReq(0x209a270, 0x503d00, 0x233c140, 0x2332400) +github.com/mendersoftware/mender/client/test.(*ClientTestServer).updateReq(0x18281a0, 0x503d00, 0x15420a0, 0x1540200) /build/reproducible-path/mender-client-2.4.1/obj-arm-linux-gnueabihf/src/github.com/mendersoftware/mender/client/test/server.go:385 +0x288 -net/http.HandlerFunc.ServeHTTP(0x20107f8, 0x503d00, 0x233c140, 0x2332400) +net/http.HandlerFunc.ServeHTTP(0x16b8f38, 0x503d00, 0x15420a0, 0x1540200) /usr/lib/go-1.15/src/net/http/server.go:2042 +0x34 -net/http.(*ServeMux).ServeHTTP(0x21008a0, 0x503d00, 0x233c140, 0x2332400) +net/http.(*ServeMux).ServeHTTP(0x14a71a0, 0x503d00, 0x15420a0, 0x1540200) /usr/lib/go-1.15/src/net/http/server.go:2417 +0x16c -net/http.serverHandler.ServeHTTP(0x2118900, 0x503d00, 0x233c140, 0x2332400) +net/http.serverHandler.ServeHTTP(0x1474630, 0x503d00, 0x15420a0, 0x1540200) /usr/lib/go-1.15/src/net/http/server.go:2843 +0x88 -net/http.(*conn).serve(0x232a1e0, 0x504340, 0x24f0000) +net/http.(*conn).serve(0x171a900, 0x504340, 0x19cc6e0) /usr/lib/go-1.15/src/net/http/server.go:1925 +0x7d0 created by net/http.(*Server).Serve /usr/lib/go-1.15/src/net/http/server.go:2969 +0x2d0 -time="2024-01-08T11:57:33Z" level=warning msg="Server \"http://127.0.0.1:40629\" failed to serve request \"/api/devices/v1/deployments/device/deployments/next\". Attempting \"http://127.0.0.1:36723\"" -time="2024-01-08T11:57:33Z" 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:36723 map[] map[] map[] 127.0.0.1:58956 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x2458e20}" -time="2024-01-08T11:57:33Z" 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:36723 map[] map[] map[] 127.0.0.1:58956 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x2458e20}" -time="2024-01-08T11:57:33Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" -time="2024-01-08T11:57:33Z" level=debug msg="Received response:200 OK" -time="2024-01-08T11:57:33Z" level=debug msg="Have update available" -time="2024-01-08T11:57:33Z" level=info msg="Correct request for getting image from: http://127.0.0.1:36723/download [name: foo; devices: [vexpress]]" -time="2024-01-08T11:57:33Z" level=debug msg="Received update response: {{{http://127.0.0.1:36723/download } [vexpress] [] foo map[]} foo [] 0 false}" ---- PASS: TestFailoverServers (9.69s) +time="2024-01-08T12:26:24Z" level=warning msg="Server \"http://127.0.0.1:45813\" failed to serve request \"/api/devices/v1/deployments/device/deployments/next\". Attempting \"http://127.0.0.1:36137\"" +time="2024-01-08T12:26:24Z" 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:36137 map[] map[] map[] 127.0.0.1:51212 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x19ccda0}" +time="2024-01-08T12:26:24Z" 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:36137 map[] map[] map[] 127.0.0.1:51212 /api/devices/v1/deployments/device/deployments/next?artifact_name=mender-image&device_type=dev 0x19ccda0}" +time="2024-01-08T12:26:24Z" level=info msg="parsed URL query: map[artifact_name:[mender-image] device_type:[dev]]" +time="2024-01-08T12:26:24Z" level=debug msg="Received response:200 OK" +time="2024-01-08T12:26:24Z" level=debug msg="Have update available" +time="2024-01-08T12:26:24Z" level=info msg="Correct request for getting image from: http://127.0.0.1:36137/download [name: foo; devices: [vexpress]]" +time="2024-01-08T12:26:24Z" level=debug msg="Received update response: {{{http://127.0.0.1:36137/download } [vexpress] [] foo map[]} foo [] 0 false}" +--- PASS: TestFailoverServers (7.08s) === RUN TestMutualTLSClientConnection mender_test.go:1115: Error Trace: mender_test.go:1115 @@ -1390,2366 +1425,2366 @@ Test: TestMutualTLSClientConnection --- FAIL: TestMutualTLSClientConnection (0.00s) === RUN Test_doManualUpdate_noParams_fail -time="2024-01-08T11:57:33Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-08T11:57:33Z" level=debug msg="Starting device update." -time="2024-01-08T11:57:33Z" level=info msg="Start updating from local image file: []" -time="2024-01-08T11:57:33Z" level=debug msg="Fetching update from file results: [], 0, Not able to open image file: : open : no such file or directory\n" +time="2024-01-08T12:26:24Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2024-01-08T12:26:25Z" level=debug msg="Starting device update." +time="2024-01-08T12:26:25Z" level=info msg="Start updating from local image file: []" +time="2024-01-08T12:26:25Z" level=debug msg="Fetching update from file results: [], 0, Not able to open image file: : open : no such file or directory\n" --- PASS: Test_doManualUpdate_noParams_fail (0.00s) === RUN Test_doManualUpdate_invalidHttpsClientConfig_updateFails -time="2024-01-08T11:57:33Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-08T11:57:33Z" level=debug msg="Starting device update." -time="2024-01-08T11:57:33Z" level=info msg="Performing remote update from: [https://update]." -time="2024-01-08T11:57:34Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (non-existing). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" -time="2024-01-08T11:57:34Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" -time="2024-01-08T11:57:34Z" level=debug msg="Client initialized. Start downloading image." -time="2024-01-08T11:57:34Z" level=error msg="Can not fetch update image: Get \"https://update\": dial tcp: lookup update on [::1]:53: read udp [::1]:36503->[::1]:53: read: connection refused" -time="2024-01-08T11:57:34Z" level=debug msg="Image downloaded: -1 [] [update fetch request failed: Get \"https://update\": dial tcp: lookup update on [::1]:53: read udp [::1]:36503->[::1]:53: read: connection refused]" ---- PASS: Test_doManualUpdate_invalidHttpsClientConfig_updateFails (0.70s) +time="2024-01-08T12:26:25Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2024-01-08T12:26:25Z" level=debug msg="Starting device update." +time="2024-01-08T12:26:25Z" level=info msg="Performing remote update from: [https://update]." +time="2024-01-08T12:26:25Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (non-existing). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" +time="2024-01-08T12:26:25Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" +time="2024-01-08T12:26:25Z" level=debug msg="Client initialized. Start downloading image." +time="2024-01-08T12:26:25Z" level=error msg="Can not fetch update image: Get \"https://update\": dial tcp: lookup update on [::1]:53: read udp [::1]:51608->[::1]:53: read: connection refused" +time="2024-01-08T12:26:25Z" level=debug msg="Image downloaded: -1 [] [update fetch request failed: Get \"https://update\": dial tcp: lookup update on [::1]:53: read udp [::1]:51608->[::1]:53: read: connection refused]" +--- PASS: Test_doManualUpdate_invalidHttpsClientConfig_updateFails (0.53s) === RUN Test_doManualUpdate_nonExistingFile_fail -time="2024-01-08T11:57:34Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-08T11:57:34Z" level=debug msg="Starting device update." -time="2024-01-08T11:57:34Z" level=info msg="Start updating from local image file: [non-existing]" -time="2024-01-08T11:57:34Z" 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.01s) +time="2024-01-08T12:26:25Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2024-01-08T12:26:25Z" level=debug msg="Starting device update." +time="2024-01-08T12:26:25Z" level=info msg="Start updating from local image file: [non-existing]" +time="2024-01-08T12:26:25Z" level=debug msg="Fetching update from file results: [], 0, Not able to open image file: non-existing: open non-existing: no such file or directory\n" +--- PASS: Test_doManualUpdate_nonExistingFile_fail (0.00s) === RUN Test_doManualUpdate_networkUpdateNoClient_fail -time="2024-01-08T11:57:34Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-08T11:57:34Z" level=debug msg="Starting device update." -time="2024-01-08T11:57:34Z" level=info msg="Performing remote update from: [http://non-existing]." -time="2024-01-08T11:57:34Z" level=debug msg="Client initialized. Start downloading image." -time="2024-01-08T11:57:34Z" level=error msg="Can not fetch update image: Get \"http://non-existing\": dial tcp: lookup non-existing on [::1]:53: read udp [::1]:54868->[::1]:53: read: connection refused" -time="2024-01-08T11:57:34Z" level=debug msg="Image downloaded: -1 [] [update fetch request failed: Get \"http://non-existing\": dial tcp: lookup non-existing on [::1]:53: read udp [::1]:54868->[::1]:53: read: connection refused]" +time="2024-01-08T12:26:25Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2024-01-08T12:26:25Z" level=debug msg="Starting device update." +time="2024-01-08T12:26:25Z" level=info msg="Performing remote update from: [http://non-existing]." +time="2024-01-08T12:26:25Z" level=debug msg="Client initialized. Start downloading image." +time="2024-01-08T12:26:25Z" level=error msg="Can not fetch update image: Get \"http://non-existing\": dial tcp: lookup non-existing on [::1]:53: read udp [::1]:52643->[::1]:53: read: connection refused" +time="2024-01-08T12:26:25Z" level=debug msg="Image downloaded: -1 [] [update fetch request failed: Get \"http://non-existing\": dial tcp: lookup non-existing on [::1]:53: read udp [::1]:52643->[::1]:53: read: connection refused]" --- PASS: Test_doManualUpdate_networkUpdateNoClient_fail (0.01s) === RUN Test_doManualUpdate_networkClientExistsNoServer_fail -time="2024-01-08T11:57:34Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-08T11:57:34Z" level=debug msg="Starting device update." -time="2024-01-08T11:57:34Z" level=info msg="Performing remote update from: [http://non-existing]." -time="2024-01-08T11:57:34Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (server.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" -time="2024-01-08T11:57:34Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" -time="2024-01-08T11:57:34Z" level=debug msg="Client initialized. Start downloading image." -time="2024-01-08T11:57:34Z" level=error msg="Can not fetch update image: Get \"http://non-existing\": dial tcp: lookup non-existing on [::1]:53: read udp [::1]:34043->[::1]:53: read: connection refused" -time="2024-01-08T11:57:34Z" level=debug msg="Image downloaded: -1 [] [update fetch request failed: Get \"http://non-existing\": dial tcp: lookup non-existing on [::1]:53: read udp [::1]:34043->[::1]:53: read: connection refused]" ---- PASS: Test_doManualUpdate_networkClientExistsNoServer_fail (0.68s) +time="2024-01-08T12:26:25Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2024-01-08T12:26:25Z" level=debug msg="Starting device update." +time="2024-01-08T12:26:25Z" level=info msg="Performing remote update from: [http://non-existing]." +time="2024-01-08T12:26:26Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (server.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" +time="2024-01-08T12:26:26Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" +time="2024-01-08T12:26:26Z" level=debug msg="Client initialized. Start downloading image." +time="2024-01-08T12:26:26Z" level=error msg="Can not fetch update image: Get \"http://non-existing\": dial tcp: lookup non-existing on [::1]:53: read udp [::1]:58846->[::1]:53: read: connection refused" +time="2024-01-08T12:26:26Z" level=debug msg="Image downloaded: -1 [] [update fetch request failed: Get \"http://non-existing\": dial tcp: lookup non-existing on [::1]:53: read udp [::1]:58846->[::1]:53: read: connection refused]" +--- PASS: Test_doManualUpdate_networkClientExistsNoServer_fail (0.50s) === RUN Test_doManualUpdate_existingFile_updateSuccess -time="2024-01-08T11:57:34Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-08T11:57:34Z" level=debug msg="Starting device update." -time="2024-01-08T11:57:34Z" level=info msg="Start updating from local image file: [/tmp/update004104666]" -time="2024-01-08T11:57:34Z" level=debug msg="Fetching update from file results: [&{0x20da200}], 5120, " +time="2024-01-08T12:26:26Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2024-01-08T12:26:26Z" level=debug msg="Starting device update." +time="2024-01-08T12:26:26Z" level=info msg="Start updating from local image file: [/tmp/update960761603]" +time="2024-01-08T12:26:26Z" level=debug msg="Fetching update from file results: [&{0x14603c0}], 5120, " Installing Artifact of size 5120... -time="2024-01-08T11:57:34Z" level=debug msg="Reading data from the device manifest file: /tmp/480741059" -time="2024-01-08T11:57:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:34Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:57:34Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2024-01-08T11:57:34Z" level=debug msg="Checking if device [] is on compatible device list: [vexpress-qemu]\n" -time="2024-01-08T11:57:34Z" level=error msg="Unknown device_type. Continuing with update" -time="2024-01-08T11:57:34Z" level=debug msg="Installer: Successfully read artifact [name: mender-1.1; version: 2; compatible devices: [vexpress-qemu]]" +time="2024-01-08T12:26:26Z" level=debug msg="Reading data from the device manifest file: /tmp/688407040" +time="2024-01-08T12:26:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:26Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:26Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2024-01-08T12:26:26Z" level=debug msg="Checking if device [] is on compatible device list: [vexpress-qemu]\n" +time="2024-01-08T12:26:26Z" level=error msg="Unknown device_type. Continuing with update" +time="2024-01-08T12:26:26Z" level=debug msg="Installer: Successfully read artifact [name: mender-1.1; version: 2; compatible devices: [vexpress-qemu]]" . 100% 5 KiB -time="2024-01-08T11:57:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:26Z" 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.17s) +--- PASS: Test_doManualUpdate_existingFile_updateSuccess (0.08s) === RUN TestDoManualUpdateArtifactV3Dependencies -time="2024-01-08T11:57:35Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-08T11:57:35Z" level=debug msg="Starting device update." -time="2024-01-08T11:57:35Z" level=info msg="Start updating from local image file: [/tmp/update086097199]" -time="2024-01-08T11:57:35Z" level=debug msg="Fetching update from file results: [&{0x20da200}], 5120, " +time="2024-01-08T12:26:26Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2024-01-08T12:26:26Z" level=debug msg="Starting device update." +time="2024-01-08T12:26:26Z" level=info msg="Start updating from local image file: [/tmp/update227338076]" +time="2024-01-08T12:26:26Z" level=debug msg="Fetching update from file results: [&{0x1460380}], 5120, " Installing Artifact of size 5120... -time="2024-01-08T11:57:35Z" level=debug msg="Reading data from the device manifest file: /tmp/142033948" -time="2024-01-08T11:57:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:35Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:57:35Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2024-01-08T11:57:35Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" -time="2024-01-08T11:57:35Z" level=error msg="Unknown device_type. Continuing with update" -time="2024-01-08T11:57:35Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" -time="2024-01-08T11:57:35Z" level=error msg="Artifact dependency \"artifact_name\" not satisfied by currently installed artifact ([OldArtifact] != )." -time="2024-01-08T11:57:35Z" level=debug msg="Starting device update." -time="2024-01-08T11:57:35Z" level=info msg="Start updating from local image file: [/tmp/update086097199]" -time="2024-01-08T11:57:35Z" level=debug msg="Fetching update from file results: [&{0x20da740}], 5120, " +time="2024-01-08T12:26:26Z" level=debug msg="Reading data from the device manifest file: /tmp/809439277" +time="2024-01-08T12:26:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:26Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:26Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2024-01-08T12:26:26Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" +time="2024-01-08T12:26:26Z" level=error msg="Unknown device_type. Continuing with update" +time="2024-01-08T12:26:26Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" +time="2024-01-08T12:26:26Z" level=error msg="Artifact dependency \"artifact_name\" not satisfied by currently installed artifact ([OldArtifact] != )." +time="2024-01-08T12:26:26Z" level=debug msg="Starting device update." +time="2024-01-08T12:26:26Z" level=info msg="Start updating from local image file: [/tmp/update227338076]" +time="2024-01-08T12:26:26Z" level=debug msg="Fetching update from file results: [&{0x14b60c0}], 5120, " Installing Artifact of size 5120... -time="2024-01-08T11:57:35Z" level=debug msg="Reading data from the device manifest file: /tmp/142033948" -time="2024-01-08T11:57:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:35Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:57:35Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2024-01-08T11:57:35Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" -time="2024-01-08T11:57:35Z" level=error msg="Unknown device_type. Continuing with update" -time="2024-01-08T11:57:35Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" -time="2024-01-08T11:57:35Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([testGroup] != )." -time="2024-01-08T11:57:35Z" level=debug msg="Starting device update." -time="2024-01-08T11:57:35Z" level=info msg="Start updating from local image file: [/tmp/update086097199]" -time="2024-01-08T11:57:35Z" level=debug msg="Fetching update from file results: [&{0x20da2c0}], 5120, " +time="2024-01-08T12:26:26Z" level=debug msg="Reading data from the device manifest file: /tmp/809439277" +time="2024-01-08T12:26:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:26Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:26Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2024-01-08T12:26:26Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" +time="2024-01-08T12:26:26Z" level=error msg="Unknown device_type. Continuing with update" +time="2024-01-08T12:26:26Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" +time="2024-01-08T12:26:26Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([testGroup] != )." +time="2024-01-08T12:26:26Z" level=debug msg="Starting device update." +time="2024-01-08T12:26:26Z" level=info msg="Start updating from local image file: [/tmp/update227338076]" +time="2024-01-08T12:26:26Z" level=debug msg="Fetching update from file results: [&{0x1460240}], 5120, " Installing Artifact of size 5120... -time="2024-01-08T11:57:35Z" level=debug msg="Reading data from the device manifest file: /tmp/142033948" -time="2024-01-08T11:57:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:35Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:57:35Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2024-01-08T11:57:35Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" -time="2024-01-08T11:57:35Z" level=error msg="Unknown device_type. Continuing with update" -time="2024-01-08T11:57:35Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" -time="2024-01-08T11:57:35Z" level=error msg="Artifact dependency \"testKey\" not satisfied by currently installed artifact (testValue != )." -time="2024-01-08T11:57:35Z" level=debug msg="Starting device update." -time="2024-01-08T11:57:35Z" level=info msg="Start updating from local image file: [/tmp/update086097199]" -time="2024-01-08T11:57:35Z" level=debug msg="Fetching update from file results: [&{0x25c01c0}], 5120, " +time="2024-01-08T12:26:26Z" level=debug msg="Reading data from the device manifest file: /tmp/809439277" +time="2024-01-08T12:26:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:26Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:26Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2024-01-08T12:26:26Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" +time="2024-01-08T12:26:26Z" level=error msg="Unknown device_type. Continuing with update" +time="2024-01-08T12:26:26Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" +time="2024-01-08T12:26:26Z" level=error msg="Artifact dependency \"testKey\" not satisfied by currently installed artifact (testValue != )." +time="2024-01-08T12:26:26Z" level=debug msg="Starting device update." +time="2024-01-08T12:26:26Z" level=info msg="Start updating from local image file: [/tmp/update227338076]" +time="2024-01-08T12:26:26Z" level=debug msg="Fetching update from file results: [&{0x1460700}], 5120, " Installing Artifact of size 5120... -time="2024-01-08T11:57:35Z" level=debug msg="Reading data from the device manifest file: /tmp/142033948" -time="2024-01-08T11:57:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:35Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:57:35Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" -time="2024-01-08T11:57:35Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" -time="2024-01-08T11:57:35Z" level=error msg="Unknown device_type. Continuing with update" -time="2024-01-08T11:57:35Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" +time="2024-01-08T12:26:26Z" level=debug msg="Reading data from the device manifest file: /tmp/809439277" +time="2024-01-08T12:26:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:26Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:26Z" level=info msg="Update Module path \"\" could not be opened (open : no such file or directory). Update modules will not be available" +time="2024-01-08T12:26:26Z" level=debug msg="Checking if device [] is on compatible device list: [qemux86-64]\n" +time="2024-01-08T12:26:26Z" level=error msg="Unknown device_type. Continuing with update" +time="2024-01-08T12:26:26Z" level=debug msg="Installer: Successfully read artifact [name: testName; version: 3; compatible devices: [qemux86-64]]" . 100% 5 KiB -time="2024-01-08T11:57:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:26Z" 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.23s) +--- PASS: TestDoManualUpdateArtifactV3Dependencies (0.26s) === RUN TestStandaloneModuleInstall === RUN TestStandaloneModuleInstall/Normal_install,_no_rollback -time="2024-01-08T11:57:35Z" level=debug msg="Starting device update." -time="2024-01-08T11:57:35Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall217602361/artifact.mender]" -time="2024-01-08T11:57:35Z" level=debug msg="Fetching update from file results: [&{0x2434280}], 5632, " +time="2024-01-08T12:26:26Z" level=debug msg="Starting device update." +time="2024-01-08T12:26:26Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall672961262/artifact.mender]" +time="2024-01-08T12:26:26Z" level=debug msg="Fetching update from file results: [&{0x14ae2c0}], 5632, " Installing Artifact of size 5632... -time="2024-01-08T11:57:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall217602361/device_type" -time="2024-01-08T11:57:35Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:35Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:35Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-08T11:57:35Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:57:35Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-08T11:57:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-08T11:57:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-08T11:57:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-08T11:57:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-08T11:57:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-08T11:57:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-08T11:57:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-08T11:57:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-08T11:57:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-08T11:57:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-08T11:57:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-08T11:57:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-08T11:57:35Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-08T11:57:35Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall217602361/artifact_info file." -time="2024-01-08T11:57:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall217602361/artifact_info" -time="2024-01-08T11:57:35Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:35Z" level=debug msg="Current manifest data: old_name" -time="2024-01-08T11:57:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall217602361/artifact_info" -time="2024-01-08T11:57:35Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall217602361/device_type" -time="2024-01-08T11:57:35Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:35Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:35Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-08T11:57:35Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-08T11:57:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall217602361/modules/test-type Download /tmp/TestStandaloneModuleInstall217602361/work/payloads/0000/tree" -time="2024-01-08T11:57:35Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2024-01-08T12:26:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall672961262/device_type" +time="2024-01-08T12:26:26Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:26Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:26Z" level=debug msg="Executing script: Download_Enter_00" +time="2024-01-08T12:26:26Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:26Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2024-01-08T12:26:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2024-01-08T12:26:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2024-01-08T12:26:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2024-01-08T12:26:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2024-01-08T12:26:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2024-01-08T12:26:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2024-01-08T12:26:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2024-01-08T12:26:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2024-01-08T12:26:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2024-01-08T12:26:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2024-01-08T12:26:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2024-01-08T12:26:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2024-01-08T12:26:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:26Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2024-01-08T12:26:26Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall672961262/artifact_info file." +time="2024-01-08T12:26:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall672961262/artifact_info" +time="2024-01-08T12:26:26Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:26Z" level=debug msg="Current manifest data: old_name" +time="2024-01-08T12:26:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall672961262/artifact_info" +time="2024-01-08T12:26:26Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall672961262/device_type" +time="2024-01-08T12:26:26Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:26Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:26Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2024-01-08T12:26:26Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2024-01-08T12:26:26Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall672961262/modules/test-type Download /tmp/TestStandaloneModuleInstall672961262/work/payloads/0000/tree" +time="2024-01-08T12:26:26Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-08T11:57:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:35Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-08T11:57:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:57:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall217602361/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall217602361/work/payloads/0000/tree" -time="2024-01-08T11:57:35Z" level=debug msg="Update module output: No" -time="2024-01-08T11:57:35Z" level=debug msg="Module does not support rollback" -time="2024-01-08T11:57:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:35Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:35Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-08T11:57:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall217602361/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall217602361/work/payloads/0000/tree" -time="2024-01-08T11:57:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:35Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:35Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2024-01-08T11:57:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall217602361/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall217602361/work/payloads/0000/tree" -time="2024-01-08T11:57:35Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:35Z" level=debug msg="Module needs custom reboot" +time="2024-01-08T12:26:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:26Z" level=debug msg="Executing script: Download_Leave_00" +time="2024-01-08T12:26:26Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:26Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall672961262/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall672961262/work/payloads/0000/tree" +time="2024-01-08T12:26:26Z" level=debug msg="Update module output: No" +time="2024-01-08T12:26:26Z" level=debug msg="Module does not support rollback" +time="2024-01-08T12:26:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:26Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:26Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2024-01-08T12:26:26Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall672961262/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall672961262/work/payloads/0000/tree" +time="2024-01-08T12:26:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:26Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:26Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2024-01-08T12:26:26Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall672961262/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall672961262/work/payloads/0000/tree" +time="2024-01-08T12:26:26Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:26Z" level=debug msg="Module needs custom reboot" Artifact doesn't support rollback. Committing immediately. Committing Artifact... -time="2024-01-08T11:57:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:35Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" -time="2024-01-08T11:57:35Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" -time="2024-01-08T11:57:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall217602361/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall217602361/work/payloads/0000/tree" -time="2024-01-08T11:57:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:35Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" -time="2024-01-08T11:57:35Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-08T11:57:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall217602361/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall217602361/work/payloads/0000/tree" +time="2024-01-08T12:26:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:27Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" +time="2024-01-08T12:26:27Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" +time="2024-01-08T12:26:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall672961262/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall672961262/work/payloads/0000/tree" +time="2024-01-08T12:26:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:27Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" +time="2024-01-08T12:26:27Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2024-01-08T12:26:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall672961262/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall672961262/work/payloads/0000/tree" At least one payload requested a reboot of the device it updated. -time="2024-01-08T11:57:35Z" level=debug msg="Returning artifact name artifact-name from database." +time="2024-01-08T12:26:27Z" level=debug msg="Returning artifact name artifact-name from database." === RUN TestStandaloneModuleInstall/Normal_install -time="2024-01-08T11:57:36Z" level=debug msg="Starting device update." -time="2024-01-08T11:57:36Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall048270102/artifact.mender]" -time="2024-01-08T11:57:36Z" level=debug msg="Fetching update from file results: [&{0x211e500}], 5632, " +time="2024-01-08T12:26:27Z" level=debug msg="Starting device update." +time="2024-01-08T12:26:27Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall923097455/artifact.mender]" +time="2024-01-08T12:26:27Z" level=debug msg="Fetching update from file results: [&{0x16b2140}], 5632, " Installing Artifact of size 5632... -time="2024-01-08T11:57:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall048270102/device_type" -time="2024-01-08T11:57:36Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:36Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:36Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-08T11:57:36Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:57:36Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-08T11:57:36Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-08T11:57:36Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall048270102/artifact_info file." -time="2024-01-08T11:57:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall048270102/artifact_info" -time="2024-01-08T11:57:36Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:36Z" level=debug msg="Current manifest data: old_name" -time="2024-01-08T11:57:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall048270102/artifact_info" -time="2024-01-08T11:57:36Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall048270102/device_type" -time="2024-01-08T11:57:36Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:36Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-08T11:57:36Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-08T11:57:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall048270102/modules/test-type Download /tmp/TestStandaloneModuleInstall048270102/work/payloads/0000/tree" -time="2024-01-08T11:57:36Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2024-01-08T12:26:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall923097455/device_type" +time="2024-01-08T12:26:27Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:27Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:27Z" level=debug msg="Executing script: Download_Enter_00" +time="2024-01-08T12:26:27Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:27Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2024-01-08T12:26:27Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2024-01-08T12:26:27Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall923097455/artifact_info file." +time="2024-01-08T12:26:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall923097455/artifact_info" +time="2024-01-08T12:26:27Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:27Z" level=debug msg="Current manifest data: old_name" +time="2024-01-08T12:26:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall923097455/artifact_info" +time="2024-01-08T12:26:27Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall923097455/device_type" +time="2024-01-08T12:26:27Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:27Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2024-01-08T12:26:27Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2024-01-08T12:26:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall923097455/modules/test-type Download /tmp/TestStandaloneModuleInstall923097455/work/payloads/0000/tree" +time="2024-01-08T12:26:27Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-08T11:57:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:36Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-08T11:57:36Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:57:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall048270102/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall048270102/work/payloads/0000/tree" -time="2024-01-08T11:57:36Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:36Z" level=debug msg="Module supports rollback" -time="2024-01-08T11:57:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:36Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:36Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-08T11:57:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall048270102/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall048270102/work/payloads/0000/tree" -time="2024-01-08T11:57:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:36Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:36Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2024-01-08T11:57:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall048270102/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall048270102/work/payloads/0000/tree" -time="2024-01-08T11:57:36Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:36Z" level=debug msg="Module needs custom reboot" +time="2024-01-08T12:26:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:27Z" level=debug msg="Executing script: Download_Leave_00" +time="2024-01-08T12:26:27Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall923097455/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall923097455/work/payloads/0000/tree" +time="2024-01-08T12:26:27Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:27Z" level=debug msg="Module supports rollback" +time="2024-01-08T12:26:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:27Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:27Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2024-01-08T12:26:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall923097455/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall923097455/work/payloads/0000/tree" +time="2024-01-08T12:26:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:27Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:27Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2024-01-08T12:26:27Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall923097455/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall923097455/work/payloads/0000/tree" +time="2024-01-08T12:26:27Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:27Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. -time="2024-01-08T11:57:36Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall048270102/artifact_info file." -time="2024-01-08T11:57:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall048270102/artifact_info" -time="2024-01-08T11:57:36Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:36Z" level=debug msg="Current manifest data: old_name" +time="2024-01-08T12:26:27Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall923097455/artifact_info file." +time="2024-01-08T12:26:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall923097455/artifact_info" +time="2024-01-08T12:26:27Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:27Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Normal_commit -time="2024-01-08T11:57:36Z" level=debug msg="Starting device update." -time="2024-01-08T11:57:36Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall770987703/artifact.mender]" -time="2024-01-08T11:57:36Z" level=debug msg="Fetching update from file results: [&{0x211e440}], 5632, " +time="2024-01-08T12:26:27Z" level=debug msg="Starting device update." +time="2024-01-08T12:26:27Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall863277188/artifact.mender]" +time="2024-01-08T12:26:27Z" level=debug msg="Fetching update from file results: [&{0x1784080}], 5632, " Installing Artifact of size 5632... -time="2024-01-08T11:57:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall770987703/device_type" -time="2024-01-08T11:57:36Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:36Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:36Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-08T11:57:36Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:57:36Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:36Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-08T11:57:36Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall770987703/artifact_info file." -time="2024-01-08T11:57:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall770987703/artifact_info" -time="2024-01-08T11:57:36Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:36Z" level=debug msg="Current manifest data: old_name" -time="2024-01-08T11:57:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall770987703/artifact_info" -time="2024-01-08T11:57:36Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall770987703/device_type" -time="2024-01-08T11:57:36Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:36Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:36Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-08T11:57:36Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-08T11:57:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall770987703/modules/test-type Download /tmp/TestStandaloneModuleInstall770987703/work/payloads/0000/tree" -time="2024-01-08T11:57:36Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2024-01-08T12:26:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall863277188/device_type" +time="2024-01-08T12:26:27Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:27Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:27Z" level=debug msg="Executing script: Download_Enter_00" +time="2024-01-08T12:26:27Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:27Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2024-01-08T12:26:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2024-01-08T12:26:27Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2024-01-08T12:26:27Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall863277188/artifact_info file." +time="2024-01-08T12:26:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall863277188/artifact_info" +time="2024-01-08T12:26:27Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:27Z" level=debug msg="Current manifest data: old_name" +time="2024-01-08T12:26:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall863277188/artifact_info" +time="2024-01-08T12:26:27Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall863277188/device_type" +time="2024-01-08T12:26:27Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:27Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:28Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2024-01-08T12:26:28Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2024-01-08T12:26:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall863277188/modules/test-type Download /tmp/TestStandaloneModuleInstall863277188/work/payloads/0000/tree" +time="2024-01-08T12:26:28Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-08T11:57:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:36Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-08T11:57:36Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:57:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall770987703/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall770987703/work/payloads/0000/tree" -time="2024-01-08T11:57:36Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:36Z" level=debug msg="Module supports rollback" -time="2024-01-08T11:57:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:36Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:36Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-08T11:57:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall770987703/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall770987703/work/payloads/0000/tree" -time="2024-01-08T11:57:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:36Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:36Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2024-01-08T11:57:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall770987703/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall770987703/work/payloads/0000/tree" -time="2024-01-08T11:57:36Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:36Z" level=debug msg="Module needs custom reboot" +time="2024-01-08T12:26:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:28Z" level=debug msg="Executing script: Download_Leave_00" +time="2024-01-08T12:26:28Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall863277188/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall863277188/work/payloads/0000/tree" +time="2024-01-08T12:26:28Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:28Z" level=debug msg="Module supports rollback" +time="2024-01-08T12:26:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:28Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:28Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2024-01-08T12:26:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall863277188/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall863277188/work/payloads/0000/tree" +time="2024-01-08T12:26:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:28Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:28Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2024-01-08T12:26:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall863277188/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall863277188/work/payloads/0000/tree" +time="2024-01-08T12:26:28Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:28Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. Committing Artifact... -time="2024-01-08T11:57:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:36Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" -time="2024-01-08T11:57:36Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" -time="2024-01-08T11:57:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall770987703/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall770987703/work/payloads/0000/tree" -time="2024-01-08T11:57:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:37Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" -time="2024-01-08T11:57:37Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-08T11:57:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall770987703/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall770987703/work/payloads/0000/tree" -time="2024-01-08T11:57:37Z" level=debug msg="Returning artifact name artifact-name from database." +time="2024-01-08T12:26:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:28Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" +time="2024-01-08T12:26:28Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" +time="2024-01-08T12:26:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall863277188/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall863277188/work/payloads/0000/tree" +time="2024-01-08T12:26:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:28Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" +time="2024-01-08T12:26:28Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2024-01-08T12:26:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall863277188/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall863277188/work/payloads/0000/tree" +time="2024-01-08T12:26:28Z" level=debug msg="Returning artifact name artifact-name from database." === RUN TestStandaloneModuleInstall/Normal_rollback -time="2024-01-08T11:57:37Z" level=debug msg="Starting device update." -time="2024-01-08T11:57:37Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall643245420/artifact.mender]" -time="2024-01-08T11:57:37Z" level=debug msg="Fetching update from file results: [&{0x211e440}], 5632, " +time="2024-01-08T12:26:28Z" level=debug msg="Starting device update." +time="2024-01-08T12:26:28Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall451530173/artifact.mender]" +time="2024-01-08T12:26:28Z" level=debug msg="Fetching update from file results: [&{0x17841c0}], 5632, " Installing Artifact of size 5632... -time="2024-01-08T11:57:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall643245420/device_type" -time="2024-01-08T11:57:37Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:37Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:37Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-08T11:57:37Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:57:37Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-08T11:57:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-08T11:57:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-08T11:57:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-08T11:57:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-08T11:57:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-08T11:57:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-08T11:57:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-08T11:57:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-08T11:57:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-08T11:57:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-08T11:57:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-08T11:57:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-08T11:57:37Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-08T11:57:37Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall643245420/artifact_info file." -time="2024-01-08T11:57:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall643245420/artifact_info" -time="2024-01-08T11:57:37Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:37Z" level=debug msg="Current manifest data: old_name" -time="2024-01-08T11:57:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall643245420/artifact_info" -time="2024-01-08T11:57:37Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall643245420/device_type" -time="2024-01-08T11:57:37Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:37Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:37Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-08T11:57:37Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-08T11:57:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall643245420/modules/test-type Download /tmp/TestStandaloneModuleInstall643245420/work/payloads/0000/tree" -time="2024-01-08T11:57:37Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2024-01-08T12:26:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall451530173/device_type" +time="2024-01-08T12:26:28Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:28Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:28Z" level=debug msg="Executing script: Download_Enter_00" +time="2024-01-08T12:26:28Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:28Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2024-01-08T12:26:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2024-01-08T12:26:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2024-01-08T12:26:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2024-01-08T12:26:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2024-01-08T12:26:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2024-01-08T12:26:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2024-01-08T12:26:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2024-01-08T12:26:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2024-01-08T12:26:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2024-01-08T12:26:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2024-01-08T12:26:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2024-01-08T12:26:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2024-01-08T12:26:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:28Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2024-01-08T12:26:28Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall451530173/artifact_info file." +time="2024-01-08T12:26:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall451530173/artifact_info" +time="2024-01-08T12:26:28Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:28Z" level=debug msg="Current manifest data: old_name" +time="2024-01-08T12:26:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall451530173/artifact_info" +time="2024-01-08T12:26:28Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall451530173/device_type" +time="2024-01-08T12:26:28Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:28Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:28Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2024-01-08T12:26:28Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2024-01-08T12:26:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall451530173/modules/test-type Download /tmp/TestStandaloneModuleInstall451530173/work/payloads/0000/tree" +time="2024-01-08T12:26:28Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-08T11:57:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:37Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-08T11:57:37Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:57:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall643245420/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall643245420/work/payloads/0000/tree" -time="2024-01-08T11:57:37Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:37Z" level=debug msg="Module supports rollback" -time="2024-01-08T11:57:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:37Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:37Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-08T11:57:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall643245420/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall643245420/work/payloads/0000/tree" -time="2024-01-08T11:57:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:37Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:37Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2024-01-08T11:57:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall643245420/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall643245420/work/payloads/0000/tree" -time="2024-01-08T11:57:37Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:37Z" level=debug msg="Module needs custom reboot" +time="2024-01-08T12:26:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:28Z" level=debug msg="Executing script: Download_Leave_00" +time="2024-01-08T12:26:28Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall451530173/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall451530173/work/payloads/0000/tree" +time="2024-01-08T12:26:28Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:28Z" level=debug msg="Module supports rollback" +time="2024-01-08T12:26:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:28Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:28Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2024-01-08T12:26:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall451530173/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall451530173/work/payloads/0000/tree" +time="2024-01-08T12:26:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:28Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:28Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2024-01-08T12:26:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall451530173/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall451530173/work/payloads/0000/tree" +time="2024-01-08T12:26:28Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:28Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. -time="2024-01-08T11:57:37Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:57:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall643245420/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall643245420/work/payloads/0000/tree" -time="2024-01-08T11:57:37Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:37Z" level=debug msg="Module supports rollback" +time="2024-01-08T12:26:28Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:28Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall451530173/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall451530173/work/payloads/0000/tree" +time="2024-01-08T12:26:29Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:29Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2024-01-08T11:57:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:37Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:37Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2024-01-08T11:57:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall643245420/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall643245420/work/payloads/0000/tree" -time="2024-01-08T11:57:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:37Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:37Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-08T11:57:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall643245420/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall643245420/work/payloads/0000/tree" -time="2024-01-08T11:57:37Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall643245420/artifact_info file." -time="2024-01-08T11:57:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall643245420/artifact_info" -time="2024-01-08T11:57:37Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:37Z" level=debug msg="Current manifest data: old_name" +time="2024-01-08T12:26:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:29Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:29Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2024-01-08T12:26:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall451530173/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall451530173/work/payloads/0000/tree" +time="2024-01-08T12:26:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:29Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:29Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2024-01-08T12:26:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall451530173/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall451530173/work/payloads/0000/tree" +time="2024-01-08T12:26:29Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall451530173/artifact_info file." +time="2024-01-08T12:26:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall451530173/artifact_info" +time="2024-01-08T12:26:29Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:29Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_Download_Enter_00 -time="2024-01-08T11:57:37Z" level=debug msg="Starting device update." -time="2024-01-08T11:57:37Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall082754757/artifact.mender]" -time="2024-01-08T11:57:37Z" level=debug msg="Fetching update from file results: [&{0x226a280}], 5632, " +time="2024-01-08T12:26:29Z" level=debug msg="Starting device update." +time="2024-01-08T12:26:29Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall077235178/artifact.mender]" +time="2024-01-08T12:26:29Z" level=debug msg="Fetching update from file results: [&{0x16fe1c0}], 5632, " Installing Artifact of size 5632... -time="2024-01-08T11:57:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall082754757/device_type" -time="2024-01-08T11:57:37Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:37Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:37Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-08T11:57:38Z" level=error msg="Download_Enter script failed: statescript: error executing 'Download_Enter_00': 1 : exit status 1" -time="2024-01-08T11:57:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:38Z" level=debug msg="Executing script: Download_Error_00" -time="2024-01-08T11:57:38Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall082754757/artifact_info file." -time="2024-01-08T11:57:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall082754757/artifact_info" -time="2024-01-08T11:57:38Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:38Z" level=debug msg="Current manifest data: old_name" +time="2024-01-08T12:26:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall077235178/device_type" +time="2024-01-08T12:26:29Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:29Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:29Z" level=debug msg="Executing script: Download_Enter_00" +time="2024-01-08T12:26:29Z" level=error msg="Download_Enter script failed: statescript: error executing 'Download_Enter_00': 1 : exit status 1" +time="2024-01-08T12:26:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:29Z" level=debug msg="Executing script: Download_Error_00" +time="2024-01-08T12:26:29Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall077235178/artifact_info file." +time="2024-01-08T12:26:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall077235178/artifact_info" +time="2024-01-08T12:26:29Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:29Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_Download -time="2024-01-08T11:57:38Z" level=debug msg="Starting device update." -time="2024-01-08T11:57:38Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall285911442/artifact.mender]" -time="2024-01-08T11:57:38Z" level=debug msg="Fetching update from file results: [&{0x211e380}], 5632, " +time="2024-01-08T12:26:29Z" level=debug msg="Starting device update." +time="2024-01-08T12:26:29Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall398698523/artifact.mender]" +time="2024-01-08T12:26:29Z" level=debug msg="Fetching update from file results: [&{0x14b61c0}], 5632, " Installing Artifact of size 5632... -time="2024-01-08T11:57:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall285911442/device_type" -time="2024-01-08T11:57:38Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:38Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:38Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-08T11:57:38Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:57:38Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-08T11:57:38Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-08T11:57:38Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall285911442/artifact_info file." -time="2024-01-08T11:57:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall285911442/artifact_info" -time="2024-01-08T11:57:38Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:38Z" level=debug msg="Current manifest data: old_name" -time="2024-01-08T11:57:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall285911442/artifact_info" -time="2024-01-08T11:57:38Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall285911442/device_type" -time="2024-01-08T11:57:38Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:38Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-08T11:57:38Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-08T11:57:38Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall285911442/modules/test-type Download /tmp/TestStandaloneModuleInstall285911442/work/payloads/0000/tree" -time="2024-01-08T11:57:38Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" -time="2024-01-08T11:57:38Z" level=error msg="Download failed: Update module terminated abnormally: exit status 1" -time="2024-01-08T11:57:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:38Z" level=debug msg="Executing script: Download_Error_00" -time="2024-01-08T11:57:38Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-08T11:57:38Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall285911442/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall285911442/work/payloads/0000/tree" -time="2024-01-08T11:57:38Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall285911442/artifact_info file." -time="2024-01-08T11:57:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall285911442/artifact_info" -time="2024-01-08T11:57:38Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:38Z" level=debug msg="Current manifest data: old_name" +time="2024-01-08T12:26:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall398698523/device_type" +time="2024-01-08T12:26:29Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:29Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:29Z" level=debug msg="Executing script: Download_Enter_00" +time="2024-01-08T12:26:29Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:29Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:29Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2024-01-08T12:26:29Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall398698523/artifact_info file." +time="2024-01-08T12:26:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall398698523/artifact_info" +time="2024-01-08T12:26:29Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:29Z" level=debug msg="Current manifest data: old_name" +time="2024-01-08T12:26:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall398698523/artifact_info" +time="2024-01-08T12:26:29Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall398698523/device_type" +time="2024-01-08T12:26:29Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:29Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2024-01-08T12:26:29Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2024-01-08T12:26:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall398698523/modules/test-type Download /tmp/TestStandaloneModuleInstall398698523/work/payloads/0000/tree" +time="2024-01-08T12:26:29Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2024-01-08T12:26:29Z" level=error msg="Download failed: Update module terminated abnormally: exit status 1" +time="2024-01-08T12:26:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:29Z" level=debug msg="Executing script: Download_Error_00" +time="2024-01-08T12:26:29Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2024-01-08T12:26:29Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall398698523/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall398698523/work/payloads/0000/tree" +time="2024-01-08T12:26:29Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall398698523/artifact_info file." +time="2024-01-08T12:26:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall398698523/artifact_info" +time="2024-01-08T12:26:29Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:29Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_Download_Leave_00 -time="2024-01-08T11:57:38Z" level=debug msg="Starting device update." -time="2024-01-08T11:57:38Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall265246947/artifact.mender]" -time="2024-01-08T11:57:38Z" level=debug msg="Fetching update from file results: [&{0x226a1c0}], 5632, " +time="2024-01-08T12:26:29Z" level=debug msg="Starting device update." +time="2024-01-08T12:26:29Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall034878624/artifact.mender]" +time="2024-01-08T12:26:29Z" level=debug msg="Fetching update from file results: [&{0x14b6180}], 5632, " Installing Artifact of size 5632... -time="2024-01-08T11:57:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall265246947/device_type" -time="2024-01-08T11:57:38Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:38Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:38Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-08T11:57:38Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:57:38Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:38Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-08T11:57:38Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall265246947/artifact_info file." -time="2024-01-08T11:57:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall265246947/artifact_info" -time="2024-01-08T11:57:38Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:38Z" level=debug msg="Current manifest data: old_name" -time="2024-01-08T11:57:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall265246947/artifact_info" -time="2024-01-08T11:57:38Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall265246947/device_type" -time="2024-01-08T11:57:38Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:38Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:38Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-08T11:57:38Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-08T11:57:38Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall265246947/modules/test-type Download /tmp/TestStandaloneModuleInstall265246947/work/payloads/0000/tree" -time="2024-01-08T11:57:38Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2024-01-08T12:26:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall034878624/device_type" +time="2024-01-08T12:26:29Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:29Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:29Z" level=debug msg="Executing script: Download_Enter_00" +time="2024-01-08T12:26:29Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:29Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2024-01-08T12:26:29Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2024-01-08T12:26:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2024-01-08T12:26:30Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2024-01-08T12:26:30Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall034878624/artifact_info file." +time="2024-01-08T12:26:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall034878624/artifact_info" +time="2024-01-08T12:26:30Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:30Z" level=debug msg="Current manifest data: old_name" +time="2024-01-08T12:26:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall034878624/artifact_info" +time="2024-01-08T12:26:30Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall034878624/device_type" +time="2024-01-08T12:26:30Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:30Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:30Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2024-01-08T12:26:30Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2024-01-08T12:26:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall034878624/modules/test-type Download /tmp/TestStandaloneModuleInstall034878624/work/payloads/0000/tree" +time="2024-01-08T12:26:30Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-08T11:57:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:38Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-08T11:57:38Z" level=error msg="Download_Leave script failed: statescript: error executing 'Download_Leave_00': 1 : exit status 1" -time="2024-01-08T11:57:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:38Z" level=debug msg="Executing script: Download_Error_00" -time="2024-01-08T11:57:38Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-08T11:57:38Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall265246947/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall265246947/work/payloads/0000/tree" -time="2024-01-08T11:57:39Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall265246947/artifact_info file." -time="2024-01-08T11:57:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall265246947/artifact_info" -time="2024-01-08T11:57:39Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:39Z" level=debug msg="Current manifest data: old_name" +time="2024-01-08T12:26:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:30Z" level=debug msg="Executing script: Download_Leave_00" +time="2024-01-08T12:26:30Z" level=error msg="Download_Leave script failed: statescript: error executing 'Download_Leave_00': 1 : exit status 1" +time="2024-01-08T12:26:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:30Z" level=debug msg="Executing script: Download_Error_00" +time="2024-01-08T12:26:30Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2024-01-08T12:26:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall034878624/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall034878624/work/payloads/0000/tree" +time="2024-01-08T12:26:30Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall034878624/artifact_info file." +time="2024-01-08T12:26:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall034878624/artifact_info" +time="2024-01-08T12:26:30Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:30Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Enter_00 -time="2024-01-08T11:57:39Z" level=debug msg="Starting device update." -time="2024-01-08T11:57:39Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall010344712/artifact.mender]" -time="2024-01-08T11:57:39Z" level=debug msg="Fetching update from file results: [&{0x2238180}], 5632, " +time="2024-01-08T12:26:30Z" level=debug msg="Starting device update." +time="2024-01-08T12:26:30Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall942706185/artifact.mender]" +time="2024-01-08T12:26:30Z" level=debug msg="Fetching update from file results: [&{0x16b2380}], 5632, " Installing Artifact of size 5632... -time="2024-01-08T11:57:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall010344712/device_type" -time="2024-01-08T11:57:39Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:39Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:39Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-08T11:57:39Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:57:39Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-08T11:57:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-08T11:57:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-08T11:57:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-08T11:57:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-08T11:57:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-08T11:57:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-08T11:57:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-08T11:57:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-08T11:57:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-08T11:57:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-08T11:57:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-08T11:57:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-08T11:57:39Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-08T11:57:39Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall010344712/artifact_info file." -time="2024-01-08T11:57:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall010344712/artifact_info" -time="2024-01-08T11:57:39Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:39Z" level=debug msg="Current manifest data: old_name" -time="2024-01-08T11:57:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall010344712/artifact_info" -time="2024-01-08T11:57:39Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall010344712/device_type" -time="2024-01-08T11:57:39Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:39Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:39Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-08T11:57:39Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-08T11:57:39Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall010344712/modules/test-type Download /tmp/TestStandaloneModuleInstall010344712/work/payloads/0000/tree" -time="2024-01-08T11:57:39Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2024-01-08T12:26:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall942706185/device_type" +time="2024-01-08T12:26:30Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:30Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:30Z" level=debug msg="Executing script: Download_Enter_00" +time="2024-01-08T12:26:30Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:30Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2024-01-08T12:26:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2024-01-08T12:26:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2024-01-08T12:26:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2024-01-08T12:26:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2024-01-08T12:26:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2024-01-08T12:26:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2024-01-08T12:26:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2024-01-08T12:26:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2024-01-08T12:26:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2024-01-08T12:26:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2024-01-08T12:26:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2024-01-08T12:26:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2024-01-08T12:26:30Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2024-01-08T12:26:30Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall942706185/artifact_info file." +time="2024-01-08T12:26:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall942706185/artifact_info" +time="2024-01-08T12:26:30Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:30Z" level=debug msg="Current manifest data: old_name" +time="2024-01-08T12:26:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall942706185/artifact_info" +time="2024-01-08T12:26:30Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall942706185/device_type" +time="2024-01-08T12:26:30Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:30Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:30Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2024-01-08T12:26:30Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2024-01-08T12:26:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall942706185/modules/test-type Download /tmp/TestStandaloneModuleInstall942706185/work/payloads/0000/tree" +time="2024-01-08T12:26:30Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-08T11:57:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:39Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-08T11:57:39Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:57:39Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall010344712/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall010344712/work/payloads/0000/tree" -time="2024-01-08T11:57:39Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:39Z" level=debug msg="Module supports rollback" -time="2024-01-08T11:57:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:39Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:39Z" level=error msg="ArtifactInstall_Enter script failed: statescript: error executing 'ArtifactInstall_Enter_00': 1 : exit status 1" -time="2024-01-08T11:57:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:39Z" level=debug msg="Executing script: ArtifactInstall_Error_00" -time="2024-01-08T11:57:39Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:57:39Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall010344712/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall010344712/work/payloads/0000/tree" -time="2024-01-08T11:57:39Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:39Z" level=debug msg="Module supports rollback" +time="2024-01-08T12:26:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:30Z" level=debug msg="Executing script: Download_Leave_00" +time="2024-01-08T12:26:30Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall942706185/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall942706185/work/payloads/0000/tree" +time="2024-01-08T12:26:30Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:30Z" level=debug msg="Module supports rollback" +time="2024-01-08T12:26:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:30Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:30Z" level=error msg="ArtifactInstall_Enter script failed: statescript: error executing 'ArtifactInstall_Enter_00': 1 : exit status 1" +time="2024-01-08T12:26:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:30Z" level=debug msg="Executing script: ArtifactInstall_Error_00" +time="2024-01-08T12:26:30Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall942706185/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall942706185/work/payloads/0000/tree" +time="2024-01-08T12:26:30Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:30Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2024-01-08T11:57:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:39Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:39Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2024-01-08T11:57:39Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall010344712/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall010344712/work/payloads/0000/tree" -time="2024-01-08T11:57:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:39Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:39Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:39Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2024-01-08T11:57:39Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall010344712/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall010344712/work/payloads/0000/tree" -time="2024-01-08T11:57:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:39Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:39Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-08T11:57:39Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall010344712/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall010344712/work/payloads/0000/tree" -time="2024-01-08T11:57:39Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall010344712/artifact_info file." -time="2024-01-08T11:57:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall010344712/artifact_info" -time="2024-01-08T11:57:39Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:39Z" level=debug msg="Current manifest data: old_name" +time="2024-01-08T12:26:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:30Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:30Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2024-01-08T12:26:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall942706185/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall942706185/work/payloads/0000/tree" +time="2024-01-08T12:26:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:30Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:30Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:30Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2024-01-08T12:26:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall942706185/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall942706185/work/payloads/0000/tree" +time="2024-01-08T12:26:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:30Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:30Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2024-01-08T12:26:30Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall942706185/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall942706185/work/payloads/0000/tree" +time="2024-01-08T12:26:30Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall942706185/artifact_info file." +time="2024-01-08T12:26:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall942706185/artifact_info" +time="2024-01-08T12:26:30Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:30Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactInstall -time="2024-01-08T11:57:40Z" level=debug msg="Starting device update." -time="2024-01-08T11:57:40Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall010369681/artifact.mender]" -time="2024-01-08T11:57:40Z" level=debug msg="Fetching update from file results: [&{0x25976c0}], 5632, " +time="2024-01-08T12:26:31Z" level=debug msg="Starting device update." +time="2024-01-08T12:26:31Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall321715238/artifact.mender]" +time="2024-01-08T12:26:31Z" level=debug msg="Fetching update from file results: [&{0x14ae180}], 5632, " Installing Artifact of size 5632... -time="2024-01-08T11:57:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall010369681/device_type" -time="2024-01-08T11:57:40Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:40Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:40Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-08T11:57:40Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:57:40Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-08T11:57:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-08T11:57:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-08T11:57:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-08T11:57:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-08T11:57:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-08T11:57:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-08T11:57:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-08T11:57:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-08T11:57:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-08T11:57:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-08T11:57:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-08T11:57:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-08T11:57:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:40Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-08T11:57:40Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall010369681/artifact_info file." -time="2024-01-08T11:57:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall010369681/artifact_info" -time="2024-01-08T11:57:40Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:40Z" level=debug msg="Current manifest data: old_name" -time="2024-01-08T11:57:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall010369681/artifact_info" -time="2024-01-08T11:57:40Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall010369681/device_type" -time="2024-01-08T11:57:40Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:40Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:40Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-08T11:57:40Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-08T11:57:40Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall010369681/modules/test-type Download /tmp/TestStandaloneModuleInstall010369681/work/payloads/0000/tree" -time="2024-01-08T11:57:40Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2024-01-08T12:26:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall321715238/device_type" +time="2024-01-08T12:26:31Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:31Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:31Z" level=debug msg="Executing script: Download_Enter_00" +time="2024-01-08T12:26:31Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:31Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2024-01-08T12:26:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2024-01-08T12:26:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2024-01-08T12:26:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2024-01-08T12:26:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2024-01-08T12:26:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2024-01-08T12:26:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2024-01-08T12:26:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2024-01-08T12:26:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2024-01-08T12:26:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2024-01-08T12:26:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2024-01-08T12:26:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2024-01-08T12:26:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:31Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2024-01-08T12:26:31Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2024-01-08T12:26:31Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall321715238/artifact_info file." +time="2024-01-08T12:26:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall321715238/artifact_info" +time="2024-01-08T12:26:31Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:31Z" level=debug msg="Current manifest data: old_name" +time="2024-01-08T12:26:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall321715238/artifact_info" +time="2024-01-08T12:26:31Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall321715238/device_type" +time="2024-01-08T12:26:31Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:31Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:31Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2024-01-08T12:26:31Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2024-01-08T12:26:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall321715238/modules/test-type Download /tmp/TestStandaloneModuleInstall321715238/work/payloads/0000/tree" +time="2024-01-08T12:26:31Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-08T11:57:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:40Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-08T11:57:40Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:57:40Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall010369681/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall010369681/work/payloads/0000/tree" -time="2024-01-08T11:57:40Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:40Z" level=debug msg="Module supports rollback" -time="2024-01-08T11:57:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:40Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:40Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-08T11:57:40Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall010369681/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall010369681/work/payloads/0000/tree" -time="2024-01-08T11:57:40Z" level=error msg="Update module terminated abnormally: exit status 1" -time="2024-01-08T11:57:40Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" -time="2024-01-08T11:57:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:40Z" level=debug msg="Executing script: ArtifactInstall_Error_00" -time="2024-01-08T11:57:40Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:57:40Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall010369681/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall010369681/work/payloads/0000/tree" -time="2024-01-08T11:57:40Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:40Z" level=debug msg="Module supports rollback" +time="2024-01-08T12:26:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:31Z" level=debug msg="Executing script: Download_Leave_00" +time="2024-01-08T12:26:31Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall321715238/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall321715238/work/payloads/0000/tree" +time="2024-01-08T12:26:31Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:31Z" level=debug msg="Module supports rollback" +time="2024-01-08T12:26:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:31Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:31Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2024-01-08T12:26:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall321715238/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall321715238/work/payloads/0000/tree" +time="2024-01-08T12:26:31Z" level=error msg="Update module terminated abnormally: exit status 1" +time="2024-01-08T12:26:31Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" +time="2024-01-08T12:26:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:31Z" level=debug msg="Executing script: ArtifactInstall_Error_00" +time="2024-01-08T12:26:31Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall321715238/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall321715238/work/payloads/0000/tree" +time="2024-01-08T12:26:31Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:31Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2024-01-08T11:57:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:40Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:40Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2024-01-08T11:57:40Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall010369681/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall010369681/work/payloads/0000/tree" -time="2024-01-08T11:57:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:40Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:40Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:40Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2024-01-08T11:57:40Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall010369681/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall010369681/work/payloads/0000/tree" -time="2024-01-08T11:57:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:40Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:40Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-08T11:57:40Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall010369681/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall010369681/work/payloads/0000/tree" -time="2024-01-08T11:57:40Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall010369681/artifact_info file." -time="2024-01-08T11:57:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall010369681/artifact_info" -time="2024-01-08T11:57:40Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:40Z" level=debug msg="Current manifest data: old_name" +time="2024-01-08T12:26:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:31Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:31Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2024-01-08T12:26:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall321715238/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall321715238/work/payloads/0000/tree" +time="2024-01-08T12:26:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:31Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:31Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2024-01-08T12:26:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall321715238/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall321715238/work/payloads/0000/tree" +time="2024-01-08T12:26:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:31Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:31Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2024-01-08T12:26:31Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall321715238/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall321715238/work/payloads/0000/tree" +time="2024-01-08T12:26:31Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall321715238/artifact_info file." +time="2024-01-08T12:26:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall321715238/artifact_info" +time="2024-01-08T12:26:31Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:31Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Leave_00 -time="2024-01-08T11:57:40Z" level=debug msg="Starting device update." -time="2024-01-08T11:57:40Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall863661390/artifact.mender]" -time="2024-01-08T11:57:40Z" level=debug msg="Fetching update from file results: [&{0x2597740}], 5632, " +time="2024-01-08T12:26:31Z" level=debug msg="Starting device update." +time="2024-01-08T12:26:31Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall645243143/artifact.mender]" +time="2024-01-08T12:26:31Z" level=debug msg="Fetching update from file results: [&{0x1784200}], 5632, " Installing Artifact of size 5632... -time="2024-01-08T11:57:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall863661390/device_type" -time="2024-01-08T11:57:40Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:40Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:40Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-08T11:57:41Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:57:41Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-08T11:57:41Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-08T11:57:41Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall863661390/artifact_info file." -time="2024-01-08T11:57:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall863661390/artifact_info" -time="2024-01-08T11:57:41Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:41Z" level=debug msg="Current manifest data: old_name" -time="2024-01-08T11:57:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall863661390/artifact_info" -time="2024-01-08T11:57:41Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall863661390/device_type" -time="2024-01-08T11:57:41Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:41Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-08T11:57:41Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-08T11:57:41Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall863661390/modules/test-type Download /tmp/TestStandaloneModuleInstall863661390/work/payloads/0000/tree" -time="2024-01-08T11:57:41Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2024-01-08T12:26:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall645243143/device_type" +time="2024-01-08T12:26:31Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:31Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:31Z" level=debug msg="Executing script: Download_Enter_00" +time="2024-01-08T12:26:31Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:31Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2024-01-08T12:26:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2024-01-08T12:26:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2024-01-08T12:26:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2024-01-08T12:26:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2024-01-08T12:26:31Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:31Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2024-01-08T12:26:31Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2024-01-08T12:26:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2024-01-08T12:26:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2024-01-08T12:26:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2024-01-08T12:26:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2024-01-08T12:26:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2024-01-08T12:26:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2024-01-08T12:26:32Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2024-01-08T12:26:32Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall645243143/artifact_info file." +time="2024-01-08T12:26:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall645243143/artifact_info" +time="2024-01-08T12:26:32Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:32Z" level=debug msg="Current manifest data: old_name" +time="2024-01-08T12:26:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall645243143/artifact_info" +time="2024-01-08T12:26:32Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall645243143/device_type" +time="2024-01-08T12:26:32Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:32Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:32Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2024-01-08T12:26:32Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2024-01-08T12:26:32Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall645243143/modules/test-type Download /tmp/TestStandaloneModuleInstall645243143/work/payloads/0000/tree" +time="2024-01-08T12:26:32Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-08T11:57:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:41Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-08T11:57:41Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:57:41Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall863661390/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall863661390/work/payloads/0000/tree" -time="2024-01-08T11:57:41Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:41Z" level=debug msg="Module supports rollback" -time="2024-01-08T11:57:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:41Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:41Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-08T11:57:41Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall863661390/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall863661390/work/payloads/0000/tree" -time="2024-01-08T11:57:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:41Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:41Z" level=error msg="ArtifactInstall_Leave script failed: statescript: error executing 'ArtifactInstall_Leave_00': 1 : exit status 1" -time="2024-01-08T11:57:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:41Z" level=debug msg="Executing script: ArtifactInstall_Error_00" -time="2024-01-08T11:57:41Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:57:41Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall863661390/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall863661390/work/payloads/0000/tree" -time="2024-01-08T11:57:41Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:41Z" level=debug msg="Module supports rollback" +time="2024-01-08T12:26:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:32Z" level=debug msg="Executing script: Download_Leave_00" +time="2024-01-08T12:26:32Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:32Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall645243143/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall645243143/work/payloads/0000/tree" +time="2024-01-08T12:26:32Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:32Z" level=debug msg="Module supports rollback" +time="2024-01-08T12:26:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:32Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:32Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2024-01-08T12:26:32Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall645243143/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall645243143/work/payloads/0000/tree" +time="2024-01-08T12:26:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:32Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:32Z" level=error msg="ArtifactInstall_Leave script failed: statescript: error executing 'ArtifactInstall_Leave_00': 1 : exit status 1" +time="2024-01-08T12:26:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:32Z" level=debug msg="Executing script: ArtifactInstall_Error_00" +time="2024-01-08T12:26:32Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:32Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall645243143/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall645243143/work/payloads/0000/tree" +time="2024-01-08T12:26:32Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:32Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2024-01-08T11:57:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:41Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:41Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2024-01-08T11:57:41Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall863661390/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall863661390/work/payloads/0000/tree" -time="2024-01-08T11:57:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:41Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:41Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:41Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2024-01-08T11:57:41Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall863661390/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall863661390/work/payloads/0000/tree" -time="2024-01-08T11:57:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:41Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:41Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-08T11:57:41Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall863661390/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall863661390/work/payloads/0000/tree" -time="2024-01-08T11:57:41Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall863661390/artifact_info file." -time="2024-01-08T11:57:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall863661390/artifact_info" -time="2024-01-08T11:57:41Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:41Z" level=debug msg="Current manifest data: old_name" +time="2024-01-08T12:26:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:32Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:32Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2024-01-08T12:26:32Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall645243143/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall645243143/work/payloads/0000/tree" +time="2024-01-08T12:26:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:32Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:32Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2024-01-08T12:26:32Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall645243143/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall645243143/work/payloads/0000/tree" +time="2024-01-08T12:26:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:32Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:32Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2024-01-08T12:26:32Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall645243143/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall645243143/work/payloads/0000/tree" +time="2024-01-08T12:26:32Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall645243143/artifact_info file." +time="2024-01-08T12:26:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall645243143/artifact_info" +time="2024-01-08T12:26:32Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:32Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00 -time="2024-01-08T11:57:41Z" level=debug msg="Starting device update." -time="2024-01-08T11:57:41Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall227647823/artifact.mender]" -time="2024-01-08T11:57:41Z" level=debug msg="Fetching update from file results: [&{0x23be300}], 5632, " +time="2024-01-08T12:26:32Z" level=debug msg="Starting device update." +time="2024-01-08T12:26:32Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall780409340/artifact.mender]" +time="2024-01-08T12:26:32Z" level=debug msg="Fetching update from file results: [&{0x17e4200}], 5632, " Installing Artifact of size 5632... -time="2024-01-08T11:57:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall227647823/device_type" -time="2024-01-08T11:57:41Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:41Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:41Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-08T11:57:41Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:57:41Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-08T11:57:41Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-08T11:57:41Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall227647823/artifact_info file." -time="2024-01-08T11:57:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall227647823/artifact_info" -time="2024-01-08T11:57:41Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:41Z" level=debug msg="Current manifest data: old_name" -time="2024-01-08T11:57:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall227647823/artifact_info" -time="2024-01-08T11:57:41Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall227647823/device_type" -time="2024-01-08T11:57:41Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:41Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:42Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-08T11:57:42Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-08T11:57:42Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall227647823/modules/test-type Download /tmp/TestStandaloneModuleInstall227647823/work/payloads/0000/tree" -time="2024-01-08T11:57:42Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2024-01-08T12:26:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall780409340/device_type" +time="2024-01-08T12:26:32Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:32Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:32Z" level=debug msg="Executing script: Download_Enter_00" +time="2024-01-08T12:26:32Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:32Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2024-01-08T12:26:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2024-01-08T12:26:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2024-01-08T12:26:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2024-01-08T12:26:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2024-01-08T12:26:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2024-01-08T12:26:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2024-01-08T12:26:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2024-01-08T12:26:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2024-01-08T12:26:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2024-01-08T12:26:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2024-01-08T12:26:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2024-01-08T12:26:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2024-01-08T12:26:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:32Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2024-01-08T12:26:32Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall780409340/artifact_info file." +time="2024-01-08T12:26:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall780409340/artifact_info" +time="2024-01-08T12:26:32Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:32Z" level=debug msg="Current manifest data: old_name" +time="2024-01-08T12:26:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall780409340/artifact_info" +time="2024-01-08T12:26:32Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall780409340/device_type" +time="2024-01-08T12:26:32Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:32Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:32Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2024-01-08T12:26:32Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2024-01-08T12:26:32Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall780409340/modules/test-type Download /tmp/TestStandaloneModuleInstall780409340/work/payloads/0000/tree" +time="2024-01-08T12:26:32Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-08T11:57:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:42Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-08T11:57:42Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:57:42Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall227647823/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall227647823/work/payloads/0000/tree" -time="2024-01-08T11:57:42Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:42Z" level=debug msg="Module supports rollback" -time="2024-01-08T11:57:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:42Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:42Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-08T11:57:42Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall227647823/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall227647823/work/payloads/0000/tree" -time="2024-01-08T11:57:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:42Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:42Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2024-01-08T11:57:42Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall227647823/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall227647823/work/payloads/0000/tree" -time="2024-01-08T11:57:42Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:42Z" level=debug msg="Module needs custom reboot" +time="2024-01-08T12:26:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:32Z" level=debug msg="Executing script: Download_Leave_00" +time="2024-01-08T12:26:33Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:33Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall780409340/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall780409340/work/payloads/0000/tree" +time="2024-01-08T12:26:33Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:33Z" level=debug msg="Module supports rollback" +time="2024-01-08T12:26:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:33Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:33Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2024-01-08T12:26:33Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall780409340/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall780409340/work/payloads/0000/tree" +time="2024-01-08T12:26:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:33Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:33Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2024-01-08T12:26:33Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall780409340/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall780409340/work/payloads/0000/tree" +time="2024-01-08T12:26:33Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:33Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. Committing Artifact... -time="2024-01-08T11:57:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:42Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" -time="2024-01-08T11:57:42Z" level=error msg="ArtifactCommit_Enter script failed: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" -time="2024-01-08T11:57:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:42Z" level=debug msg="Executing script: ArtifactCommit_Error_00" -time="2024-01-08T11:57:42Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:57:42Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall227647823/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall227647823/work/payloads/0000/tree" -time="2024-01-08T11:57:42Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:42Z" level=debug msg="Module supports rollback" +time="2024-01-08T12:26:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:33Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" +time="2024-01-08T12:26:33Z" level=error msg="ArtifactCommit_Enter script failed: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" +time="2024-01-08T12:26:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:33Z" level=debug msg="Executing script: ArtifactCommit_Error_00" +time="2024-01-08T12:26:33Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:33Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall780409340/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall780409340/work/payloads/0000/tree" +time="2024-01-08T12:26:33Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:33Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2024-01-08T11:57:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:42Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:42Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2024-01-08T11:57:42Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall227647823/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall227647823/work/payloads/0000/tree" -time="2024-01-08T11:57:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:42Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:42Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:42Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2024-01-08T11:57:42Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall227647823/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall227647823/work/payloads/0000/tree" -time="2024-01-08T11:57:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:42Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:42Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-08T11:57:42Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall227647823/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall227647823/work/payloads/0000/tree" -time="2024-01-08T11:57:42Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall227647823/artifact_info file." -time="2024-01-08T11:57:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall227647823/artifact_info" -time="2024-01-08T11:57:42Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:42Z" level=debug msg="Current manifest data: old_name" +time="2024-01-08T12:26:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:33Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:33Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2024-01-08T12:26:33Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall780409340/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall780409340/work/payloads/0000/tree" +time="2024-01-08T12:26:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:33Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:33Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:33Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2024-01-08T12:26:33Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall780409340/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall780409340/work/payloads/0000/tree" +time="2024-01-08T12:26:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:33Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:33Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2024-01-08T12:26:33Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall780409340/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall780409340/work/payloads/0000/tree" +time="2024-01-08T12:26:33Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall780409340/artifact_info file." +time="2024-01-08T12:26:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall780409340/artifact_info" +time="2024-01-08T12:26:33Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:33Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit -time="2024-01-08T11:57:42Z" level=debug msg="Starting device update." -time="2024-01-08T11:57:42Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall751379940/artifact.mender]" -time="2024-01-08T11:57:42Z" level=debug msg="Fetching update from file results: [&{0x24341c0}], 5632, " +time="2024-01-08T12:26:33Z" level=debug msg="Starting device update." +time="2024-01-08T12:26:33Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall129994901/artifact.mender]" +time="2024-01-08T12:26:33Z" level=debug msg="Fetching update from file results: [&{0x17843c0}], 5632, " Installing Artifact of size 5632... -time="2024-01-08T11:57:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall751379940/device_type" -time="2024-01-08T11:57:42Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:42Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:42Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-08T11:57:42Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:57:42Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-08T11:57:42Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:42Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:42Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:42Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:42Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-08T11:57:42Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:42Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-08T11:57:42Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-08T11:57:42Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-08T11:57:42Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-08T11:57:42Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-08T11:57:42Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-08T11:57:42Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-08T11:57:42Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-08T11:57:42Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-08T11:57:42Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:42Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-08T11:57:42Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-08T11:57:42Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-08T11:57:42Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall751379940/artifact_info file." -time="2024-01-08T11:57:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall751379940/artifact_info" -time="2024-01-08T11:57:42Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:42Z" level=debug msg="Current manifest data: old_name" -time="2024-01-08T11:57:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall751379940/artifact_info" -time="2024-01-08T11:57:42Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall751379940/device_type" -time="2024-01-08T11:57:42Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:42Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:42Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-08T11:57:42Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-08T11:57:42Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall751379940/modules/test-type Download /tmp/TestStandaloneModuleInstall751379940/work/payloads/0000/tree" -time="2024-01-08T11:57:42Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2024-01-08T12:26:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall129994901/device_type" +time="2024-01-08T12:26:33Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:33Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:33Z" level=debug msg="Executing script: Download_Enter_00" +time="2024-01-08T12:26:33Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:33Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2024-01-08T12:26:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2024-01-08T12:26:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2024-01-08T12:26:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2024-01-08T12:26:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2024-01-08T12:26:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2024-01-08T12:26:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2024-01-08T12:26:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2024-01-08T12:26:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2024-01-08T12:26:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2024-01-08T12:26:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2024-01-08T12:26:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2024-01-08T12:26:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2024-01-08T12:26:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:33Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2024-01-08T12:26:33Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall129994901/artifact_info file." +time="2024-01-08T12:26:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall129994901/artifact_info" +time="2024-01-08T12:26:33Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:33Z" level=debug msg="Current manifest data: old_name" +time="2024-01-08T12:26:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall129994901/artifact_info" +time="2024-01-08T12:26:33Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall129994901/device_type" +time="2024-01-08T12:26:33Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:33Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:33Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2024-01-08T12:26:33Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2024-01-08T12:26:33Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall129994901/modules/test-type Download /tmp/TestStandaloneModuleInstall129994901/work/payloads/0000/tree" +time="2024-01-08T12:26:33Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-08T11:57:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:42Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-08T11:57:42Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:57:42Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall751379940/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall751379940/work/payloads/0000/tree" -time="2024-01-08T11:57:43Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:43Z" level=debug msg="Module supports rollback" -time="2024-01-08T11:57:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:43Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:43Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-08T11:57:43Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall751379940/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall751379940/work/payloads/0000/tree" -time="2024-01-08T11:57:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:43Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:43Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2024-01-08T11:57:43Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall751379940/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall751379940/work/payloads/0000/tree" -time="2024-01-08T11:57:43Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:43Z" level=debug msg="Module needs custom reboot" +time="2024-01-08T12:26:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:33Z" level=debug msg="Executing script: Download_Leave_00" +time="2024-01-08T12:26:33Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:33Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall129994901/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall129994901/work/payloads/0000/tree" +time="2024-01-08T12:26:33Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:33Z" level=debug msg="Module supports rollback" +time="2024-01-08T12:26:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:33Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:33Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2024-01-08T12:26:33Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall129994901/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall129994901/work/payloads/0000/tree" +time="2024-01-08T12:26:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:33Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:33Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2024-01-08T12:26:33Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall129994901/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall129994901/work/payloads/0000/tree" +time="2024-01-08T12:26:34Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:34Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. Committing Artifact... -time="2024-01-08T11:57:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:43Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" -time="2024-01-08T11:57:43Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" -time="2024-01-08T11:57:43Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall751379940/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall751379940/work/payloads/0000/tree" -time="2024-01-08T11:57:43Z" level=error msg="Update module terminated abnormally: exit status 1" -time="2024-01-08T11:57:43Z" level=error msg="Commit failed: Update module terminated abnormally: exit status 1" -time="2024-01-08T11:57:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:43Z" level=debug msg="Executing script: ArtifactCommit_Error_00" -time="2024-01-08T11:57:43Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:57:43Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall751379940/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall751379940/work/payloads/0000/tree" -time="2024-01-08T11:57:43Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:43Z" level=debug msg="Module supports rollback" +time="2024-01-08T12:26:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:34Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" +time="2024-01-08T12:26:34Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" +time="2024-01-08T12:26:34Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall129994901/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall129994901/work/payloads/0000/tree" +time="2024-01-08T12:26:34Z" level=error msg="Update module terminated abnormally: exit status 1" +time="2024-01-08T12:26:34Z" level=error msg="Commit failed: Update module terminated abnormally: exit status 1" +time="2024-01-08T12:26:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:34Z" level=debug msg="Executing script: ArtifactCommit_Error_00" +time="2024-01-08T12:26:34Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:34Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall129994901/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall129994901/work/payloads/0000/tree" +time="2024-01-08T12:26:34Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:34Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2024-01-08T11:57:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:43Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:43Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2024-01-08T11:57:43Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall751379940/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall751379940/work/payloads/0000/tree" -time="2024-01-08T11:57:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:43Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:43Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:43Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2024-01-08T11:57:43Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall751379940/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall751379940/work/payloads/0000/tree" -time="2024-01-08T11:57:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:43Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:43Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-08T11:57:43Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall751379940/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall751379940/work/payloads/0000/tree" -time="2024-01-08T11:57:43Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall751379940/artifact_info file." -time="2024-01-08T11:57:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall751379940/artifact_info" -time="2024-01-08T11:57:43Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:43Z" level=debug msg="Current manifest data: old_name" +time="2024-01-08T12:26:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:34Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:34Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2024-01-08T12:26:34Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall129994901/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall129994901/work/payloads/0000/tree" +time="2024-01-08T12:26:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:34Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:34Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:34Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2024-01-08T12:26:34Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall129994901/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall129994901/work/payloads/0000/tree" +time="2024-01-08T12:26:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:34Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:34Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2024-01-08T12:26:34Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall129994901/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall129994901/work/payloads/0000/tree" +time="2024-01-08T12:26:34Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall129994901/artifact_info file." +time="2024-01-08T12:26:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall129994901/artifact_info" +time="2024-01-08T12:26:34Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:34Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00 -time="2024-01-08T11:57:43Z" level=debug msg="Starting device update." -time="2024-01-08T11:57:43Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall210378909/artifact.mender]" -time="2024-01-08T11:57:43Z" level=debug msg="Fetching update from file results: [&{0x2060200}], 5632, " +time="2024-01-08T12:26:34Z" level=debug msg="Starting device update." +time="2024-01-08T12:26:34Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall932267938/artifact.mender]" +time="2024-01-08T12:26:34Z" level=debug msg="Fetching update from file results: [&{0x18282c0}], 5632, " Installing Artifact of size 5632... -time="2024-01-08T11:57:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall210378909/device_type" -time="2024-01-08T11:57:43Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:43Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:43Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-08T11:57:43Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:57:43Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-08T11:57:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-08T11:57:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-08T11:57:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-08T11:57:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-08T11:57:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-08T11:57:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-08T11:57:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-08T11:57:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-08T11:57:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-08T11:57:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-08T11:57:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-08T11:57:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-08T11:57:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:43Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-08T11:57:43Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall210378909/artifact_info file." -time="2024-01-08T11:57:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall210378909/artifact_info" -time="2024-01-08T11:57:43Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:43Z" level=debug msg="Current manifest data: old_name" -time="2024-01-08T11:57:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall210378909/artifact_info" -time="2024-01-08T11:57:43Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall210378909/device_type" -time="2024-01-08T11:57:43Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:43Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:43Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-08T11:57:43Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-08T11:57:43Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall210378909/modules/test-type Download /tmp/TestStandaloneModuleInstall210378909/work/payloads/0000/tree" -time="2024-01-08T11:57:43Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2024-01-08T12:26:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall932267938/device_type" +time="2024-01-08T12:26:34Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:34Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:34Z" level=debug msg="Executing script: Download_Enter_00" +time="2024-01-08T12:26:34Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:34Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2024-01-08T12:26:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2024-01-08T12:26:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2024-01-08T12:26:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2024-01-08T12:26:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2024-01-08T12:26:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2024-01-08T12:26:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2024-01-08T12:26:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2024-01-08T12:26:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2024-01-08T12:26:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2024-01-08T12:26:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2024-01-08T12:26:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2024-01-08T12:26:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2024-01-08T12:26:34Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2024-01-08T12:26:34Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall932267938/artifact_info file." +time="2024-01-08T12:26:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall932267938/artifact_info" +time="2024-01-08T12:26:34Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:34Z" level=debug msg="Current manifest data: old_name" +time="2024-01-08T12:26:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall932267938/artifact_info" +time="2024-01-08T12:26:34Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall932267938/device_type" +time="2024-01-08T12:26:34Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:34Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:34Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2024-01-08T12:26:34Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2024-01-08T12:26:34Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall932267938/modules/test-type Download /tmp/TestStandaloneModuleInstall932267938/work/payloads/0000/tree" +time="2024-01-08T12:26:34Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-08T11:57:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:43Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-08T11:57:43Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:57:43Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall210378909/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall210378909/work/payloads/0000/tree" -time="2024-01-08T11:57:43Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:43Z" level=debug msg="Module supports rollback" -time="2024-01-08T11:57:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:43Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:43Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-08T11:57:43Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall210378909/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall210378909/work/payloads/0000/tree" -time="2024-01-08T11:57:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:43Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:44Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2024-01-08T11:57:44Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall210378909/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall210378909/work/payloads/0000/tree" -time="2024-01-08T11:57:44Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:44Z" level=debug msg="Module needs custom reboot" +time="2024-01-08T12:26:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:34Z" level=debug msg="Executing script: Download_Leave_00" +time="2024-01-08T12:26:34Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:34Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall932267938/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall932267938/work/payloads/0000/tree" +time="2024-01-08T12:26:34Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:34Z" level=debug msg="Module supports rollback" +time="2024-01-08T12:26:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:34Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:34Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2024-01-08T12:26:34Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall932267938/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall932267938/work/payloads/0000/tree" +time="2024-01-08T12:26:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:34Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:34Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2024-01-08T12:26:34Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall932267938/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall932267938/work/payloads/0000/tree" +time="2024-01-08T12:26:34Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:34Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. Committing Artifact... -time="2024-01-08T11:57:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:44Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" -time="2024-01-08T11:57:44Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" -time="2024-01-08T11:57:44Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall210378909/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall210378909/work/payloads/0000/tree" -time="2024-01-08T11:57:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:44Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" -time="2024-01-08T11:57:44Z" level=error msg="ArtifactCommit_Leave script failed: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" -time="2024-01-08T11:57:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:44Z" level=debug msg="Executing script: ArtifactCommit_Error_00" -time="2024-01-08T11:57:44Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-08T11:57:44Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall210378909/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall210378909/work/payloads/0000/tree" -time="2024-01-08T11:57:44Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2024-01-08T12:26:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:34Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" +time="2024-01-08T12:26:34Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" +time="2024-01-08T12:26:34Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall932267938/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall932267938/work/payloads/0000/tree" +time="2024-01-08T12:26:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:34Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" +time="2024-01-08T12:26:35Z" level=error msg="ArtifactCommit_Leave script failed: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" +time="2024-01-08T12:26:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:35Z" level=debug msg="Executing script: ArtifactCommit_Error_00" +time="2024-01-08T12:26:35Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2024-01-08T12:26:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall932267938/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall932267938/work/payloads/0000/tree" +time="2024-01-08T12:26:35Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00,_no_rollback -time="2024-01-08T11:57:44Z" level=debug msg="Starting device update." -time="2024-01-08T11:57:44Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall674220618/artifact.mender]" -time="2024-01-08T11:57:44Z" level=debug msg="Fetching update from file results: [&{0x211e500}], 5632, " +time="2024-01-08T12:26:35Z" level=debug msg="Starting device update." +time="2024-01-08T12:26:35Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall105689651/artifact.mender]" +time="2024-01-08T12:26:35Z" level=debug msg="Fetching update from file results: [&{0x1788140}], 5632, " Installing Artifact of size 5632... -time="2024-01-08T11:57:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall674220618/device_type" -time="2024-01-08T11:57:44Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:44Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:44Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-08T11:57:44Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:57:44Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-08T11:57:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-08T11:57:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-08T11:57:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-08T11:57:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-08T11:57:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-08T11:57:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-08T11:57:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-08T11:57:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-08T11:57:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-08T11:57:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-08T11:57:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-08T11:57:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-08T11:57:44Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-08T11:57:44Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall674220618/artifact_info file." -time="2024-01-08T11:57:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall674220618/artifact_info" -time="2024-01-08T11:57:44Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:44Z" level=debug msg="Current manifest data: old_name" -time="2024-01-08T11:57:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall674220618/artifact_info" -time="2024-01-08T11:57:44Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall674220618/device_type" -time="2024-01-08T11:57:44Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:44Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:44Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-08T11:57:44Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-08T11:57:44Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall674220618/modules/test-type Download /tmp/TestStandaloneModuleInstall674220618/work/payloads/0000/tree" -time="2024-01-08T11:57:44Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2024-01-08T12:26:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall105689651/device_type" +time="2024-01-08T12:26:35Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:35Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:35Z" level=debug msg="Executing script: Download_Enter_00" +time="2024-01-08T12:26:35Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:35Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2024-01-08T12:26:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2024-01-08T12:26:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2024-01-08T12:26:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2024-01-08T12:26:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2024-01-08T12:26:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2024-01-08T12:26:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2024-01-08T12:26:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2024-01-08T12:26:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2024-01-08T12:26:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2024-01-08T12:26:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2024-01-08T12:26:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2024-01-08T12:26:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2024-01-08T12:26:35Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2024-01-08T12:26:35Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall105689651/artifact_info file." +time="2024-01-08T12:26:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall105689651/artifact_info" +time="2024-01-08T12:26:35Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:35Z" level=debug msg="Current manifest data: old_name" +time="2024-01-08T12:26:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall105689651/artifact_info" +time="2024-01-08T12:26:35Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall105689651/device_type" +time="2024-01-08T12:26:35Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:35Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:35Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2024-01-08T12:26:35Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2024-01-08T12:26:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall105689651/modules/test-type Download /tmp/TestStandaloneModuleInstall105689651/work/payloads/0000/tree" +time="2024-01-08T12:26:35Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-08T11:57:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:44Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-08T11:57:44Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:57:44Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall674220618/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall674220618/work/payloads/0000/tree" -time="2024-01-08T11:57:44Z" level=debug msg="Update module output: No" -time="2024-01-08T11:57:44Z" level=debug msg="Module does not support rollback" -time="2024-01-08T11:57:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:44Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:44Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-08T11:57:44Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall674220618/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall674220618/work/payloads/0000/tree" -time="2024-01-08T11:57:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:44Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:44Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2024-01-08T11:57:44Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall674220618/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall674220618/work/payloads/0000/tree" -time="2024-01-08T11:57:44Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:44Z" level=debug msg="Module needs custom reboot" +time="2024-01-08T12:26:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:35Z" level=debug msg="Executing script: Download_Leave_00" +time="2024-01-08T12:26:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall105689651/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall105689651/work/payloads/0000/tree" +time="2024-01-08T12:26:35Z" level=debug msg="Update module output: No" +time="2024-01-08T12:26:35Z" level=debug msg="Module does not support rollback" +time="2024-01-08T12:26:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:35Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:35Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2024-01-08T12:26:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall105689651/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall105689651/work/payloads/0000/tree" +time="2024-01-08T12:26:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:35Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:35Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2024-01-08T12:26:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall105689651/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall105689651/work/payloads/0000/tree" +time="2024-01-08T12:26:35Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:35Z" level=debug msg="Module needs custom reboot" Artifact doesn't support rollback. Committing immediately. Committing Artifact... -time="2024-01-08T11:57:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:44Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" -time="2024-01-08T11:57:44Z" level=error msg="ArtifactCommit_Enter script failed: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" -time="2024-01-08T11:57:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:44Z" level=debug msg="Executing script: ArtifactCommit_Error_00" -time="2024-01-08T11:57:44Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:57:44Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall674220618/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall674220618/work/payloads/0000/tree" -time="2024-01-08T11:57:44Z" level=debug msg="Update module output: No" -time="2024-01-08T11:57:44Z" level=debug msg="Module does not support rollback" -time="2024-01-08T11:57:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:44Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:44Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2024-01-08T11:57:44Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall674220618/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall674220618/work/payloads/0000/tree" -time="2024-01-08T11:57:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:45Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:45Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-08T11:57:45Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall674220618/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall674220618/work/payloads/0000/tree" -time="2024-01-08T11:57:45Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2024-01-08T12:26:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:35Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" +time="2024-01-08T12:26:35Z" level=error msg="ArtifactCommit_Enter script failed: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" +time="2024-01-08T12:26:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:35Z" level=debug msg="Executing script: ArtifactCommit_Error_00" +time="2024-01-08T12:26:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall105689651/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall105689651/work/payloads/0000/tree" +time="2024-01-08T12:26:35Z" level=debug msg="Update module output: No" +time="2024-01-08T12:26:35Z" level=debug msg="Module does not support rollback" +time="2024-01-08T12:26:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:35Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:35Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2024-01-08T12:26:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall105689651/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall105689651/work/payloads/0000/tree" +time="2024-01-08T12:26:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:35Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:35Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2024-01-08T12:26:35Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall105689651/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall105689651/work/payloads/0000/tree" +time="2024-01-08T12:26:35Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit,_no_rollback -time="2024-01-08T11:57:45Z" level=debug msg="Starting device update." -time="2024-01-08T11:57:45Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall486788603/artifact.mender]" -time="2024-01-08T11:57:45Z" level=debug msg="Fetching update from file results: [&{0x2238280}], 5632, " +time="2024-01-08T12:26:35Z" level=debug msg="Starting device update." +time="2024-01-08T12:26:35Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall686927000/artifact.mender]" +time="2024-01-08T12:26:35Z" level=debug msg="Fetching update from file results: [&{0x14b61c0}], 5632, " Installing Artifact of size 5632... -time="2024-01-08T11:57:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall486788603/device_type" -time="2024-01-08T11:57:45Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:45Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:45Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-08T11:57:45Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:57:45Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-08T11:57:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-08T11:57:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-08T11:57:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-08T11:57:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-08T11:57:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-08T11:57:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-08T11:57:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-08T11:57:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-08T11:57:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-08T11:57:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-08T11:57:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-08T11:57:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-08T11:57:45Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-08T11:57:45Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall486788603/artifact_info file." -time="2024-01-08T11:57:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall486788603/artifact_info" -time="2024-01-08T11:57:45Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:45Z" level=debug msg="Current manifest data: old_name" -time="2024-01-08T11:57:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall486788603/artifact_info" -time="2024-01-08T11:57:45Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall486788603/device_type" -time="2024-01-08T11:57:45Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:45Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:45Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-08T11:57:45Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-08T11:57:45Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall486788603/modules/test-type Download /tmp/TestStandaloneModuleInstall486788603/work/payloads/0000/tree" -time="2024-01-08T11:57:45Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2024-01-08T12:26:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall686927000/device_type" +time="2024-01-08T12:26:35Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:35Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:35Z" level=debug msg="Executing script: Download_Enter_00" +time="2024-01-08T12:26:35Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:35Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2024-01-08T12:26:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2024-01-08T12:26:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2024-01-08T12:26:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2024-01-08T12:26:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2024-01-08T12:26:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2024-01-08T12:26:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2024-01-08T12:26:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2024-01-08T12:26:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2024-01-08T12:26:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2024-01-08T12:26:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2024-01-08T12:26:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2024-01-08T12:26:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2024-01-08T12:26:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:36Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2024-01-08T12:26:36Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall686927000/artifact_info file." +time="2024-01-08T12:26:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall686927000/artifact_info" +time="2024-01-08T12:26:36Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:36Z" level=debug msg="Current manifest data: old_name" +time="2024-01-08T12:26:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall686927000/artifact_info" +time="2024-01-08T12:26:36Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall686927000/device_type" +time="2024-01-08T12:26:36Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:36Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:36Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2024-01-08T12:26:36Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2024-01-08T12:26:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall686927000/modules/test-type Download /tmp/TestStandaloneModuleInstall686927000/work/payloads/0000/tree" +time="2024-01-08T12:26:36Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-08T11:57:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:45Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-08T11:57:45Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:57:45Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall486788603/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall486788603/work/payloads/0000/tree" -time="2024-01-08T11:57:45Z" level=debug msg="Update module output: No" -time="2024-01-08T11:57:45Z" level=debug msg="Module does not support rollback" -time="2024-01-08T11:57:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:45Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:45Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-08T11:57:45Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall486788603/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall486788603/work/payloads/0000/tree" -time="2024-01-08T11:57:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:45Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:45Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2024-01-08T11:57:45Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall486788603/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall486788603/work/payloads/0000/tree" -time="2024-01-08T11:57:45Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:45Z" level=debug msg="Module needs custom reboot" +time="2024-01-08T12:26:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:36Z" level=debug msg="Executing script: Download_Leave_00" +time="2024-01-08T12:26:36Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall686927000/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall686927000/work/payloads/0000/tree" +time="2024-01-08T12:26:36Z" level=debug msg="Update module output: No" +time="2024-01-08T12:26:36Z" level=debug msg="Module does not support rollback" +time="2024-01-08T12:26:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:36Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:36Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2024-01-08T12:26:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall686927000/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall686927000/work/payloads/0000/tree" +time="2024-01-08T12:26:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:36Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:36Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2024-01-08T12:26:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall686927000/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall686927000/work/payloads/0000/tree" +time="2024-01-08T12:26:36Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:36Z" level=debug msg="Module needs custom reboot" Artifact doesn't support rollback. Committing immediately. Committing Artifact... -time="2024-01-08T11:57:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:45Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" -time="2024-01-08T11:57:45Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" -time="2024-01-08T11:57:45Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall486788603/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall486788603/work/payloads/0000/tree" -time="2024-01-08T11:57:45Z" level=error msg="Update module terminated abnormally: exit status 1" -time="2024-01-08T11:57:45Z" level=error msg="Commit failed: Update module terminated abnormally: exit status 1" -time="2024-01-08T11:57:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:45Z" level=debug msg="Executing script: ArtifactCommit_Error_00" -time="2024-01-08T11:57:45Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:57:45Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall486788603/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall486788603/work/payloads/0000/tree" -time="2024-01-08T11:57:45Z" level=debug msg="Update module output: No" -time="2024-01-08T11:57:45Z" level=debug msg="Module does not support rollback" -time="2024-01-08T11:57:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:45Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:45Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2024-01-08T11:57:45Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall486788603/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall486788603/work/payloads/0000/tree" -time="2024-01-08T11:57:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:45Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:45Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-08T11:57:45Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall486788603/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall486788603/work/payloads/0000/tree" -time="2024-01-08T11:57:45Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2024-01-08T12:26:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:36Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" +time="2024-01-08T12:26:36Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" +time="2024-01-08T12:26:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall686927000/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall686927000/work/payloads/0000/tree" +time="2024-01-08T12:26:36Z" level=error msg="Update module terminated abnormally: exit status 1" +time="2024-01-08T12:26:36Z" level=error msg="Commit failed: Update module terminated abnormally: exit status 1" +time="2024-01-08T12:26:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:36Z" level=debug msg="Executing script: ArtifactCommit_Error_00" +time="2024-01-08T12:26:36Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall686927000/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall686927000/work/payloads/0000/tree" +time="2024-01-08T12:26:36Z" level=debug msg="Update module output: No" +time="2024-01-08T12:26:36Z" level=debug msg="Module does not support rollback" +time="2024-01-08T12:26:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:36Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:36Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2024-01-08T12:26:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall686927000/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall686927000/work/payloads/0000/tree" +time="2024-01-08T12:26:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:36Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:36Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2024-01-08T12:26:36Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall686927000/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall686927000/work/payloads/0000/tree" +time="2024-01-08T12:26:36Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00,_no_rollback -time="2024-01-08T11:57:46Z" level=debug msg="Starting device update." -time="2024-01-08T11:57:46Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall208184832/artifact.mender]" -time="2024-01-08T11:57:46Z" level=debug msg="Fetching update from file results: [&{0x211e380}], 5632, " +time="2024-01-08T12:26:36Z" level=debug msg="Starting device update." +time="2024-01-08T12:26:36Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall915168097/artifact.mender]" +time="2024-01-08T12:26:36Z" level=debug msg="Fetching update from file results: [&{0x16fe300}], 5632, " Installing Artifact of size 5632... -time="2024-01-08T11:57:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall208184832/device_type" -time="2024-01-08T11:57:46Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:46Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:46Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-08T11:57:46Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:57:46Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-08T11:57:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-08T11:57:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-08T11:57:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-08T11:57:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-08T11:57:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-08T11:57:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-08T11:57:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-08T11:57:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-08T11:57:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-08T11:57:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-08T11:57:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-08T11:57:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-08T11:57:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:46Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-08T11:57:46Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall208184832/artifact_info file." -time="2024-01-08T11:57:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall208184832/artifact_info" -time="2024-01-08T11:57:46Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:46Z" level=debug msg="Current manifest data: old_name" -time="2024-01-08T11:57:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall208184832/artifact_info" -time="2024-01-08T11:57:46Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall208184832/device_type" -time="2024-01-08T11:57:46Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:46Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:46Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-08T11:57:46Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-08T11:57:46Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall208184832/modules/test-type Download /tmp/TestStandaloneModuleInstall208184832/work/payloads/0000/tree" -time="2024-01-08T11:57:46Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2024-01-08T12:26:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall915168097/device_type" +time="2024-01-08T12:26:36Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:36Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:36Z" level=debug msg="Executing script: Download_Enter_00" +time="2024-01-08T12:26:36Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:36Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2024-01-08T12:26:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2024-01-08T12:26:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2024-01-08T12:26:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2024-01-08T12:26:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2024-01-08T12:26:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2024-01-08T12:26:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2024-01-08T12:26:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2024-01-08T12:26:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2024-01-08T12:26:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2024-01-08T12:26:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2024-01-08T12:26:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2024-01-08T12:26:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2024-01-08T12:26:37Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2024-01-08T12:26:37Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall915168097/artifact_info file." +time="2024-01-08T12:26:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall915168097/artifact_info" +time="2024-01-08T12:26:37Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:37Z" level=debug msg="Current manifest data: old_name" +time="2024-01-08T12:26:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall915168097/artifact_info" +time="2024-01-08T12:26:37Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall915168097/device_type" +time="2024-01-08T12:26:37Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:37Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:37Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2024-01-08T12:26:37Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2024-01-08T12:26:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall915168097/modules/test-type Download /tmp/TestStandaloneModuleInstall915168097/work/payloads/0000/tree" +time="2024-01-08T12:26:37Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-08T11:57:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:46Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-08T11:57:46Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:57:46Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall208184832/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall208184832/work/payloads/0000/tree" -time="2024-01-08T11:57:46Z" level=debug msg="Update module output: No" -time="2024-01-08T11:57:46Z" level=debug msg="Module does not support rollback" -time="2024-01-08T11:57:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:46Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:46Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-08T11:57:46Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall208184832/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall208184832/work/payloads/0000/tree" -time="2024-01-08T11:57:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:46Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:46Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2024-01-08T11:57:46Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall208184832/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall208184832/work/payloads/0000/tree" -time="2024-01-08T11:57:46Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:46Z" level=debug msg="Module needs custom reboot" +time="2024-01-08T12:26:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:37Z" level=debug msg="Executing script: Download_Leave_00" +time="2024-01-08T12:26:37Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall915168097/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall915168097/work/payloads/0000/tree" +time="2024-01-08T12:26:37Z" level=debug msg="Update module output: No" +time="2024-01-08T12:26:37Z" level=debug msg="Module does not support rollback" +time="2024-01-08T12:26:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:37Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:37Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2024-01-08T12:26:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall915168097/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall915168097/work/payloads/0000/tree" +time="2024-01-08T12:26:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:37Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:37Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2024-01-08T12:26:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall915168097/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall915168097/work/payloads/0000/tree" +time="2024-01-08T12:26:37Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:37Z" level=debug msg="Module needs custom reboot" Artifact doesn't support rollback. Committing immediately. Committing Artifact... -time="2024-01-08T11:57:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:46Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" -time="2024-01-08T11:57:46Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" -time="2024-01-08T11:57:46Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall208184832/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall208184832/work/payloads/0000/tree" -time="2024-01-08T11:57:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:46Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" -time="2024-01-08T11:57:46Z" level=error msg="ArtifactCommit_Leave script failed: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" -time="2024-01-08T11:57:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:46Z" level=debug msg="Executing script: ArtifactCommit_Error_00" -time="2024-01-08T11:57:46Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-08T11:57:46Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall208184832/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall208184832/work/payloads/0000/tree" -time="2024-01-08T11:57:46Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2024-01-08T12:26:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:37Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" +time="2024-01-08T12:26:37Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" +time="2024-01-08T12:26:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall915168097/modules/test-type ArtifactCommit /tmp/TestStandaloneModuleInstall915168097/work/payloads/0000/tree" +time="2024-01-08T12:26:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:37Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" +time="2024-01-08T12:26:37Z" level=error msg="ArtifactCommit_Leave script failed: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" +time="2024-01-08T12:26:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:37Z" level=debug msg="Executing script: ArtifactCommit_Error_00" +time="2024-01-08T12:26:37Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2024-01-08T12:26:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall915168097/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall915168097/work/payloads/0000/tree" +time="2024-01-08T12:26:37Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Enter_00 -time="2024-01-08T11:57:47Z" level=debug msg="Starting device update." -time="2024-01-08T11:57:47Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall623425769/artifact.mender]" -time="2024-01-08T11:57:47Z" level=debug msg="Fetching update from file results: [&{0x25c0340}], 5632, " +time="2024-01-08T12:26:37Z" level=debug msg="Starting device update." +time="2024-01-08T12:26:37Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall790505054/artifact.mender]" +time="2024-01-08T12:26:37Z" level=debug msg="Fetching update from file results: [&{0x179c3c0}], 5632, " Installing Artifact of size 5632... -time="2024-01-08T11:57:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall623425769/device_type" -time="2024-01-08T11:57:47Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:47Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:47Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-08T11:57:47Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:57:47Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-08T11:57:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-08T11:57:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-08T11:57:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-08T11:57:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-08T11:57:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-08T11:57:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-08T11:57:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-08T11:57:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-08T11:57:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-08T11:57:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-08T11:57:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-08T11:57:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-08T11:57:47Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-08T11:57:47Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall623425769/artifact_info file." -time="2024-01-08T11:57:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall623425769/artifact_info" -time="2024-01-08T11:57:47Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:47Z" level=debug msg="Current manifest data: old_name" -time="2024-01-08T11:57:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall623425769/artifact_info" -time="2024-01-08T11:57:47Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall623425769/device_type" -time="2024-01-08T11:57:47Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:47Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:47Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-08T11:57:47Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-08T11:57:47Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall623425769/modules/test-type Download /tmp/TestStandaloneModuleInstall623425769/work/payloads/0000/tree" -time="2024-01-08T11:57:47Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2024-01-08T12:26:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall790505054/device_type" +time="2024-01-08T12:26:37Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:37Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:37Z" level=debug msg="Executing script: Download_Enter_00" +time="2024-01-08T12:26:37Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:37Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2024-01-08T12:26:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2024-01-08T12:26:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2024-01-08T12:26:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2024-01-08T12:26:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2024-01-08T12:26:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2024-01-08T12:26:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2024-01-08T12:26:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2024-01-08T12:26:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2024-01-08T12:26:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2024-01-08T12:26:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2024-01-08T12:26:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2024-01-08T12:26:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2024-01-08T12:26:37Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2024-01-08T12:26:37Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall790505054/artifact_info file." +time="2024-01-08T12:26:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall790505054/artifact_info" +time="2024-01-08T12:26:37Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:37Z" level=debug msg="Current manifest data: old_name" +time="2024-01-08T12:26:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall790505054/artifact_info" +time="2024-01-08T12:26:37Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall790505054/device_type" +time="2024-01-08T12:26:37Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:37Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:37Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2024-01-08T12:26:37Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2024-01-08T12:26:37Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall790505054/modules/test-type Download /tmp/TestStandaloneModuleInstall790505054/work/payloads/0000/tree" +time="2024-01-08T12:26:38Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-08T11:57:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:47Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-08T11:57:47Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:57:47Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall623425769/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall623425769/work/payloads/0000/tree" -time="2024-01-08T11:57:47Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:47Z" level=debug msg="Module supports rollback" -time="2024-01-08T11:57:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:47Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:47Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-08T11:57:47Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall623425769/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall623425769/work/payloads/0000/tree" -time="2024-01-08T11:57:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:47Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:47Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2024-01-08T11:57:47Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall623425769/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall623425769/work/payloads/0000/tree" -time="2024-01-08T11:57:47Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:47Z" level=debug msg="Module needs custom reboot" +time="2024-01-08T12:26:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:38Z" level=debug msg="Executing script: Download_Leave_00" +time="2024-01-08T12:26:38Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:38Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall790505054/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall790505054/work/payloads/0000/tree" +time="2024-01-08T12:26:38Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:38Z" level=debug msg="Module supports rollback" +time="2024-01-08T12:26:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:38Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:38Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2024-01-08T12:26:38Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall790505054/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall790505054/work/payloads/0000/tree" +time="2024-01-08T12:26:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:38Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:38Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2024-01-08T12:26:38Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall790505054/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall790505054/work/payloads/0000/tree" +time="2024-01-08T12:26:38Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:38Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. -time="2024-01-08T11:57:47Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:57:47Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall623425769/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall623425769/work/payloads/0000/tree" -time="2024-01-08T11:57:47Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:47Z" level=debug msg="Module supports rollback" +time="2024-01-08T12:26:38Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:38Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall790505054/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall790505054/work/payloads/0000/tree" +time="2024-01-08T12:26:38Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:38Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2024-01-08T11:57:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:47Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:47Z" level=error msg="Error when executing ArtifactRollback_Enter scripts: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" -time="2024-01-08T11:57:47Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2024-01-08T11:57:47Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall623425769/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall623425769/work/payloads/0000/tree" -time="2024-01-08T11:57:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:47Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:47Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" -time="2024-01-08T11:57:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:47Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:47Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2024-01-08T11:57:47Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall623425769/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall623425769/work/payloads/0000/tree" -time="2024-01-08T11:57:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:47Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:47Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-08T11:57:47Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall623425769/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall623425769/work/payloads/0000/tree" -time="2024-01-08T11:57:48Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2024-01-08T12:26:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:38Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:38Z" level=error msg="Error when executing ArtifactRollback_Enter scripts: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" +time="2024-01-08T12:26:38Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2024-01-08T12:26:38Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall790505054/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall790505054/work/payloads/0000/tree" +time="2024-01-08T12:26:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:38Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:38Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" +time="2024-01-08T12:26:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:38Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:38Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2024-01-08T12:26:38Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall790505054/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall790505054/work/payloads/0000/tree" +time="2024-01-08T12:26:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:38Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:38Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2024-01-08T12:26:38Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall790505054/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall790505054/work/payloads/0000/tree" +time="2024-01-08T12:26:38Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactRollback -time="2024-01-08T11:57:48Z" level=debug msg="Starting device update." -time="2024-01-08T11:57:48Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall187347078/artifact.mender]" -time="2024-01-08T11:57:48Z" level=debug msg="Fetching update from file results: [&{0x211e580}], 5632, " +time="2024-01-08T12:26:38Z" level=debug msg="Starting device update." +time="2024-01-08T12:26:38Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall121069983/artifact.mender]" +time="2024-01-08T12:26:38Z" level=debug msg="Fetching update from file results: [&{0x16e61c0}], 5632, " Installing Artifact of size 5632... -time="2024-01-08T11:57:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall187347078/device_type" -time="2024-01-08T11:57:48Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:48Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:48Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-08T11:57:48Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:57:48Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-08T11:57:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-08T11:57:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-08T11:57:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-08T11:57:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-08T11:57:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-08T11:57:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-08T11:57:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-08T11:57:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-08T11:57:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-08T11:57:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-08T11:57:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-08T11:57:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-08T11:57:48Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-08T11:57:48Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall187347078/artifact_info file." -time="2024-01-08T11:57:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall187347078/artifact_info" -time="2024-01-08T11:57:48Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:48Z" level=debug msg="Current manifest data: old_name" -time="2024-01-08T11:57:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall187347078/artifact_info" -time="2024-01-08T11:57:48Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall187347078/device_type" -time="2024-01-08T11:57:48Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:48Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:48Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-08T11:57:48Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-08T11:57:48Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall187347078/modules/test-type Download /tmp/TestStandaloneModuleInstall187347078/work/payloads/0000/tree" -time="2024-01-08T11:57:48Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2024-01-08T12:26:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall121069983/device_type" +time="2024-01-08T12:26:38Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:38Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:38Z" level=debug msg="Executing script: Download_Enter_00" +time="2024-01-08T12:26:38Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:38Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2024-01-08T12:26:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2024-01-08T12:26:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2024-01-08T12:26:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2024-01-08T12:26:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2024-01-08T12:26:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2024-01-08T12:26:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2024-01-08T12:26:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2024-01-08T12:26:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2024-01-08T12:26:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2024-01-08T12:26:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2024-01-08T12:26:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2024-01-08T12:26:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2024-01-08T12:26:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:38Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2024-01-08T12:26:38Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall121069983/artifact_info file." +time="2024-01-08T12:26:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall121069983/artifact_info" +time="2024-01-08T12:26:38Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:38Z" level=debug msg="Current manifest data: old_name" +time="2024-01-08T12:26:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall121069983/artifact_info" +time="2024-01-08T12:26:38Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall121069983/device_type" +time="2024-01-08T12:26:38Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:38Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:38Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2024-01-08T12:26:38Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2024-01-08T12:26:38Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall121069983/modules/test-type Download /tmp/TestStandaloneModuleInstall121069983/work/payloads/0000/tree" +time="2024-01-08T12:26:38Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-08T11:57:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:48Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-08T11:57:48Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:57:48Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall187347078/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall187347078/work/payloads/0000/tree" -time="2024-01-08T11:57:48Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:48Z" level=debug msg="Module supports rollback" -time="2024-01-08T11:57:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:48Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:48Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-08T11:57:48Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall187347078/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall187347078/work/payloads/0000/tree" -time="2024-01-08T11:57:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:48Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:48Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2024-01-08T11:57:48Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall187347078/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall187347078/work/payloads/0000/tree" -time="2024-01-08T11:57:48Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:48Z" level=debug msg="Module needs custom reboot" +time="2024-01-08T12:26:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:38Z" level=debug msg="Executing script: Download_Leave_00" +time="2024-01-08T12:26:38Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:38Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall121069983/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall121069983/work/payloads/0000/tree" +time="2024-01-08T12:26:38Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:38Z" level=debug msg="Module supports rollback" +time="2024-01-08T12:26:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:38Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:38Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2024-01-08T12:26:38Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall121069983/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall121069983/work/payloads/0000/tree" +time="2024-01-08T12:26:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:38Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:38Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2024-01-08T12:26:38Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall121069983/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall121069983/work/payloads/0000/tree" +time="2024-01-08T12:26:38Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:38Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. -time="2024-01-08T11:57:48Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:57:48Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall187347078/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall187347078/work/payloads/0000/tree" -time="2024-01-08T11:57:48Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:48Z" level=debug msg="Module supports rollback" +time="2024-01-08T12:26:39Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:39Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall121069983/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall121069983/work/payloads/0000/tree" +time="2024-01-08T12:26:39Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:39Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2024-01-08T11:57:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:48Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:48Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2024-01-08T11:57:48Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall187347078/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall187347078/work/payloads/0000/tree" -time="2024-01-08T11:57:48Z" level=error msg="Update module terminated abnormally: exit status 1" -time="2024-01-08T11:57:48Z" level=error msg="Error when executing ArtifactRollback state: Update module terminated abnormally: exit status 1" -time="2024-01-08T11:57:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:48Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:48Z" level=error msg="Error rolling back: Update module terminated abnormally: exit status 1" -time="2024-01-08T11:57:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:48Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:48Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2024-01-08T11:57:48Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall187347078/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall187347078/work/payloads/0000/tree" -time="2024-01-08T11:57:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:48Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:48Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-08T11:57:48Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall187347078/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall187347078/work/payloads/0000/tree" -time="2024-01-08T11:57:49Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2024-01-08T12:26:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:39Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:39Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2024-01-08T12:26:39Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall121069983/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall121069983/work/payloads/0000/tree" +time="2024-01-08T12:26:39Z" level=error msg="Update module terminated abnormally: exit status 1" +time="2024-01-08T12:26:39Z" level=error msg="Error when executing ArtifactRollback state: Update module terminated abnormally: exit status 1" +time="2024-01-08T12:26:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:39Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:39Z" level=error msg="Error rolling back: Update module terminated abnormally: exit status 1" +time="2024-01-08T12:26:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:39Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:39Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2024-01-08T12:26:39Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall121069983/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall121069983/work/payloads/0000/tree" +time="2024-01-08T12:26:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:39Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:39Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2024-01-08T12:26:39Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall121069983/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall121069983/work/payloads/0000/tree" +time="2024-01-08T12:26:39Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Leave_00 -time="2024-01-08T11:57:49Z" level=debug msg="Starting device update." -time="2024-01-08T11:57:49Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall972067559/artifact.mender]" -time="2024-01-08T11:57:49Z" level=debug msg="Fetching update from file results: [&{0x2238180}], 5632, " +time="2024-01-08T12:26:39Z" level=debug msg="Starting device update." +time="2024-01-08T12:26:39Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall303974004/artifact.mender]" +time="2024-01-08T12:26:39Z" level=debug msg="Fetching update from file results: [&{0x153f580}], 5632, " Installing Artifact of size 5632... -time="2024-01-08T11:57:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall972067559/device_type" -time="2024-01-08T11:57:49Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:49Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:49Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-08T11:57:49Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:57:49Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-08T11:57:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-08T11:57:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-08T11:57:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-08T11:57:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-08T11:57:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-08T11:57:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-08T11:57:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-08T11:57:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-08T11:57:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-08T11:57:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-08T11:57:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-08T11:57:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-08T11:57:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:49Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-08T11:57:49Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall972067559/artifact_info file." -time="2024-01-08T11:57:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall972067559/artifact_info" -time="2024-01-08T11:57:49Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:49Z" level=debug msg="Current manifest data: old_name" -time="2024-01-08T11:57:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall972067559/artifact_info" -time="2024-01-08T11:57:49Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall972067559/device_type" -time="2024-01-08T11:57:49Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:49Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:49Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-08T11:57:49Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-08T11:57:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall972067559/modules/test-type Download /tmp/TestStandaloneModuleInstall972067559/work/payloads/0000/tree" -time="2024-01-08T11:57:49Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2024-01-08T12:26:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall303974004/device_type" +time="2024-01-08T12:26:39Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:39Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:39Z" level=debug msg="Executing script: Download_Enter_00" +time="2024-01-08T12:26:39Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:39Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2024-01-08T12:26:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2024-01-08T12:26:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2024-01-08T12:26:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2024-01-08T12:26:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2024-01-08T12:26:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2024-01-08T12:26:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2024-01-08T12:26:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2024-01-08T12:26:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2024-01-08T12:26:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2024-01-08T12:26:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2024-01-08T12:26:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2024-01-08T12:26:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2024-01-08T12:26:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:39Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2024-01-08T12:26:39Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall303974004/artifact_info file." +time="2024-01-08T12:26:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall303974004/artifact_info" +time="2024-01-08T12:26:39Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:39Z" level=debug msg="Current manifest data: old_name" +time="2024-01-08T12:26:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall303974004/artifact_info" +time="2024-01-08T12:26:39Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall303974004/device_type" +time="2024-01-08T12:26:39Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:39Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:39Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2024-01-08T12:26:39Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2024-01-08T12:26:39Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall303974004/modules/test-type Download /tmp/TestStandaloneModuleInstall303974004/work/payloads/0000/tree" +time="2024-01-08T12:26:39Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-08T11:57:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:49Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-08T11:57:49Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:57:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall972067559/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall972067559/work/payloads/0000/tree" -time="2024-01-08T11:57:49Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:49Z" level=debug msg="Module supports rollback" -time="2024-01-08T11:57:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:49Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:49Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-08T11:57:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall972067559/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall972067559/work/payloads/0000/tree" -time="2024-01-08T11:57:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:49Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:49Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" -time="2024-01-08T11:57:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall972067559/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall972067559/work/payloads/0000/tree" -time="2024-01-08T11:57:49Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:49Z" level=debug msg="Module needs custom reboot" +time="2024-01-08T12:26:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:39Z" level=debug msg="Executing script: Download_Leave_00" +time="2024-01-08T12:26:39Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:39Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall303974004/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall303974004/work/payloads/0000/tree" +time="2024-01-08T12:26:39Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:39Z" level=debug msg="Module supports rollback" +time="2024-01-08T12:26:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:39Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:39Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2024-01-08T12:26:39Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall303974004/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall303974004/work/payloads/0000/tree" +time="2024-01-08T12:26:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:39Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:39Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" +time="2024-01-08T12:26:39Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall303974004/modules/test-type NeedsArtifactReboot /tmp/TestStandaloneModuleInstall303974004/work/payloads/0000/tree" +time="2024-01-08T12:26:39Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:39Z" level=debug msg="Module needs custom reboot" Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. -time="2024-01-08T11:57:49Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:57:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall972067559/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall972067559/work/payloads/0000/tree" -time="2024-01-08T11:57:49Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:49Z" level=debug msg="Module supports rollback" +time="2024-01-08T12:26:39Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:39Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall303974004/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall303974004/work/payloads/0000/tree" +time="2024-01-08T12:26:39Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:39Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2024-01-08T11:57:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:49Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:49Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2024-01-08T11:57:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall972067559/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall972067559/work/payloads/0000/tree" -time="2024-01-08T11:57:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:49Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:49Z" level=error msg="Error when executing ArtifactFailure_Leave scripts: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" -time="2024-01-08T11:57:49Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" -time="2024-01-08T11:57:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:49Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:49Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2024-01-08T11:57:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall972067559/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall972067559/work/payloads/0000/tree" -time="2024-01-08T11:57:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:49Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:49Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-08T11:57:49Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall972067559/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall972067559/work/payloads/0000/tree" -time="2024-01-08T11:57:49Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2024-01-08T12:26:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:39Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:39Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2024-01-08T12:26:39Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall303974004/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall303974004/work/payloads/0000/tree" +time="2024-01-08T12:26:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:39Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:39Z" level=error msg="Error when executing ArtifactFailure_Leave scripts: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" +time="2024-01-08T12:26:39Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" +time="2024-01-08T12:26:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:39Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:39Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2024-01-08T12:26:39Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall303974004/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall303974004/work/payloads/0000/tree" +time="2024-01-08T12:26:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:39Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:40Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2024-01-08T12:26:40Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall303974004/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall303974004/work/payloads/0000/tree" +time="2024-01-08T12:26:40Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Enter_00 -time="2024-01-08T11:57:49Z" level=debug msg="Starting device update." -time="2024-01-08T11:57:49Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall261150044/artifact.mender]" -time="2024-01-08T11:57:49Z" level=debug msg="Fetching update from file results: [&{0x211e400}], 5632, " +time="2024-01-08T12:26:40Z" level=debug msg="Starting device update." +time="2024-01-08T12:26:40Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall013981805/artifact.mender]" +time="2024-01-08T12:26:40Z" level=debug msg="Fetching update from file results: [&{0x14ae180}], 5632, " Installing Artifact of size 5632... -time="2024-01-08T11:57:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall261150044/device_type" -time="2024-01-08T11:57:49Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:49Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:49Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-08T11:57:49Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:57:49Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-08T11:57:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-08T11:57:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:50Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-08T11:57:50Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall261150044/artifact_info file." -time="2024-01-08T11:57:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall261150044/artifact_info" -time="2024-01-08T11:57:50Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:50Z" level=debug msg="Current manifest data: old_name" -time="2024-01-08T11:57:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall261150044/artifact_info" -time="2024-01-08T11:57:50Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall261150044/device_type" -time="2024-01-08T11:57:50Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:50Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-08T11:57:50Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-08T11:57:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall261150044/modules/test-type Download /tmp/TestStandaloneModuleInstall261150044/work/payloads/0000/tree" -time="2024-01-08T11:57:50Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2024-01-08T12:26:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall013981805/device_type" +time="2024-01-08T12:26:40Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:40Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:40Z" level=debug msg="Executing script: Download_Enter_00" +time="2024-01-08T12:26:40Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:40Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2024-01-08T12:26:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2024-01-08T12:26:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2024-01-08T12:26:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2024-01-08T12:26:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2024-01-08T12:26:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2024-01-08T12:26:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2024-01-08T12:26:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2024-01-08T12:26:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2024-01-08T12:26:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2024-01-08T12:26:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2024-01-08T12:26:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2024-01-08T12:26:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2024-01-08T12:26:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:40Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2024-01-08T12:26:40Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall013981805/artifact_info file." +time="2024-01-08T12:26:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall013981805/artifact_info" +time="2024-01-08T12:26:40Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:40Z" level=debug msg="Current manifest data: old_name" +time="2024-01-08T12:26:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall013981805/artifact_info" +time="2024-01-08T12:26:40Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall013981805/device_type" +time="2024-01-08T12:26:40Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:40Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:40Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2024-01-08T12:26:40Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2024-01-08T12:26:40Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall013981805/modules/test-type Download /tmp/TestStandaloneModuleInstall013981805/work/payloads/0000/tree" +time="2024-01-08T12:26:40Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-08T11:57:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:50Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-08T11:57:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:57:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall261150044/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall261150044/work/payloads/0000/tree" -time="2024-01-08T11:57:50Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:50Z" level=debug msg="Module supports rollback" -time="2024-01-08T11:57:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:50Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:50Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-08T11:57:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall261150044/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall261150044/work/payloads/0000/tree" -time="2024-01-08T11:57:50Z" level=error msg="Update module terminated abnormally: exit status 1" -time="2024-01-08T11:57:50Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" -time="2024-01-08T11:57:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:50Z" level=debug msg="Executing script: ArtifactInstall_Error_00" -time="2024-01-08T11:57:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:57:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall261150044/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall261150044/work/payloads/0000/tree" -time="2024-01-08T11:57:50Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:50Z" level=debug msg="Module supports rollback" +time="2024-01-08T12:26:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:40Z" level=debug msg="Executing script: Download_Leave_00" +time="2024-01-08T12:26:40Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:40Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall013981805/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall013981805/work/payloads/0000/tree" +time="2024-01-08T12:26:40Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:40Z" level=debug msg="Module supports rollback" +time="2024-01-08T12:26:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:40Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:40Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2024-01-08T12:26:40Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall013981805/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall013981805/work/payloads/0000/tree" +time="2024-01-08T12:26:40Z" level=error msg="Update module terminated abnormally: exit status 1" +time="2024-01-08T12:26:40Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" +time="2024-01-08T12:26:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:40Z" level=debug msg="Executing script: ArtifactInstall_Error_00" +time="2024-01-08T12:26:40Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:40Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall013981805/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall013981805/work/payloads/0000/tree" +time="2024-01-08T12:26:40Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:40Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2024-01-08T11:57:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:50Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:50Z" level=error msg="Error when executing ArtifactRollback_Enter scripts: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" -time="2024-01-08T11:57:50Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2024-01-08T11:57:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall261150044/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall261150044/work/payloads/0000/tree" -time="2024-01-08T11:57:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:50Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:50Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" -time="2024-01-08T11:57:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:50Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:50Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2024-01-08T11:57:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall261150044/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall261150044/work/payloads/0000/tree" -time="2024-01-08T11:57:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:50Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:50Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-08T11:57:50Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall261150044/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall261150044/work/payloads/0000/tree" -time="2024-01-08T11:57:50Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2024-01-08T12:26:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:40Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:40Z" level=error msg="Error when executing ArtifactRollback_Enter scripts: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" +time="2024-01-08T12:26:40Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2024-01-08T12:26:40Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall013981805/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall013981805/work/payloads/0000/tree" +time="2024-01-08T12:26:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:40Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:40Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Enter_00': 1 : exit status 1" +time="2024-01-08T12:26:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:40Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:40Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2024-01-08T12:26:40Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall013981805/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall013981805/work/payloads/0000/tree" +time="2024-01-08T12:26:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:40Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:40Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2024-01-08T12:26:40Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall013981805/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall013981805/work/payloads/0000/tree" +time="2024-01-08T12:26:40Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback -time="2024-01-08T11:57:50Z" level=debug msg="Starting device update." -time="2024-01-08T11:57:50Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall235055477/artifact.mender]" -time="2024-01-08T11:57:50Z" level=debug msg="Fetching update from file results: [&{0x211e6c0}], 5632, " +time="2024-01-08T12:26:40Z" level=debug msg="Starting device update." +time="2024-01-08T12:26:40Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall111188570/artifact.mender]" +time="2024-01-08T12:26:40Z" level=debug msg="Fetching update from file results: [&{0x179c140}], 5632, " Installing Artifact of size 5632... -time="2024-01-08T11:57:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall235055477/device_type" -time="2024-01-08T11:57:50Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:50Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:50Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-08T11:57:50Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:57:50Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-08T11:57:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-08T11:57:50Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-08T11:57:50Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall235055477/artifact_info file." -time="2024-01-08T11:57:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall235055477/artifact_info" -time="2024-01-08T11:57:50Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:50Z" level=debug msg="Current manifest data: old_name" -time="2024-01-08T11:57:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall235055477/artifact_info" -time="2024-01-08T11:57:50Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall235055477/device_type" -time="2024-01-08T11:57:50Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:50Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:51Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-08T11:57:51Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-08T11:57:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall235055477/modules/test-type Download /tmp/TestStandaloneModuleInstall235055477/work/payloads/0000/tree" -time="2024-01-08T11:57:51Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2024-01-08T12:26:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall111188570/device_type" +time="2024-01-08T12:26:40Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:40Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:40Z" level=debug msg="Executing script: Download_Enter_00" +time="2024-01-08T12:26:40Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:40Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2024-01-08T12:26:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2024-01-08T12:26:41Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2024-01-08T12:26:41Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall111188570/artifact_info file." +time="2024-01-08T12:26:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall111188570/artifact_info" +time="2024-01-08T12:26:41Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:41Z" level=debug msg="Current manifest data: old_name" +time="2024-01-08T12:26:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall111188570/artifact_info" +time="2024-01-08T12:26:41Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall111188570/device_type" +time="2024-01-08T12:26:41Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:41Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2024-01-08T12:26:41Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2024-01-08T12:26:41Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall111188570/modules/test-type Download /tmp/TestStandaloneModuleInstall111188570/work/payloads/0000/tree" +time="2024-01-08T12:26:41Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-08T11:57:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:51Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-08T11:57:51Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:57:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall235055477/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall235055477/work/payloads/0000/tree" -time="2024-01-08T11:57:51Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:51Z" level=debug msg="Module supports rollback" -time="2024-01-08T11:57:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:51Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:51Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-08T11:57:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall235055477/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall235055477/work/payloads/0000/tree" -time="2024-01-08T11:57:51Z" level=error msg="Update module terminated abnormally: exit status 1" -time="2024-01-08T11:57:51Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" -time="2024-01-08T11:57:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:51Z" level=debug msg="Executing script: ArtifactInstall_Error_00" -time="2024-01-08T11:57:51Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:57:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall235055477/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall235055477/work/payloads/0000/tree" -time="2024-01-08T11:57:51Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:51Z" level=debug msg="Module supports rollback" +time="2024-01-08T12:26:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:41Z" level=debug msg="Executing script: Download_Leave_00" +time="2024-01-08T12:26:41Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:41Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall111188570/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall111188570/work/payloads/0000/tree" +time="2024-01-08T12:26:41Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:41Z" level=debug msg="Module supports rollback" +time="2024-01-08T12:26:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:41Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:41Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2024-01-08T12:26:41Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall111188570/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall111188570/work/payloads/0000/tree" +time="2024-01-08T12:26:41Z" level=error msg="Update module terminated abnormally: exit status 1" +time="2024-01-08T12:26:41Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" +time="2024-01-08T12:26:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:41Z" level=debug msg="Executing script: ArtifactInstall_Error_00" +time="2024-01-08T12:26:41Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:41Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall111188570/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall111188570/work/payloads/0000/tree" +time="2024-01-08T12:26:41Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:41Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2024-01-08T11:57:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:51Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:51Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2024-01-08T11:57:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall235055477/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall235055477/work/payloads/0000/tree" -time="2024-01-08T11:57:51Z" level=error msg="Update module terminated abnormally: exit status 1" -time="2024-01-08T11:57:51Z" level=error msg="Error when executing ArtifactRollback state: Update module terminated abnormally: exit status 1" -time="2024-01-08T11:57:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:51Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:51Z" level=error msg="Error rolling back: Update module terminated abnormally: exit status 1" -time="2024-01-08T11:57:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:51Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2024-01-08T11:57:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall235055477/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall235055477/work/payloads/0000/tree" -time="2024-01-08T11:57:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:51Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:51Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-08T11:57:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall235055477/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall235055477/work/payloads/0000/tree" -time="2024-01-08T11:57:51Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2024-01-08T12:26:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:41Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:41Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2024-01-08T12:26:41Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall111188570/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall111188570/work/payloads/0000/tree" +time="2024-01-08T12:26:41Z" level=error msg="Update module terminated abnormally: exit status 1" +time="2024-01-08T12:26:41Z" level=error msg="Error when executing ArtifactRollback state: Update module terminated abnormally: exit status 1" +time="2024-01-08T12:26:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:41Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:41Z" level=error msg="Error rolling back: Update module terminated abnormally: exit status 1" +time="2024-01-08T12:26:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:41Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:41Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2024-01-08T12:26:41Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall111188570/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall111188570/work/payloads/0000/tree" +time="2024-01-08T12:26:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:41Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:41Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2024-01-08T12:26:41Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall111188570/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall111188570/work/payloads/0000/tree" +time="2024-01-08T12:26:41Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Leave_00 -time="2024-01-08T11:57:51Z" level=debug msg="Starting device update." -time="2024-01-08T11:57:51Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall092298754/artifact.mender]" -time="2024-01-08T11:57:51Z" level=debug msg="Fetching update from file results: [&{0x25c0300}], 5632, " +time="2024-01-08T12:26:41Z" level=debug msg="Starting device update." +time="2024-01-08T12:26:41Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall179663691/artifact.mender]" +time="2024-01-08T12:26:41Z" level=debug msg="Fetching update from file results: [&{0x17882c0}], 5632, " Installing Artifact of size 5632... -time="2024-01-08T11:57:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall092298754/device_type" -time="2024-01-08T11:57:51Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:51Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:51Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-08T11:57:51Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:57:51Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-08T11:57:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-08T11:57:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-08T11:57:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-08T11:57:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-08T11:57:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-08T11:57:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-08T11:57:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-08T11:57:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-08T11:57:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-08T11:57:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-08T11:57:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-08T11:57:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-08T11:57:51Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-08T11:57:51Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall092298754/artifact_info file." -time="2024-01-08T11:57:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall092298754/artifact_info" -time="2024-01-08T11:57:51Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:51Z" level=debug msg="Current manifest data: old_name" -time="2024-01-08T11:57:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall092298754/artifact_info" -time="2024-01-08T11:57:51Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall092298754/device_type" -time="2024-01-08T11:57:51Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:51Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:51Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-08T11:57:51Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-08T11:57:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall092298754/modules/test-type Download /tmp/TestStandaloneModuleInstall092298754/work/payloads/0000/tree" -time="2024-01-08T11:57:51Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2024-01-08T12:26:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall179663691/device_type" +time="2024-01-08T12:26:41Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:41Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:41Z" level=debug msg="Executing script: Download_Enter_00" +time="2024-01-08T12:26:41Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:41Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:41Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2024-01-08T12:26:41Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall179663691/artifact_info file." +time="2024-01-08T12:26:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall179663691/artifact_info" +time="2024-01-08T12:26:41Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:41Z" level=debug msg="Current manifest data: old_name" +time="2024-01-08T12:26:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall179663691/artifact_info" +time="2024-01-08T12:26:41Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall179663691/device_type" +time="2024-01-08T12:26:41Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:41Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:41Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2024-01-08T12:26:41Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2024-01-08T12:26:41Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall179663691/modules/test-type Download /tmp/TestStandaloneModuleInstall179663691/work/payloads/0000/tree" +time="2024-01-08T12:26:41Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-08T11:57:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:51Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-08T11:57:51Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:57:51Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall092298754/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall092298754/work/payloads/0000/tree" -time="2024-01-08T11:57:52Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:52Z" level=debug msg="Module supports rollback" -time="2024-01-08T11:57:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:52Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:52Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-08T11:57:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall092298754/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall092298754/work/payloads/0000/tree" -time="2024-01-08T11:57:52Z" level=error msg="Update module terminated abnormally: exit status 1" -time="2024-01-08T11:57:52Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" -time="2024-01-08T11:57:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:52Z" level=debug msg="Executing script: ArtifactInstall_Error_00" -time="2024-01-08T11:57:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:57:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall092298754/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall092298754/work/payloads/0000/tree" -time="2024-01-08T11:57:52Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:52Z" level=debug msg="Module supports rollback" +time="2024-01-08T12:26:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:41Z" level=debug msg="Executing script: Download_Leave_00" +time="2024-01-08T12:26:42Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:42Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall179663691/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall179663691/work/payloads/0000/tree" +time="2024-01-08T12:26:42Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:42Z" level=debug msg="Module supports rollback" +time="2024-01-08T12:26:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:42Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:42Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2024-01-08T12:26:42Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall179663691/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall179663691/work/payloads/0000/tree" +time="2024-01-08T12:26:42Z" level=error msg="Update module terminated abnormally: exit status 1" +time="2024-01-08T12:26:42Z" level=error msg="Installation failed: Update module terminated abnormally: exit status 1" +time="2024-01-08T12:26:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:42Z" level=debug msg="Executing script: ArtifactInstall_Error_00" +time="2024-01-08T12:26:42Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:42Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall179663691/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall179663691/work/payloads/0000/tree" +time="2024-01-08T12:26:42Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:42Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2024-01-08T11:57:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:52Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:52Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2024-01-08T11:57:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall092298754/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall092298754/work/payloads/0000/tree" -time="2024-01-08T11:57:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:52Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:52Z" level=error msg="Error when executing ArtifactFailure_Leave scripts: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" -time="2024-01-08T11:57:52Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" -time="2024-01-08T11:57:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:52Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:52Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2024-01-08T11:57:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall092298754/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall092298754/work/payloads/0000/tree" -time="2024-01-08T11:57:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:52Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:52Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-08T11:57:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall092298754/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall092298754/work/payloads/0000/tree" -time="2024-01-08T11:57:52Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." +time="2024-01-08T12:26:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:42Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:42Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2024-01-08T12:26:42Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall179663691/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall179663691/work/payloads/0000/tree" +time="2024-01-08T12:26:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:42Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:42Z" level=error msg="Error when executing ArtifactFailure_Leave scripts: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" +time="2024-01-08T12:26:42Z" level=error msg="Error rolling back: statescript: error executing 'ArtifactRollback_Leave_00': 1 : exit status 1" +time="2024-01-08T12:26:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:42Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:42Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2024-01-08T12:26:42Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall179663691/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall179663691/work/payloads/0000/tree" +time="2024-01-08T12:26:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:42Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:42Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2024-01-08T12:26:42Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall179663691/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall179663691/work/payloads/0000/tree" +time="2024-01-08T12:26:42Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." === RUN TestStandaloneModuleInstall/Hang_in_Download -time="2024-01-08T11:57:52Z" level=debug msg="Starting device update." -time="2024-01-08T11:57:52Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall984905747/artifact.mender]" -time="2024-01-08T11:57:52Z" level=debug msg="Fetching update from file results: [&{0x211e380}], 5632, " +time="2024-01-08T12:26:42Z" level=debug msg="Starting device update." +time="2024-01-08T12:26:42Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall148437904/artifact.mender]" +time="2024-01-08T12:26:42Z" level=debug msg="Fetching update from file results: [&{0x16fe300}], 5632, " Installing Artifact of size 5632... -time="2024-01-08T11:57:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall984905747/device_type" -time="2024-01-08T11:57:52Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:52Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:52Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-08T11:57:52Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:57:52Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-08T11:57:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-08T11:57:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-08T11:57:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-08T11:57:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-08T11:57:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-08T11:57:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-08T11:57:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-08T11:57:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-08T11:57:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-08T11:57:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-08T11:57:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-08T11:57:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-08T11:57:52Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-08T11:57:52Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall984905747/artifact_info file." -time="2024-01-08T11:57:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall984905747/artifact_info" -time="2024-01-08T11:57:52Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:52Z" level=debug msg="Current manifest data: old_name" -time="2024-01-08T11:57:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall984905747/artifact_info" -time="2024-01-08T11:57:52Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall984905747/device_type" -time="2024-01-08T11:57:52Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:52Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:52Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-08T11:57:52Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-08T11:57:52Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall984905747/modules/test-type Download /tmp/TestStandaloneModuleInstall984905747/work/payloads/0000/tree" -time="2024-01-08T11:57:52Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" -time="2024-01-08T11:57:57Z" level=error msg="Process 28880 timed out. Sending SIGTERM" -time="2024-01-08T11:57:57Z" level=error msg="Download failed: Update module terminated abnormally: signal: terminated" -time="2024-01-08T11:57:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:57Z" level=debug msg="Executing script: Download_Error_00" -time="2024-01-08T11:57:57Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-08T11:57:57Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall984905747/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall984905747/work/payloads/0000/tree" -time="2024-01-08T11:57:57Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall984905747/artifact_info file." -time="2024-01-08T11:57:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall984905747/artifact_info" -time="2024-01-08T11:57:57Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:57Z" level=debug msg="Current manifest data: old_name" +time="2024-01-08T12:26:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall148437904/device_type" +time="2024-01-08T12:26:42Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:42Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:42Z" level=debug msg="Executing script: Download_Enter_00" +time="2024-01-08T12:26:42Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:42Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2024-01-08T12:26:42Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:42Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2024-01-08T12:26:42Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2024-01-08T12:26:42Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2024-01-08T12:26:42Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2024-01-08T12:26:42Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:42Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:42Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2024-01-08T12:26:42Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2024-01-08T12:26:42Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2024-01-08T12:26:42Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:42Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2024-01-08T12:26:42Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2024-01-08T12:26:42Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:42Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2024-01-08T12:26:42Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:42Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2024-01-08T12:26:42Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2024-01-08T12:26:42Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2024-01-08T12:26:42Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall148437904/artifact_info file." +time="2024-01-08T12:26:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall148437904/artifact_info" +time="2024-01-08T12:26:42Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:42Z" level=debug msg="Current manifest data: old_name" +time="2024-01-08T12:26:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall148437904/artifact_info" +time="2024-01-08T12:26:42Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall148437904/device_type" +time="2024-01-08T12:26:42Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:42Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:42Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2024-01-08T12:26:42Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2024-01-08T12:26:42Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall148437904/modules/test-type Download /tmp/TestStandaloneModuleInstall148437904/work/payloads/0000/tree" +time="2024-01-08T12:26:42Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2024-01-08T12:26:47Z" level=error msg="Process 29664 timed out. Sending SIGTERM" +time="2024-01-08T12:26:47Z" level=error msg="Download failed: Update module terminated abnormally: signal: terminated" +time="2024-01-08T12:26:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:47Z" level=debug msg="Executing script: Download_Error_00" +time="2024-01-08T12:26:47Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2024-01-08T12:26:47Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall148437904/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall148437904/work/payloads/0000/tree" +time="2024-01-08T12:26:47Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall148437904/artifact_info file." +time="2024-01-08T12:26:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall148437904/artifact_info" +time="2024-01-08T12:26:47Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:47Z" level=debug msg="Current manifest data: old_name" === RUN TestStandaloneModuleInstall/Hang_in_ArtifactInstall -time="2024-01-08T11:57:58Z" level=debug msg="Starting device update." -time="2024-01-08T11:57:58Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall139972088/artifact.mender]" -time="2024-01-08T11:57:58Z" level=debug msg="Fetching update from file results: [&{0x211e580}], 5632, " +time="2024-01-08T12:26:48Z" level=debug msg="Starting device update." +time="2024-01-08T12:26:48Z" level=info msg="Start updating from local image file: [/tmp/TestStandaloneModuleInstall192815545/artifact.mender]" +time="2024-01-08T12:26:48Z" level=debug msg="Fetching update from file results: [&{0x17882c0}], 5632, " Installing Artifact of size 5632... -time="2024-01-08T11:57:58Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall139972088/device_type" -time="2024-01-08T11:57:58Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:58Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:58Z" level=debug msg="Executing script: Download_Enter_00" -time="2024-01-08T11:57:58Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:57:58Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" -time="2024-01-08T11:57:58Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" -time="2024-01-08T11:57:58Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:57:58Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" -time="2024-01-08T11:57:58Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" -time="2024-01-08T11:57:58Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" -time="2024-01-08T11:57:58Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" -time="2024-01-08T11:57:58Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:58Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" -time="2024-01-08T11:57:58Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:57:58Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" -time="2024-01-08T11:57:58Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:57:58Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" -time="2024-01-08T11:57:58Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:57:58Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" -time="2024-01-08T11:57:58Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" -time="2024-01-08T11:57:58Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" -time="2024-01-08T11:57:58Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" -time="2024-01-08T11:57:58Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" -time="2024-01-08T11:57:58Z" level=debug msg="Executing ModuleInstaller.Initialize" -time="2024-01-08T11:57:58Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall139972088/artifact_info file." -time="2024-01-08T11:57:58Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall139972088/artifact_info" -time="2024-01-08T11:57:58Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:58Z" level=debug msg="Current manifest data: old_name" -time="2024-01-08T11:57:58Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall139972088/artifact_info" -time="2024-01-08T11:57:58Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:57:58Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall139972088/device_type" -time="2024-01-08T11:57:58Z" level=debug msg="device_type=test-device" -time="2024-01-08T11:57:58Z" level=debug msg="Current manifest data: test-device" -time="2024-01-08T11:57:58Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" -time="2024-01-08T11:57:58Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" -time="2024-01-08T11:57:58Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall139972088/modules/test-type Download /tmp/TestStandaloneModuleInstall139972088/work/payloads/0000/tree" -time="2024-01-08T11:57:58Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" +time="2024-01-08T12:26:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall192815545/device_type" +time="2024-01-08T12:26:48Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:48Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:48Z" level=debug msg="Executing script: Download_Enter_00" +time="2024-01-08T12:26:48Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:48Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" +time="2024-01-08T12:26:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" +time="2024-01-08T12:26:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" +time="2024-01-08T12:26:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" +time="2024-01-08T12:26:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" +time="2024-01-08T12:26:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" +time="2024-01-08T12:26:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" +time="2024-01-08T12:26:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" +time="2024-01-08T12:26:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" +time="2024-01-08T12:26:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" +time="2024-01-08T12:26:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" +time="2024-01-08T12:26:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" +time="2024-01-08T12:26:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" +time="2024-01-08T12:26:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" +time="2024-01-08T12:26:48Z" level=debug msg="Executing ModuleInstaller.Initialize" +time="2024-01-08T12:26:48Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall192815545/artifact_info file." +time="2024-01-08T12:26:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall192815545/artifact_info" +time="2024-01-08T12:26:48Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:48Z" level=debug msg="Current manifest data: old_name" +time="2024-01-08T12:26:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall192815545/artifact_info" +time="2024-01-08T12:26:48Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall192815545/device_type" +time="2024-01-08T12:26:48Z" level=debug msg="device_type=test-device" +time="2024-01-08T12:26:48Z" level=debug msg="Current manifest data: test-device" +time="2024-01-08T12:26:48Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" +time="2024-01-08T12:26:48Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" +time="2024-01-08T12:26:48Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall192815545/modules/test-type Download /tmp/TestStandaloneModuleInstall192815545/work/payloads/0000/tree" +time="2024-01-08T12:26:48Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" . 100% 5 KiB -time="2024-01-08T11:57:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:58Z" level=debug msg="Executing script: Download_Leave_00" -time="2024-01-08T11:57:58Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:57:58Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall139972088/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall139972088/work/payloads/0000/tree" -time="2024-01-08T11:57:58Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:57:58Z" level=debug msg="Module supports rollback" -time="2024-01-08T11:57:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:57:58Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" -time="2024-01-08T11:57:58Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" -time="2024-01-08T11:57:58Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall139972088/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall139972088/work/payloads/0000/tree" -time="2024-01-08T11:58:03Z" level=error msg="Process 29595 timed out. Sending SIGTERM" -time="2024-01-08T11:58:03Z" level=error msg="Update module terminated abnormally: signal: terminated" -time="2024-01-08T11:58:03Z" level=error msg="Installation failed: Update module terminated abnormally: signal: terminated" -time="2024-01-08T11:58:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:58:03Z" level=debug msg="Executing script: ArtifactInstall_Error_00" -time="2024-01-08T11:58:03Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" -time="2024-01-08T11:58:03Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall139972088/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall139972088/work/payloads/0000/tree" -time="2024-01-08T11:58:03Z" level=debug msg="Update module output: Yes" -time="2024-01-08T11:58:03Z" level=debug msg="Module supports rollback" +time="2024-01-08T12:26:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:48Z" level=debug msg="Executing script: Download_Leave_00" +time="2024-01-08T12:26:48Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:48Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall192815545/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall192815545/work/payloads/0000/tree" +time="2024-01-08T12:26:48Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:48Z" level=debug msg="Module supports rollback" +time="2024-01-08T12:26:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:48Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" +time="2024-01-08T12:26:48Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" +time="2024-01-08T12:26:48Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall192815545/modules/test-type ArtifactInstall /tmp/TestStandaloneModuleInstall192815545/work/payloads/0000/tree" +time="2024-01-08T12:26:53Z" level=error msg="Process 29678 timed out. Sending SIGTERM" +time="2024-01-08T12:26:53Z" level=error msg="Update module terminated abnormally: signal: terminated" +time="2024-01-08T12:26:53Z" level=error msg="Installation failed: Update module terminated abnormally: signal: terminated" +time="2024-01-08T12:26:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:53Z" level=debug msg="Executing script: ArtifactInstall_Error_00" +time="2024-01-08T12:26:53Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" +time="2024-01-08T12:26:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall192815545/modules/test-type SupportsRollback /tmp/TestStandaloneModuleInstall192815545/work/payloads/0000/tree" +time="2024-01-08T12:26:53Z" level=debug msg="Update module output: Yes" +time="2024-01-08T12:26:53Z" level=debug msg="Module supports rollback" Rolling back Artifact... -time="2024-01-08T11:58:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:58:03Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" -time="2024-01-08T11:58:03Z" level=debug msg="Executing ModuleInstaller.Rollback" -time="2024-01-08T11:58:03Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall139972088/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall139972088/work/payloads/0000/tree" -time="2024-01-08T11:58:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:58:03Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" -time="2024-01-08T11:58:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:58:03Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" -time="2024-01-08T11:58:03Z" level=debug msg="Executing ModuleInstaller.Failure" -time="2024-01-08T11:58:03Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall139972088/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall139972088/work/payloads/0000/tree" -time="2024-01-08T11:58:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:58:03Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" -time="2024-01-08T11:58:03Z" level=debug msg="Executing ModuleInstaller.Cleanup" -time="2024-01-08T11:58:03Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall139972088/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall139972088/work/payloads/0000/tree" -time="2024-01-08T11:58:03Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall139972088/artifact_info file." -time="2024-01-08T11:58:03Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall139972088/artifact_info" -time="2024-01-08T11:58:03Z" level=debug msg="artifact_name=old_name" -time="2024-01-08T11:58:03Z" level=debug msg="Current manifest data: old_name" ---- PASS: TestStandaloneModuleInstall (28.61s) - --- PASS: TestStandaloneModuleInstall/Normal_install,_no_rollback (0.69s) - --- PASS: TestStandaloneModuleInstall/Normal_install (0.53s) - --- PASS: TestStandaloneModuleInstall/Normal_commit (0.66s) - --- PASS: TestStandaloneModuleInstall/Normal_rollback (0.75s) - --- PASS: TestStandaloneModuleInstall/Fail_in_Download_Enter_00 (0.20s) - --- PASS: TestStandaloneModuleInstall/Fail_in_Download (0.42s) - --- PASS: TestStandaloneModuleInstall/Fail_in_Download_Leave_00 (0.56s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Enter_00 (0.91s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall (0.90s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Leave_00 (0.89s) +time="2024-01-08T12:26:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:53Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" +time="2024-01-08T12:26:53Z" level=debug msg="Executing ModuleInstaller.Rollback" +time="2024-01-08T12:26:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall192815545/modules/test-type ArtifactRollback /tmp/TestStandaloneModuleInstall192815545/work/payloads/0000/tree" +time="2024-01-08T12:26:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:53Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" +time="2024-01-08T12:26:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:53Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" +time="2024-01-08T12:26:53Z" level=debug msg="Executing ModuleInstaller.Failure" +time="2024-01-08T12:26:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall192815545/modules/test-type ArtifactFailure /tmp/TestStandaloneModuleInstall192815545/work/payloads/0000/tree" +time="2024-01-08T12:26:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:26:53Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" +time="2024-01-08T12:26:53Z" level=debug msg="Executing ModuleInstaller.Cleanup" +time="2024-01-08T12:26:53Z" level=debug msg="Calling module: /tmp/TestStandaloneModuleInstall192815545/modules/test-type Cleanup /tmp/TestStandaloneModuleInstall192815545/work/payloads/0000/tree" +time="2024-01-08T12:26:53Z" level=debug msg="Returning artifact name from /tmp/TestStandaloneModuleInstall192815545/artifact_info file." +time="2024-01-08T12:26:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStandaloneModuleInstall192815545/artifact_info" +time="2024-01-08T12:26:53Z" level=debug msg="artifact_name=old_name" +time="2024-01-08T12:26:53Z" level=debug msg="Current manifest data: old_name" +--- PASS: TestStandaloneModuleInstall (27.35s) + --- PASS: TestStandaloneModuleInstall/Normal_install,_no_rollback (0.73s) + --- PASS: TestStandaloneModuleInstall/Normal_install (0.50s) + --- PASS: TestStandaloneModuleInstall/Normal_commit (0.76s) + --- PASS: TestStandaloneModuleInstall/Normal_rollback (0.73s) + --- PASS: TestStandaloneModuleInstall/Fail_in_Download_Enter_00 (0.12s) + --- PASS: TestStandaloneModuleInstall/Fail_in_Download (0.44s) + --- PASS: TestStandaloneModuleInstall/Fail_in_Download_Leave_00 (0.55s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Enter_00 (0.73s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall (0.79s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Leave_00 (0.79s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00 (0.90s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit (0.91s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00 (0.70s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00,_no_rollback (0.91s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit,_no_rollback (0.85s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00,_no_rollback (0.91s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Enter_00 (1.17s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback (0.92s) - --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Leave_00 (0.81s) - --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Enter_00 (0.86s) - --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback (0.88s) - --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Leave_00 (0.89s) - --- PASS: TestStandaloneModuleInstall/Hang_in_Download (5.46s) - --- PASS: TestStandaloneModuleInstall/Hang_in_ArtifactInstall (5.93s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit (0.90s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00 (0.76s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00,_no_rollback (0.78s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit,_no_rollback (0.93s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00,_no_rollback (0.79s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Enter_00 (0.87s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback (0.82s) + --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Leave_00 (0.76s) + --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Enter_00 (0.80s) + --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback (0.77s) + --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Leave_00 (0.75s) + --- PASS: TestStandaloneModuleInstall/Hang_in_Download (5.55s) + --- PASS: TestStandaloneModuleInstall/Hang_in_ArtifactInstall (5.80s) === RUN TestStandaloneStoreAndRestore -time="2024-01-08T11:58:03Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" - standalone_test.go:1053: Running test: {Persist ArtifactName 0x23904a0 []} -time="2024-01-08T11:58:03Z" 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 0x2390500 []} -time="2024-01-08T11:58:03Z" 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 0x2390520 []} -time="2024-01-08T11:58:03Z" 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.04s) +time="2024-01-08T12:26:53Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" + standalone_test.go:1053: Running test: {Persist ArtifactName 0x16c6e40 []} +time="2024-01-08T12:26:53Z" 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 0x16c6e60 []} +time="2024-01-08T12:26:53Z" 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 0x16c6e80 []} +time="2024-01-08T12:26:53Z" 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.06s) === RUN TestStateBase --- PASS: TestStateBase (0.00s) === RUN TestStateWait -time="2024-01-08T11:58:03Z" level=debug msg="Wait complete" -time="2024-01-08T11:58:03Z" level=info msg="Wait canceled" -time="2024-01-08T11:58:03Z" level=info msg="Forced wake-up from sleep" +time="2024-01-08T12:26:53Z" level=debug msg="Wait complete" +time="2024-01-08T12:26:53Z" level=info msg="Wait canceled" +time="2024-01-08T12:26:53Z" level=info msg="Forced wake-up from sleep" --- PASS: TestStateWait (0.10s) === RUN TestStateError -time="2024-01-08T11:58:03Z" level=info msg="Handling error state, current error: transient error: foo" -time="2024-01-08T11:58:03Z" level=info msg="Handling error state, current error: fatal error: general error" +time="2024-01-08T12:26:53Z" level=info msg="Handling error state, current error: transient error: foo" +time="2024-01-08T12:26:53Z" level=info msg="Handling error state, current error: fatal error: general error" --- PASS: TestStateError (0.00s) === RUN TestStateUpdateReportStatus -time="2024-01-08T11:58:03Z" level=info msg="Running Mender client version: unknown" -time="2024-01-08T11:58:03Z" level=debug msg="Handling update status report state" -time="2024-01-08T11:58:03Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2024-01-08T11:58:03Z" level=debug msg="Reporting complete" -time="2024-01-08T11:58:03Z" level=info msg="Running Mender client version: unknown" -time="2024-01-08T11:58:03Z" level=debug msg="Handling update status report state" -time="2024-01-08T11:58:03Z" level=debug msg="Reporting complete" -time="2024-01-08T11:58:03Z" level=info msg="Running Mender client version: unknown" -time="2024-01-08T11:58:03Z" level=debug msg="Handling update status report state" -time="2024-01-08T11:58:03Z" level=error msg="Failed to send status to server: transient error: report failed" -time="2024-01-08T11:58:03Z" level=debug msg="Handling update status report state" -time="2024-01-08T11:58:03Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2024-01-08T11:58:03Z" level=debug msg="Wait complete" -time="2024-01-08T11:58:03Z" level=debug msg="Handling update status report state" -time="2024-01-08T11:58:03Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2024-01-08T11:58:04Z" level=debug msg="Wait complete" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update status report state" -time="2024-01-08T11:58:04Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2024-01-08T11:58:04Z" level=debug msg="Wait complete" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update status report state" -time="2024-01-08T11:58:04Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2024-01-08T11:58:04Z" level=debug msg="Wait complete" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update status report state" -time="2024-01-08T11:58:04Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2024-01-08T11:58:04Z" level=debug msg="Wait complete" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update status report state" -time="2024-01-08T11:58:04Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2024-01-08T11:58:04Z" level=debug msg="Wait complete" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update status report state" -time="2024-01-08T11:58:04Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2024-01-08T11:58:04Z" level=debug msg="Wait complete" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update status report state" -time="2024-01-08T11:58:04Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2024-01-08T11:58:04Z" level=debug msg="Wait complete" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update status report state" -time="2024-01-08T11:58:04Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2024-01-08T11:58:04Z" level=debug msg="Wait complete" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update status report state" -time="2024-01-08T11:58:04Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2024-01-08T11:58:04Z" level=debug msg="Wait complete" +time="2024-01-08T12:26:53Z" level=info msg="Running Mender client version: unknown" +time="2024-01-08T12:26:53Z" level=debug msg="Handling update status report state" +time="2024-01-08T12:26:53Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2024-01-08T12:26:53Z" level=debug msg="Reporting complete" +time="2024-01-08T12:26:53Z" level=info msg="Running Mender client version: unknown" +time="2024-01-08T12:26:53Z" level=debug msg="Handling update status report state" +time="2024-01-08T12:26:53Z" level=debug msg="Reporting complete" +time="2024-01-08T12:26:53Z" level=info msg="Running Mender client version: unknown" +time="2024-01-08T12:26:53Z" level=debug msg="Handling update status report state" +time="2024-01-08T12:26:53Z" level=error msg="Failed to send status to server: transient error: report failed" +time="2024-01-08T12:26:53Z" level=debug msg="Handling update status report state" +time="2024-01-08T12:26:53Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2024-01-08T12:26:53Z" level=debug msg="Wait complete" +time="2024-01-08T12:26:53Z" level=debug msg="Handling update status report state" +time="2024-01-08T12:26:53Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2024-01-08T12:26:53Z" level=debug msg="Wait complete" +time="2024-01-08T12:26:53Z" level=debug msg="Handling update status report state" +time="2024-01-08T12:26:53Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2024-01-08T12:26:53Z" level=debug msg="Wait complete" +time="2024-01-08T12:26:53Z" level=debug msg="Handling update status report state" +time="2024-01-08T12:26:53Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2024-01-08T12:26:53Z" level=debug msg="Wait complete" +time="2024-01-08T12:26:53Z" level=debug msg="Handling update status report state" +time="2024-01-08T12:26:53Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2024-01-08T12:26:53Z" level=debug msg="Wait complete" +time="2024-01-08T12:26:53Z" level=debug msg="Handling update status report state" +time="2024-01-08T12:26:53Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2024-01-08T12:26:53Z" level=debug msg="Wait complete" +time="2024-01-08T12:26:53Z" level=debug msg="Handling update status report state" +time="2024-01-08T12:26:53Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2024-01-08T12:26:53Z" level=debug msg="Wait complete" +time="2024-01-08T12:26:53Z" level=debug msg="Handling update status report state" +time="2024-01-08T12:26:53Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2024-01-08T12:26:53Z" level=debug msg="Wait complete" +time="2024-01-08T12:26:53Z" level=debug msg="Handling update status report state" +time="2024-01-08T12:26:53Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2024-01-08T12:26:53Z" level=debug msg="Wait complete" +time="2024-01-08T12:26:53Z" level=debug msg="Handling update status report state" +time="2024-01-08T12:26:53Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2024-01-08T12:26:53Z" level=debug msg="Wait complete" state_test.go:342: Error Trace: state_test.go:342 - Error: Max difference between 2024-01-08 11:58:03.994861365 +0000 UTC m=+281.370652882 and 2024-01-08 11:58:04.019198077 +0000 UTC m=+281.394989927 allowed is 20ms, but difference was -24.337045ms + Error: Max difference between 2024-01-08 12:26:53.92027579 +0000 UTC m=+310.189774870 and 2024-01-08 12:26:53.962307343 +0000 UTC m=+310.231806463 allowed is 20ms, but difference was -42.031593ms Test: TestStateUpdateReportStatus -time="2024-01-08T11:58:04Z" level=debug msg="Handling update status report state" -time="2024-01-08T11:58:04Z" level=error msg="Failed to send status to server: transient error: test error sending status" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update status report state" -time="2024-01-08T11:58:04Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2024-01-08T11:58:04Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2024-01-08T11:58: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="2024-01-08T11:58:04Z" level=debug msg="Wait complete" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update status report state" -time="2024-01-08T11:58:04Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2024-01-08T11:58:04Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2024-01-08T11:58: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="2024-01-08T11:58:04Z" level=debug msg="Wait complete" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update status report state" -time="2024-01-08T11:58:04Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2024-01-08T11:58:04Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2024-01-08T11:58: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="2024-01-08T11:58:04Z" level=debug msg="Wait complete" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update status report state" -time="2024-01-08T11:58:04Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2024-01-08T11:58:04Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2024-01-08T11:58: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="2024-01-08T11:58:04Z" level=debug msg="Wait complete" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update status report state" -time="2024-01-08T11:58:04Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2024-01-08T11:58:04Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2024-01-08T11:58: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="2024-01-08T11:58:04Z" level=debug msg="Wait complete" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update status report state" -time="2024-01-08T11:58:04Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2024-01-08T11:58:04Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2024-01-08T11:58: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="2024-01-08T11:58:04Z" level=debug msg="Wait complete" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update status report state" -time="2024-01-08T11:58:04Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2024-01-08T11:58:04Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2024-01-08T11:58: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="2024-01-08T11:58:04Z" level=debug msg="Wait complete" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update status report state" -time="2024-01-08T11:58:04Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2024-01-08T11:58:04Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2024-01-08T11:58: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="2024-01-08T11:58:04Z" level=debug msg="Wait complete" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update status report state" -time="2024-01-08T11:58:04Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2024-01-08T11:58:04Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2024-01-08T11:58: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="2024-01-08T11:58:04Z" level=debug msg="Wait complete" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update status report state" -time="2024-01-08T11:58:04Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2024-01-08T11:58:04Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2024-01-08T11:58: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="2024-01-08T11:58:04Z" level=debug msg="Wait complete" +time="2024-01-08T12:26:53Z" level=debug msg="Handling update status report state" +time="2024-01-08T12:26:53Z" level=error msg="Failed to send status to server: transient error: test error sending status" +time="2024-01-08T12:26:53Z" level=debug msg="Handling update status report state" +time="2024-01-08T12:26:53Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2024-01-08T12:26:53Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2024-01-08T12:26:53Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2024-01-08T12:26:53Z" level=debug msg="Wait complete" +time="2024-01-08T12:26:53Z" level=debug msg="Handling update status report state" +time="2024-01-08T12:26:53Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2024-01-08T12:26:53Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2024-01-08T12:26:53Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2024-01-08T12:26:53Z" level=debug msg="Wait complete" +time="2024-01-08T12:26:53Z" level=debug msg="Handling update status report state" +time="2024-01-08T12:26:53Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2024-01-08T12:26:53Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2024-01-08T12:26:53Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2024-01-08T12:26:53Z" level=debug msg="Wait complete" +time="2024-01-08T12:26:53Z" level=debug msg="Handling update status report state" +time="2024-01-08T12:26:53Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2024-01-08T12:26:53Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2024-01-08T12:26:53Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2024-01-08T12:26:53Z" level=debug msg="Wait complete" +time="2024-01-08T12:26:53Z" level=debug msg="Handling update status report state" +time="2024-01-08T12:26:53Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2024-01-08T12:26:53Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2024-01-08T12:26:53Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2024-01-08T12:26:53Z" level=debug msg="Wait complete" +time="2024-01-08T12:26:53Z" level=debug msg="Handling update status report state" +time="2024-01-08T12:26:53Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2024-01-08T12:26:53Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2024-01-08T12:26:53Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2024-01-08T12:26:53Z" level=debug msg="Wait complete" +time="2024-01-08T12:26:53Z" level=debug msg="Handling update status report state" +time="2024-01-08T12:26:53Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2024-01-08T12:26:53Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2024-01-08T12:26:53Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2024-01-08T12:26:53Z" level=debug msg="Wait complete" +time="2024-01-08T12:26:53Z" level=debug msg="Handling update status report state" +time="2024-01-08T12:26:53Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2024-01-08T12:26:53Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2024-01-08T12:26:53Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2024-01-08T12:26:53Z" level=debug msg="Wait complete" +time="2024-01-08T12:26:53Z" level=debug msg="Handling update status report state" +time="2024-01-08T12:26:53Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2024-01-08T12:26:53Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2024-01-08T12:26:53Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2024-01-08T12:26:53Z" level=debug msg="Wait complete" +time="2024-01-08T12:26:53Z" level=debug msg="Handling update status report state" +time="2024-01-08T12:26:53Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2024-01-08T12:26:53Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2024-01-08T12:26:53Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2024-01-08T12:26:54Z" level=debug msg="Wait complete" state_test.go:369: Error Trace: state_test.go:369 - Error: Max difference between 2024-01-08 11:58:04.020491483 +0000 UTC m=+281.396283000 and 2024-01-08 11:58:04.058070946 +0000 UTC m=+281.433862463 allowed is 25ms, but difference was -37.579463ms + Error: Max difference between 2024-01-08 12:26:53.962629872 +0000 UTC m=+310.232128952 and 2024-01-08 12:26:54.00227275 +0000 UTC m=+310.271771830 allowed is 25ms, but difference was -39.642878ms Test: TestStateUpdateReportStatus -time="2024-01-08T11:58:04Z" level=debug msg="Handling update status report state" -time="2024-01-08T11:58:04Z" level=debug msg="Attempting to upload deployment logs for failed update" -time="2024-01-08T11:58:04Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" -time="2024-01-08T11:58: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="2024-01-08T11:58:04Z" level=debug msg="Handling update status report state" -time="2024-01-08T11:58:04Z" level=error msg="Failed to send status to server: fatal error: deployment was aborted" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update status report state" -time="2024-01-08T11:58:04Z" level=error msg="Failed to send status to server: fatal error: deployment was aborted" ---- FAIL: TestStateUpdateReportStatus (0.07s) +time="2024-01-08T12:26:54Z" level=debug msg="Handling update status report state" +time="2024-01-08T12:26:54Z" level=debug msg="Attempting to upload deployment logs for failed update" +time="2024-01-08T12:26:54Z" level=error msg="Failed to report deployment logs: transient error: test error sending logs" +time="2024-01-08T12:26:54Z" level=error msg="Failed to send deployment logs to server: transient error: failed to send deployment logs: transient error: test error sending logs" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update status report state" +time="2024-01-08T12:26:54Z" level=error msg="Failed to send status to server: fatal error: deployment was aborted" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update status report state" +time="2024-01-08T12:26:54Z" level=error msg="Failed to send status to server: fatal error: deployment was aborted" +--- FAIL: TestStateUpdateReportStatus (0.08s) === RUN TestStateIdle --- PASS: TestStateIdle (0.00s) === RUN TestStateAuthorize -time="2024-01-08T11:58:04Z" level=debug msg="Handle authorize state" -time="2024-01-08T11:58:04Z" level=debug msg="Handle authorize state" -time="2024-01-08T11:58:04Z" level=error msg="Authorize failed: transient error: auth fail temp" -time="2024-01-08T11:58:04Z" level=debug msg="Handle authorize state" -time="2024-01-08T11:58:04Z" level=error msg="Authorize failed: fatal error: auth error" +time="2024-01-08T12:26:54Z" level=debug msg="Handle authorize state" +time="2024-01-08T12:26:54Z" level=debug msg="Handle authorize state" +time="2024-01-08T12:26:54Z" level=error msg="Authorize failed: transient error: auth fail temp" +time="2024-01-08T12:26:54Z" level=debug msg="Handle authorize state" +time="2024-01-08T12:26:54Z" level=error msg="Authorize failed: fatal error: auth error" --- PASS: TestStateAuthorize (0.00s) === RUN TestStateUpdateCommit -time="2024-01-08T11:58:04Z" level=info msg="Running Mender client version: unknown" -time="2024-01-08T11:58:04Z" level=debug msg="Handle update commit state" -time="2024-01-08T11:58:04Z" level=debug msg="Committing new artifact name: TestName" -time="2024-01-08T11:58:04Z" level=debug msg="Committing new artifact group name: TestGroup" -time="2024-01-08T11:58:04Z" level=debug msg="Committing new artifact type-info provides" ---- PASS: TestStateUpdateCommit (0.01s) +time="2024-01-08T12:26:54Z" level=info msg="Running Mender client version: unknown" +time="2024-01-08T12:26:54Z" level=debug msg="Handle update commit state" +time="2024-01-08T12:26:54Z" level=debug msg="Committing new artifact name: TestName" +time="2024-01-08T12:26:54Z" level=debug msg="Committing new artifact group name: TestGroup" +time="2024-01-08T12:26:54Z" level=debug msg="Committing new artifact type-info provides" +--- PASS: TestStateUpdateCommit (0.00s) === RUN TestStateInvetoryUpdate -time="2024-01-08T11:58:04Z" level=warning msg="Failed to refresh inventory: some err" -time="2024-01-08T11:58:04Z" level=debug msg="Inventory refresh complete" -time="2024-01-08T11:58:04Z" level=warning msg="Failed to refresh inventory: cannot determine current artifact name" +time="2024-01-08T12:26:54Z" level=warning msg="Failed to refresh inventory: some err" +time="2024-01-08T12:26:54Z" level=debug msg="Inventory refresh complete" +time="2024-01-08T12:26:54Z" level=warning msg="Failed to refresh inventory: cannot determine current artifact name" --- PASS: TestStateInvetoryUpdate (0.00s) === RUN TestStateAuthorizeWait -time="2024-01-08T11:58:04Z" level=debug msg="Handle authorize wait state" -time="2024-01-08T11:58:04Z" level=debug msg="Wait 0s before next authorization attempt" -time="2024-01-08T11:58:04Z" level=debug msg="Handle authorize wait state" -time="2024-01-08T11:58:04Z" level=debug msg="Wait 99.755653ms before next authorization attempt" -time="2024-01-08T11:58:04Z" level=debug msg="Wait complete" -time="2024-01-08T11:58:04Z" level=debug msg="Handle authorize wait state" -time="2024-01-08T11:58:04Z" level=debug msg="Wait 98.998945ms before next authorization attempt" -time="2024-01-08T11:58:04Z" level=info msg="Wait canceled" +time="2024-01-08T12:26:54Z" level=debug msg="Handle authorize wait state" +time="2024-01-08T12:26:54Z" level=debug msg="Wait 0s before next authorization attempt" +time="2024-01-08T12:26:54Z" level=debug msg="Handle authorize wait state" +time="2024-01-08T12:26:54Z" level=debug msg="Wait 99.942686ms before next authorization attempt" +time="2024-01-08T12:26:54Z" level=debug msg="Wait complete" +time="2024-01-08T12:26:54Z" level=debug msg="Handle authorize wait state" +time="2024-01-08T12:26:54Z" level=debug msg="Wait 98.875426ms before next authorization attempt" +time="2024-01-08T12:26:54Z" level=info msg="Wait canceled" --- PASS: TestStateAuthorizeWait (0.10s) === RUN TestStateUpdateCheckWait -time="2024-01-08T11:58:04Z" level=debug msg="Handle check wait state" -time="2024-01-08T11:58:04Z" level=debug msg="Check wait state; next checks: (update: 0001-01-01 00:00:00.01 +0000 UTC) (inventory: 0001-01-01 00:00:00 +0000 UTC)" -time="2024-01-08T11:58:04Z" level=debug msg="Next check: 0001-01-01 00:00:00 +0000 UTC:inventory-update, (2024-01-08 11:58:04.17288745 +0000 UTC m=+281.548678300)" -time="2024-01-08T11:58:04Z" level=debug msg="Check wait returned: inventory-update" -time="2024-01-08T11:58:04Z" level=debug msg="Handle check wait state" -time="2024-01-08T11:58:04Z" level=debug msg="Check wait state; next checks: (update: 0001-01-01 00:00:00.01 +0000 UTC) (inventory: 2024-01-08 11:58:04.19313313 +0000 UTC m=+281.568923981)" -time="2024-01-08T11:58:04Z" level=debug msg="Next check: 0001-01-01 00:00:00.01 +0000 UTC:update-check, (2024-01-08 11:58:04.173419146 +0000 UTC m=+281.549210330)" -time="2024-01-08T11:58:04Z" level=debug msg="Check wait returned: update-check" -time="2024-01-08T11:58:04Z" level=debug msg="Handle check wait state" -time="2024-01-08T11:58:04Z" level=debug msg="Check wait state; next checks: (update: 2024-01-08 11:58:04.184553211 +0000 UTC m=+281.560344394) (inventory: 2024-01-08 11:58:04.19313313 +0000 UTC m=+281.568923981)" -time="2024-01-08T11:58:04Z" level=debug msg="Next check: 2024-01-08 11:58:04.184553211 +0000 UTC m=+281.560344394:update-check, (2024-01-08 11:58:04.174981902 +0000 UTC m=+281.550772752)" -time="2024-01-08T11:58:04Z" level=debug msg="Waiting 9.571642ms for the next state" -time="2024-01-08T11:58:04Z" level=debug msg="Wait complete" -time="2024-01-08T11:58:04Z" level=debug msg="Handle check wait state" -time="2024-01-08T11:58:04Z" level=debug msg="Check wait state; next checks: (update: 2024-01-08 11:58:04.195313154 +0000 UTC m=+281.571104671) (inventory: 2024-01-08 11:58:04.19313313 +0000 UTC m=+281.568923981)" -time="2024-01-08T11:58:04Z" level=debug msg="Next check: 2024-01-08 11:58:04.19313313 +0000 UTC m=+281.568923981:inventory-update, (2024-01-08 11:58:04.185658506 +0000 UTC m=+281.561449357)" -time="2024-01-08T11:58:04Z" level=debug msg="Waiting 7.474624ms for the next state" -time="2024-01-08T11:58:04Z" level=debug msg="Wait complete" -time="2024-01-08T11:58:04Z" level=debug msg="Handle check wait state" -time="2024-01-08T11:58:04Z" level=debug msg="Check wait state; next checks: (update: 2024-01-08 11:58:04.285313154 +0000 UTC m=+281.661104671) (inventory: 2024-01-08 11:58:04.29313313 +0000 UTC m=+281.668923981)" -time="2024-01-08T11:58:04Z" level=debug msg="Next check: 2024-01-08 11:58:04.285313154 +0000 UTC m=+281.661104671:update-check, (2024-01-08 11:58:04.195017037 +0000 UTC m=+281.570808220)" -time="2024-01-08T11:58:04Z" level=debug msg="Waiting 90.296451ms for the next state" -time="2024-01-08T11:58:04Z" level=info msg="Wait canceled" +time="2024-01-08T12:26:54Z" level=debug msg="Handle check wait state" +time="2024-01-08T12:26:54Z" level=debug msg="Check wait state; next checks: (update: 0001-01-01 00:00:00.01 +0000 UTC) (inventory: 0001-01-01 00:00:00 +0000 UTC)" +time="2024-01-08T12:26:54Z" level=debug msg="Next check: 0001-01-01 00:00:00 +0000 UTC:inventory-update, (2024-01-08 12:26:54.106680855 +0000 UTC m=+310.376179915)" +time="2024-01-08T12:26:54Z" level=debug msg="Check wait returned: inventory-update" +time="2024-01-08T12:26:54Z" level=debug msg="Handle check wait state" +time="2024-01-08T12:26:54Z" level=debug msg="Check wait state; next checks: (update: 0001-01-01 00:00:00.01 +0000 UTC) (inventory: 2024-01-08 12:26:54.126747148 +0000 UTC m=+310.396246188)" +time="2024-01-08T12:26:54Z" level=debug msg="Next check: 0001-01-01 00:00:00.01 +0000 UTC:update-check, (2024-01-08 12:26:54.106851738 +0000 UTC m=+310.376350798)" +time="2024-01-08T12:26:54Z" level=debug msg="Check wait returned: update-check" +time="2024-01-08T12:26:54Z" level=debug msg="Handle check wait state" +time="2024-01-08T12:26:54Z" level=debug msg="Check wait state; next checks: (update: 2024-01-08 12:26:54.116909133 +0000 UTC m=+310.386408193) (inventory: 2024-01-08 12:26:54.126747148 +0000 UTC m=+310.396246188)" +time="2024-01-08T12:26:54Z" level=debug msg="Next check: 2024-01-08 12:26:54.116909133 +0000 UTC m=+310.386408193:update-check, (2024-01-08 12:26:54.107007964 +0000 UTC m=+310.376507024)" +time="2024-01-08T12:26:54Z" level=debug msg="Waiting 9.901169ms for the next state" +time="2024-01-08T12:26:54Z" level=debug msg="Wait complete" +time="2024-01-08T12:26:54Z" level=debug msg="Handle check wait state" +time="2024-01-08T12:26:54Z" level=debug msg="Check wait state; next checks: (update: 2024-01-08 12:26:54.128266081 +0000 UTC m=+310.397765141) (inventory: 2024-01-08 12:26:54.126747148 +0000 UTC m=+310.396246188)" +time="2024-01-08T12:26:54Z" level=debug msg="Next check: 2024-01-08 12:26:54.126747148 +0000 UTC m=+310.396246188:inventory-update, (2024-01-08 12:26:54.118399108 +0000 UTC m=+310.387898168)" +time="2024-01-08T12:26:54Z" level=debug msg="Waiting 8.34802ms for the next state" +time="2024-01-08T12:26:54Z" level=debug msg="Wait complete" +time="2024-01-08T12:26:54Z" level=debug msg="Handle check wait state" +time="2024-01-08T12:26:54Z" level=debug msg="Check wait state; next checks: (update: 2024-01-08 12:26:54.218266081 +0000 UTC m=+310.487765141) (inventory: 2024-01-08 12:26:54.226747148 +0000 UTC m=+310.496246188)" +time="2024-01-08T12:26:54Z" level=debug msg="Next check: 2024-01-08 12:26:54.218266081 +0000 UTC m=+310.487765141:update-check, (2024-01-08 12:26:54.130399276 +0000 UTC m=+310.399898336)" +time="2024-01-08T12:26:54Z" level=debug msg="Waiting 87.866805ms for the next state" +time="2024-01-08T12:26:54Z" level=info msg="Wait canceled" --- PASS: TestStateUpdateCheckWait (0.02s) === RUN TestStateUpdateCheck -time="2024-01-08T11:58:04Z" level=debug msg="Handle update check state" -time="2024-01-08T11:58:04Z" level=debug msg="Handle update check state" -time="2024-01-08T11:58:04Z" level=error msg="Update check failed: transient error: check failed" -time="2024-01-08T11:58:04Z" level=debug msg="Handle update check state" +time="2024-01-08T12:26:54Z" level=debug msg="Handle update check state" +time="2024-01-08T12:26:54Z" level=debug msg="Handle update check state" +time="2024-01-08T12:26:54Z" level=error msg="Update check failed: transient error: check failed" +time="2024-01-08T12:26:54Z" level=debug msg="Handle update check state" --- PASS: TestStateUpdateCheck (0.00s) === RUN TestUpdateCheckSameImage -time="2024-01-08T11:58:04Z" level=debug msg="Handle update check state" +time="2024-01-08T12:26:54Z" level=debug msg="Handle update check state" --- PASS: TestUpdateCheckSameImage (0.00s) === RUN TestStateUpdateFetch -time="2024-01-08T11:58:04Z" level=info msg="Running Mender client version: unknown" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update fetch state" -time="2024-01-08T11:58:04Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" -time="2024-01-08T11:58:04Z" level=error msg="Could not write state data to persistent storage: read only" -time="2024-01-08T11:58:04Z" level=error msg="fatal error: read only" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update fetch state" -time="2024-01-08T11:58:04Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update install state" -time="2024-01-08T11:58:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:58:04Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" ---- PASS: TestStateUpdateFetch (0.01s) +time="2024-01-08T12:26:54Z" level=info msg="Running Mender client version: unknown" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update fetch state" +time="2024-01-08T12:26:54Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" +time="2024-01-08T12:26:54Z" level=error msg="Could not write state data to persistent storage: read only" +time="2024-01-08T12:26:54Z" level=error msg="fatal error: read only" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update fetch state" +time="2024-01-08T12:26:54Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update install state" +time="2024-01-08T12:26:54Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:54Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +--- PASS: TestStateUpdateFetch (0.00s) === RUN TestStateUpdateFetchRetry -time="2024-01-08T11:58:04Z" level=debug msg="Handling update fetch state" -time="2024-01-08T11:58:04Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2024-01-08T11:58:04Z" level=debug msg="Handle fetch install retry state" -time="2024-01-08T11:58:04Z" level=debug msg="Wait 1m0s before next fetch/install attempt" -time="2024-01-08T11:58:04Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update fetch state" -time="2024-01-08T11:58:04Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2024-01-08T11:58:04Z" level=debug msg="Handle fetch install retry state" -time="2024-01-08T11:58:04Z" level=debug msg="Wait 1m0s before next fetch/install attempt" -time="2024-01-08T11:58:04Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update fetch state" -time="2024-01-08T11:58:04Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2024-01-08T11:58:04Z" level=debug msg="Handle fetch install retry state" -time="2024-01-08T11:58:04Z" level=debug msg="Wait 1m0s before next fetch/install attempt" -time="2024-01-08T11:58:04Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update fetch state" -time="2024-01-08T11:58:04Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2024-01-08T11:58:04Z" level=debug msg="Handle fetch install retry state" -time="2024-01-08T11:58:04Z" level=debug msg="Wait 2m0s before next fetch/install attempt" -time="2024-01-08T11:58:04Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update fetch state" -time="2024-01-08T11:58:04Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2024-01-08T11:58:04Z" level=debug msg="Handle fetch install retry state" -time="2024-01-08T11:58:04Z" level=debug msg="Wait 2m0s before next fetch/install attempt" -time="2024-01-08T11:58:04Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update fetch state" -time="2024-01-08T11:58:04Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2024-01-08T11:58:04Z" level=debug msg="Handle fetch install retry state" -time="2024-01-08T11:58:04Z" level=debug msg="Wait 2m0s before next fetch/install attempt" -time="2024-01-08T11:58:04Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update fetch state" -time="2024-01-08T11:58:04Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2024-01-08T11:58:04Z" level=debug msg="Handle fetch install retry state" -time="2024-01-08T11:58:04Z" level=debug msg="Wait 4m0s before next fetch/install attempt" -time="2024-01-08T11:58:04Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update fetch state" -time="2024-01-08T11:58:04Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2024-01-08T11:58:04Z" level=debug msg="Handle fetch install retry state" -time="2024-01-08T11:58:04Z" level=debug msg="Wait 4m0s before next fetch/install attempt" -time="2024-01-08T11:58:04Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update fetch state" -time="2024-01-08T11:58:04Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2024-01-08T11:58:04Z" level=debug msg="Handle fetch install retry state" -time="2024-01-08T11:58:04Z" level=debug msg="Wait 4m0s before next fetch/install attempt" -time="2024-01-08T11:58:04Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update fetch state" -time="2024-01-08T11:58:04Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2024-01-08T11:58:04Z" level=debug msg="Handle fetch install retry state" -time="2024-01-08T11:58:04Z" level=debug msg="Wait 5m0s before next fetch/install attempt" -time="2024-01-08T11:58:04Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update fetch state" -time="2024-01-08T11:58:04Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2024-01-08T11:58:04Z" level=debug msg="Handle fetch install retry state" -time="2024-01-08T11:58:04Z" level=debug msg="Wait 5m0s before next fetch/install attempt" -time="2024-01-08T11:58:04Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update fetch state" -time="2024-01-08T11:58:04Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2024-01-08T11:58:04Z" level=debug msg="Handle fetch install retry state" -time="2024-01-08T11:58:04Z" level=debug msg="Wait 5m0s before next fetch/install attempt" -time="2024-01-08T11:58:04Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update fetch state" -time="2024-01-08T11:58:04Z" level=error msg="Update fetch failed: transient error: fetch failed" -time="2024-01-08T11:58:04Z" level=debug msg="Handle fetch install retry state" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update fetch state" +time="2024-01-08T12:26:54Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2024-01-08T12:26:54Z" level=debug msg="Handle fetch install retry state" +time="2024-01-08T12:26:54Z" level=debug msg="Wait 1m0s before next fetch/install attempt" +time="2024-01-08T12:26:54Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update fetch state" +time="2024-01-08T12:26:54Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2024-01-08T12:26:54Z" level=debug msg="Handle fetch install retry state" +time="2024-01-08T12:26:54Z" level=debug msg="Wait 1m0s before next fetch/install attempt" +time="2024-01-08T12:26:54Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update fetch state" +time="2024-01-08T12:26:54Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2024-01-08T12:26:54Z" level=debug msg="Handle fetch install retry state" +time="2024-01-08T12:26:54Z" level=debug msg="Wait 1m0s before next fetch/install attempt" +time="2024-01-08T12:26:54Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update fetch state" +time="2024-01-08T12:26:54Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2024-01-08T12:26:54Z" level=debug msg="Handle fetch install retry state" +time="2024-01-08T12:26:54Z" level=debug msg="Wait 2m0s before next fetch/install attempt" +time="2024-01-08T12:26:54Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update fetch state" +time="2024-01-08T12:26:54Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2024-01-08T12:26:54Z" level=debug msg="Handle fetch install retry state" +time="2024-01-08T12:26:54Z" level=debug msg="Wait 2m0s before next fetch/install attempt" +time="2024-01-08T12:26:54Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update fetch state" +time="2024-01-08T12:26:54Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2024-01-08T12:26:54Z" level=debug msg="Handle fetch install retry state" +time="2024-01-08T12:26:54Z" level=debug msg="Wait 2m0s before next fetch/install attempt" +time="2024-01-08T12:26:54Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update fetch state" +time="2024-01-08T12:26:54Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2024-01-08T12:26:54Z" level=debug msg="Handle fetch install retry state" +time="2024-01-08T12:26:54Z" level=debug msg="Wait 4m0s before next fetch/install attempt" +time="2024-01-08T12:26:54Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update fetch state" +time="2024-01-08T12:26:54Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2024-01-08T12:26:54Z" level=debug msg="Handle fetch install retry state" +time="2024-01-08T12:26:54Z" level=debug msg="Wait 4m0s before next fetch/install attempt" +time="2024-01-08T12:26:54Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update fetch state" +time="2024-01-08T12:26:54Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2024-01-08T12:26:54Z" level=debug msg="Handle fetch install retry state" +time="2024-01-08T12:26:54Z" level=debug msg="Wait 4m0s before next fetch/install attempt" +time="2024-01-08T12:26:54Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update fetch state" +time="2024-01-08T12:26:54Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2024-01-08T12:26:54Z" level=debug msg="Handle fetch install retry state" +time="2024-01-08T12:26:54Z" level=debug msg="Wait 5m0s before next fetch/install attempt" +time="2024-01-08T12:26:54Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update fetch state" +time="2024-01-08T12:26:54Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2024-01-08T12:26:54Z" level=debug msg="Handle fetch install retry state" +time="2024-01-08T12:26:54Z" level=debug msg="Wait 5m0s before next fetch/install attempt" +time="2024-01-08T12:26:54Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update fetch state" +time="2024-01-08T12:26:54Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2024-01-08T12:26:54Z" level=debug msg="Handle fetch install retry state" +time="2024-01-08T12:26:54Z" level=debug msg="Wait 5m0s before next fetch/install attempt" +time="2024-01-08T12:26:54Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update fetch state" +time="2024-01-08T12:26:54Z" level=error msg="Update fetch failed: transient error: fetch failed" +time="2024-01-08T12:26:54Z" level=debug msg="Handle fetch install retry state" --- PASS: TestStateUpdateFetchRetry (0.01s) === RUN TestStateUpdateStore -time="2024-01-08T11:58:04Z" level=error msg="fatal error: test failure" -time="2024-01-08T11:58:04Z" level=info msg="Running Mender client version: unknown" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update install state" -time="2024-01-08T11:58:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:58:04Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2024-01-08T11:58:04Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update install state" ---- PASS: TestStateUpdateStore (0.12s) +time="2024-01-08T12:26:54Z" level=error msg="fatal error: test failure" +time="2024-01-08T12:26:54Z" level=info msg="Running Mender client version: unknown" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update install state" +time="2024-01-08T12:26:54Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:54Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2024-01-08T12:26:54Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update install state" +--- PASS: TestStateUpdateStore (0.04s) === RUN TestUpdateStoreDependencies -time="2024-01-08T11:58:04Z" level=info msg="Running Mender client version: unknown" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update install state" -time="2024-01-08T11:58:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:58:04Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2024-01-08T11:58:04Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" -time="2024-01-08T11:58:04Z" level=error msg="Artifact dependency \"artifact_name\" not satisfied by currently installed artifact ([OtherArtifact] != )." -time="2024-01-08T11:58:04Z" level=debug msg="Handling update install state" -time="2024-01-08T11:58:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:58:04Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2024-01-08T11:58:04Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" -time="2024-01-08T11:58:04Z" level=error msg="Artifact dependency \"artifact_name\" not satisfied by currently installed artifact ([OtherArtifact] != NonExistingArtie)." -time="2024-01-08T11:58:04Z" level=debug msg="Handling update install state" -time="2024-01-08T11:58:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:58:04Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2024-01-08T11:58:04Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" -time="2024-01-08T11:58:04Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([TestGroup] != )." -time="2024-01-08T11:58:04Z" level=debug msg="Handling update install state" -time="2024-01-08T11:58:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:58:04Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2024-01-08T11:58:04Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" -time="2024-01-08T11:58:04Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([TestGroup] != WrongGroup)." -time="2024-01-08T11:58:04Z" level=debug msg="Handling update install state" -time="2024-01-08T11:58:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:58:04Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2024-01-08T11:58:04Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" ---- PASS: TestUpdateStoreDependencies (0.19s) +time="2024-01-08T12:26:54Z" level=info msg="Running Mender client version: unknown" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update install state" +time="2024-01-08T12:26:54Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:54Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2024-01-08T12:26:54Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" +time="2024-01-08T12:26:54Z" level=error msg="Artifact dependency \"artifact_name\" not satisfied by currently installed artifact ([OtherArtifact] != )." +time="2024-01-08T12:26:54Z" level=debug msg="Handling update install state" +time="2024-01-08T12:26:54Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:54Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2024-01-08T12:26:54Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" +time="2024-01-08T12:26:54Z" level=error msg="Artifact dependency \"artifact_name\" not satisfied by currently installed artifact ([OtherArtifact] != NonExistingArtie)." +time="2024-01-08T12:26:54Z" level=debug msg="Handling update install state" +time="2024-01-08T12:26:54Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:54Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2024-01-08T12:26:54Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" +time="2024-01-08T12:26:54Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([TestGroup] != )." +time="2024-01-08T12:26:54Z" level=debug msg="Handling update install state" +time="2024-01-08T12:26:54Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:54Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2024-01-08T12:26:54Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" +time="2024-01-08T12:26:54Z" level=error msg="Artifact dependency \"artifact_group\" not satisfied by currently installed artifact ([TestGroup] != WrongGroup)." +time="2024-01-08T12:26:54Z" level=debug msg="Handling update install state" +time="2024-01-08T12:26:54Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:54Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2024-01-08T12:26:54Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" +--- PASS: TestUpdateStoreDependencies (0.07s) === RUN TestStateWrongArtifactNameFromServer -time="2024-01-08T11:58:04Z" level=info msg="Running Mender client version: unknown" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update install state" -time="2024-01-08T11:58:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:58:04Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" -time="2024-01-08T11:58:04Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" -time="2024-01-08T11:58:04Z" level=error msg="Artifact name in artifact is not what the server claims (TestName != WrongName)." ---- PASS: TestStateWrongArtifactNameFromServer (0.09s) +time="2024-01-08T12:26:54Z" level=info msg="Running Mender client version: unknown" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update install state" +time="2024-01-08T12:26:54Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:54Z" level=debug msg="Checking if device [vexpress-qemu] is on compatible device list: [vexpress-qemu]\n" +time="2024-01-08T12:26:54Z" level=debug msg="Installer: Successfully read artifact [name: TestName; version: 3; compatible devices: [vexpress-qemu]]" +time="2024-01-08T12:26:54Z" level=error msg="Artifact name in artifact is not what the server claims (TestName != WrongName)." +--- PASS: TestStateWrongArtifactNameFromServer (0.05s) === RUN TestStateUpdateInstallRetry -time="2024-01-08T11:58:04Z" level=info msg="Running Mender client version: unknown" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update install state" -time="2024-01-08T11:58:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:58:04Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2024-01-08T11:58:04Z" level=debug msg="Handle fetch install retry state" -time="2024-01-08T11:58:04Z" level=debug msg="Wait 1m0s before next fetch/install attempt" -time="2024-01-08T11:58:04Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update fetch state" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update install state" -time="2024-01-08T11:58:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:58:04Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2024-01-08T11:58:04Z" level=debug msg="Handle fetch install retry state" -time="2024-01-08T11:58:04Z" level=debug msg="Wait 1m0s before next fetch/install attempt" -time="2024-01-08T11:58:04Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update fetch state" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update install state" -time="2024-01-08T11:58:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:58:04Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2024-01-08T11:58:04Z" level=debug msg="Handle fetch install retry state" -time="2024-01-08T11:58:04Z" level=debug msg="Wait 1m0s before next fetch/install attempt" -time="2024-01-08T11:58:04Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update fetch state" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update install state" -time="2024-01-08T11:58:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:58:04Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2024-01-08T11:58:04Z" level=debug msg="Handle fetch install retry state" -time="2024-01-08T11:58:04Z" level=debug msg="Wait 2m0s before next fetch/install attempt" -time="2024-01-08T11:58:04Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update fetch state" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update install state" -time="2024-01-08T11:58:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:58:04Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2024-01-08T11:58:04Z" level=debug msg="Handle fetch install retry state" -time="2024-01-08T11:58:04Z" level=debug msg="Wait 2m0s before next fetch/install attempt" -time="2024-01-08T11:58:04Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update fetch state" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update install state" -time="2024-01-08T11:58:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:58:04Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2024-01-08T11:58:04Z" level=debug msg="Handle fetch install retry state" -time="2024-01-08T11:58:04Z" level=debug msg="Wait 2m0s before next fetch/install attempt" -time="2024-01-08T11:58:04Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update fetch state" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update install state" -time="2024-01-08T11:58:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:58:04Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2024-01-08T11:58:04Z" level=debug msg="Handle fetch install retry state" -time="2024-01-08T11:58:04Z" level=debug msg="Wait 4m0s before next fetch/install attempt" -time="2024-01-08T11:58:04Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update fetch state" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update install state" -time="2024-01-08T11:58:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:58:04Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2024-01-08T11:58:04Z" level=debug msg="Handle fetch install retry state" -time="2024-01-08T11:58:04Z" level=debug msg="Wait 4m0s before next fetch/install attempt" -time="2024-01-08T11:58:04Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update fetch state" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update install state" -time="2024-01-08T11:58:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:58:04Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2024-01-08T11:58:04Z" level=debug msg="Handle fetch install retry state" -time="2024-01-08T11:58:04Z" level=debug msg="Wait 4m0s before next fetch/install attempt" -time="2024-01-08T11:58:04Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update fetch state" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update install state" -time="2024-01-08T11:58:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:58:04Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2024-01-08T11:58:04Z" level=debug msg="Handle fetch install retry state" -time="2024-01-08T11:58:04Z" level=debug msg="Wait 5m0s before next fetch/install attempt" -time="2024-01-08T11:58:04Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update fetch state" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update install state" -time="2024-01-08T11:58:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:58:04Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2024-01-08T11:58:04Z" level=debug msg="Handle fetch install retry state" -time="2024-01-08T11:58:04Z" level=debug msg="Wait 5m0s before next fetch/install attempt" -time="2024-01-08T11:58:04Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update fetch state" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update install state" -time="2024-01-08T11:58:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:58:04Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2024-01-08T11:58:04Z" level=debug msg="Handle fetch install retry state" -time="2024-01-08T11:58:04Z" level=debug msg="Wait 5m0s before next fetch/install attempt" -time="2024-01-08T11:58:04Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update fetch state" -time="2024-01-08T11:58:04Z" level=debug msg="Handling update install state" -time="2024-01-08T11:58:04Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:58:04Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" -time="2024-01-08T11:58:04Z" level=debug msg="Handle fetch install retry state" ---- PASS: TestStateUpdateInstallRetry (0.02s) +time="2024-01-08T12:26:54Z" level=info msg="Running Mender client version: unknown" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update install state" +time="2024-01-08T12:26:54Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:54Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2024-01-08T12:26:54Z" level=debug msg="Handle fetch install retry state" +time="2024-01-08T12:26:54Z" level=debug msg="Wait 1m0s before next fetch/install attempt" +time="2024-01-08T12:26:54Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update fetch state" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update install state" +time="2024-01-08T12:26:54Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:54Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2024-01-08T12:26:54Z" level=debug msg="Handle fetch install retry state" +time="2024-01-08T12:26:54Z" level=debug msg="Wait 1m0s before next fetch/install attempt" +time="2024-01-08T12:26:54Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update fetch state" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update install state" +time="2024-01-08T12:26:54Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:54Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2024-01-08T12:26:54Z" level=debug msg="Handle fetch install retry state" +time="2024-01-08T12:26:54Z" level=debug msg="Wait 1m0s before next fetch/install attempt" +time="2024-01-08T12:26:54Z" level=debug msg="Fake waiting for 60.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update fetch state" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update install state" +time="2024-01-08T12:26:54Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:54Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2024-01-08T12:26:54Z" level=debug msg="Handle fetch install retry state" +time="2024-01-08T12:26:54Z" level=debug msg="Wait 2m0s before next fetch/install attempt" +time="2024-01-08T12:26:54Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update fetch state" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update install state" +time="2024-01-08T12:26:54Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:54Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2024-01-08T12:26:54Z" level=debug msg="Handle fetch install retry state" +time="2024-01-08T12:26:54Z" level=debug msg="Wait 2m0s before next fetch/install attempt" +time="2024-01-08T12:26:54Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update fetch state" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update install state" +time="2024-01-08T12:26:54Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:54Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2024-01-08T12:26:54Z" level=debug msg="Handle fetch install retry state" +time="2024-01-08T12:26:54Z" level=debug msg="Wait 2m0s before next fetch/install attempt" +time="2024-01-08T12:26:54Z" level=debug msg="Fake waiting for 120.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update fetch state" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update install state" +time="2024-01-08T12:26:54Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:54Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2024-01-08T12:26:54Z" level=debug msg="Handle fetch install retry state" +time="2024-01-08T12:26:54Z" level=debug msg="Wait 4m0s before next fetch/install attempt" +time="2024-01-08T12:26:54Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update fetch state" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update install state" +time="2024-01-08T12:26:54Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:54Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2024-01-08T12:26:54Z" level=debug msg="Handle fetch install retry state" +time="2024-01-08T12:26:54Z" level=debug msg="Wait 4m0s before next fetch/install attempt" +time="2024-01-08T12:26:54Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update fetch state" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update install state" +time="2024-01-08T12:26:54Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:54Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2024-01-08T12:26:54Z" level=debug msg="Handle fetch install retry state" +time="2024-01-08T12:26:54Z" level=debug msg="Wait 4m0s before next fetch/install attempt" +time="2024-01-08T12:26:54Z" level=debug msg="Fake waiting for 240.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update fetch state" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update install state" +time="2024-01-08T12:26:54Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:54Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2024-01-08T12:26:54Z" level=debug msg="Handle fetch install retry state" +time="2024-01-08T12:26:54Z" level=debug msg="Wait 5m0s before next fetch/install attempt" +time="2024-01-08T12:26:54Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update fetch state" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update install state" +time="2024-01-08T12:26:54Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:54Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2024-01-08T12:26:54Z" level=debug msg="Handle fetch install retry state" +time="2024-01-08T12:26:54Z" level=debug msg="Wait 5m0s before next fetch/install attempt" +time="2024-01-08T12:26:54Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update fetch state" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update install state" +time="2024-01-08T12:26:54Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:54Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2024-01-08T12:26:54Z" level=debug msg="Handle fetch install retry state" +time="2024-01-08T12:26:54Z" level=debug msg="Wait 5m0s before next fetch/install attempt" +time="2024-01-08T12:26:54Z" level=debug msg="Fake waiting for 300.000000 seconds, going from state fetch-install-retry-wait to state update-fetch" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update fetch state" +time="2024-01-08T12:26:54Z" level=debug msg="Handling update install state" +time="2024-01-08T12:26:54Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:26:54Z" level=error msg="Fetching Artifact headers failed: installer: failed to read Artifact: reader: can not read version file: readNext: Failed to get next header: reader: error reading archive: unexpected EOF" +time="2024-01-08T12:26:54Z" level=debug msg="Handle fetch install retry state" +--- PASS: TestStateUpdateInstallRetry (0.00s) === RUN TestStateFinal --- PASS: TestStateFinal (0.00s) === RUN TestStateData --- PASS: TestStateData (0.00s) === RUN TestStateReportError -time="2024-01-08T11:58:04Z" level=error msg="Handling report error state with status: success" -time="2024-01-08T11:58:04Z" level=error msg="Handling report error state with status: failure" -time="2024-01-08T11:58:04Z" level=error msg="Error while performing update: failure ({{{ } [] [] map[]} foobar [] 0 false})" -time="2024-01-08T11:58:04Z" level=error msg="Handling report error state with status: already-installed" +time="2024-01-08T12:26:54Z" level=error msg="Handling report error state with status: success" +time="2024-01-08T12:26:54Z" level=error msg="Handling report error state with status: failure" +time="2024-01-08T12:26:54Z" level=error msg="Error while performing update: failure ({{{ } [] [] map[]} foobar [] 0 false})" +time="2024-01-08T12:26:54Z" level=error msg="Handling report error state with status: already-installed" --- PASS: TestStateReportError (0.00s) === RUN TestMaxSendingAttempts --- PASS: TestMaxSendingAttempts (0.00s) @@ -3757,11398 +3792,11398 @@ === RUN TestStateTransitionsWithUpdateModules/Normal_install,_no_reboot,_no_rollback state_test.go:4717: Normal install, no reboot, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:04Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:04Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:04Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:04Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34323->[::1]:53: read: connection refused" - time="2024-01-08T11:58:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34323->[::1]:53: read: connection refused" - time="2024-01-08T11:58:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47516->[::1]:53: read: connection refused" - time="2024-01-08T11:58:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47516->[::1]:53: read: connection refused" - time="2024-01-08T11:58:04Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:04Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:04Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:04Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules873693483/device_type" - time="2024-01-08T11:58:04Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:04Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:04Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:04Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:04Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:04Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:04Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:04Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:04Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:04Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:04Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:04Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:04Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:04Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:04Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:04Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:04Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:04Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:04Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:04Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:04Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:04Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:04Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:04Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules873693483/artifact_info file." - time="2024-01-08T11:58:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules873693483/artifact_info" - time="2024-01-08T11:58:04Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:04Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules873693483/artifact_info" - time="2024-01-08T11:58:04Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules873693483/device_type" - time="2024-01-08T11:58:04Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:04Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:04Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:05Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules873693483/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules873693483/work/payloads/0000/tree" - time="2024-01-08T11:58:05Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules873693483/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules873693483/work/payloads/0000/tree" - time="2024-01-08T11:58:05Z" level=debug msg="Update module output: No" - time="2024-01-08T11:58:05Z" level=debug msg="Module does not support rollback" - time="2024-01-08T11:58:05Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:05Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:05Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37096->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37096->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33737->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33737->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:05Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60889->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60889->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50227->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50227->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules873693483/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules873693483/work/payloads/0000/tree" - time="2024-01-08T11:58:05Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules873693483/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules873693483/work/payloads/0000/tree" - time="2024-01-08T11:58:05Z" level=debug msg="Update module output: No" - time="2024-01-08T11:58:05Z" level=debug msg="Module does not need reboot" - time="2024-01-08T11:58:05Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-08T11:58:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:05Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34282->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34282->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37097->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37097->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:05Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45008->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45008->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45054->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45054->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=debug msg="Handle update commit state" - time="2024-01-08T11:58:05Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2024-01-08T11:58:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules873693483/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules873693483/work/payloads/0000/tree" - time="2024-01-08T11:58:05Z" level=debug msg="Committing new artifact name: artifact-name" - time="2024-01-08T11:58:05Z" level=debug msg="Committing new artifact group name: " - time="2024-01-08T11:58:05Z" level=debug msg="Committing new artifact type-info provides" - time="2024-01-08T11:58:05Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2024-01-08T11:58:05Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2024-01-08T11:58:05Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2024-01-08T11:58:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:05Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:05Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:05Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules873693483/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules873693483/work/payloads/0000/tree" - time="2024-01-08T11:58:05Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" - time="2024-01-08T11:58:05Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:05Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:05Z" level=debug msg="Returning artifact name artifact-name from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.52s) + time="2024-01-08T12:26:54Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:26:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:54Z" level=debug msg="Handle update check state" + time="2024-01-08T12:26:54Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:26:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:54Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:26:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45705->[::1]:53: read: connection refused" + time="2024-01-08T12:26:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45705->[::1]:53: read: connection refused" + time="2024-01-08T12:26:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56076->[::1]:53: read: connection refused" + time="2024-01-08T12:26:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56076->[::1]:53: read: connection refused" + time="2024-01-08T12:26:54Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:26:54Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:26:54Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:26:54Z" level=debug msg="Handling update install state" + time="2024-01-08T12:26:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules156217224/device_type" + time="2024-01-08T12:26:54Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:26:54Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:26:54Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:26:54Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:26:54Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:26:54Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:26:54Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:26:54Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:26:54Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:26:54Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:26:54Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:26:54Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:26:54Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:26:54Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:26:54Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:26:54Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:26:54Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:26:54Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:26:54Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:26:54Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:26:54Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:26:54Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:26:54Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:26:54Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules156217224/artifact_info file." + time="2024-01-08T12:26:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules156217224/artifact_info" + time="2024-01-08T12:26:54Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:26:54Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:26:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules156217224/artifact_info" + time="2024-01-08T12:26:54Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:26:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules156217224/device_type" + time="2024-01-08T12:26:54Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:26:54Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:26:54Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:26:54Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:26:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules156217224/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules156217224/work/payloads/0000/tree" + time="2024-01-08T12:26:54Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:26:54Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:26:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules156217224/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules156217224/work/payloads/0000/tree" + time="2024-01-08T12:26:54Z" level=debug msg="Update module output: No" + time="2024-01-08T12:26:54Z" level=debug msg="Module does not support rollback" + time="2024-01-08T12:26:54Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:26:54Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:26:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:54Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:26:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58130->[::1]:53: read: connection refused" + time="2024-01-08T12:26:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58130->[::1]:53: read: connection refused" + time="2024-01-08T12:26:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58517->[::1]:53: read: connection refused" + time="2024-01-08T12:26:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58517->[::1]:53: read: connection refused" + time="2024-01-08T12:26:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:54Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:26:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55924->[::1]:53: read: connection refused" + time="2024-01-08T12:26:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55924->[::1]:53: read: connection refused" + time="2024-01-08T12:26:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39415->[::1]:53: read: connection refused" + time="2024-01-08T12:26:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39415->[::1]:53: read: connection refused" + time="2024-01-08T12:26:54Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:26:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules156217224/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules156217224/work/payloads/0000/tree" + time="2024-01-08T12:26:54Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:26:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules156217224/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules156217224/work/payloads/0000/tree" + time="2024-01-08T12:26:54Z" level=debug msg="Update module output: No" + time="2024-01-08T12:26:54Z" level=debug msg="Module does not need reboot" + time="2024-01-08T12:26:54Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" + time="2024-01-08T12:26:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:54Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:26:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52936->[::1]:53: read: connection refused" + time="2024-01-08T12:26:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52936->[::1]:53: read: connection refused" + time="2024-01-08T12:26:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59413->[::1]:53: read: connection refused" + time="2024-01-08T12:26:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59413->[::1]:53: read: connection refused" + time="2024-01-08T12:26:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:54Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:26:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44503->[::1]:53: read: connection refused" + time="2024-01-08T12:26:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44503->[::1]:53: read: connection refused" + time="2024-01-08T12:26:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55274->[::1]:53: read: connection refused" + time="2024-01-08T12:26:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55274->[::1]:53: read: connection refused" + time="2024-01-08T12:26:54Z" level=debug msg="Handle update commit state" + time="2024-01-08T12:26:54Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2024-01-08T12:26:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules156217224/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules156217224/work/payloads/0000/tree" + time="2024-01-08T12:26:54Z" level=debug msg="Committing new artifact name: artifact-name" + time="2024-01-08T12:26:54Z" level=debug msg="Committing new artifact group name: " + time="2024-01-08T12:26:54Z" level=debug msg="Committing new artifact type-info provides" + time="2024-01-08T12:26:54Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2024-01-08T12:26:54Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2024-01-08T12:26:54Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2024-01-08T12:26:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:54Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:26:55Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:26:55Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:26:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules156217224/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules156217224/work/payloads/0000/tree" + time="2024-01-08T12:26:55Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" + time="2024-01-08T12:26:55Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:26:55Z" level=debug msg="Reporting complete" + time="2024-01-08T12:26:55Z" level=debug msg="Returning artifact name artifact-name from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.60s) PASS === RUN TestStateTransitionsWithUpdateModules/Normal_install,_no_rollback state_test.go:4717: Normal install, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:05Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:05Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:05Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:05Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47244->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47244->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52306->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52306->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:05Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:05Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:05Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules511038192/device_type" - time="2024-01-08T11:58:05Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:05Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:05Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:05Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:05Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:05Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules511038192/artifact_info file." - time="2024-01-08T11:58:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules511038192/artifact_info" - time="2024-01-08T11:58:05Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:05Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules511038192/artifact_info" - time="2024-01-08T11:58:05Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules511038192/device_type" - time="2024-01-08T11:58:05Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:05Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:05Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:05Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules511038192/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules511038192/work/payloads/0000/tree" - time="2024-01-08T11:58:05Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules511038192/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules511038192/work/payloads/0000/tree" - time="2024-01-08T11:58:05Z" level=debug msg="Update module output: No" - time="2024-01-08T11:58:05Z" level=debug msg="Module does not support rollback" - time="2024-01-08T11:58:05Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:05Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:05Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58472->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58472->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37347->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37347->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:05Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53416->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53416->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53720->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53720->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules511038192/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules511038192/work/payloads/0000/tree" - time="2024-01-08T11:58:05Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules511038192/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules511038192/work/payloads/0000/tree" - time="2024-01-08T11:58:05Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:05Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:58:05Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:58:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:05Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35821->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35821->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41501->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41501->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:05Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41821->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41821->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59710->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59710->[::1]:53: read: connection refused" - time="2024-01-08T11:58:05Z" level=debug msg="Handling reboot state" - time="2024-01-08T11:58:05Z" level=info msg="Rebooting device(s)" - time="2024-01-08T11:58:05Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-08T11:58:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules511038192/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules511038192/work/payloads/0000/tree" - time="2024-01-08T11:58:06Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:06Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-08T11:58:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules511038192/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules511038192/work/payloads/0000/tree" - time="2024-01-08T11:58:06Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:06Z" level=debug msg="Handling state after reboot" - time="2024-01-08T11:58:06Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-08T11:58:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:06Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49849->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49849->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47013->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47013->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:06Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49147->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49147->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58709->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58709->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=debug msg="Handle update commit state" - time="2024-01-08T11:58:06Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2024-01-08T11:58:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules511038192/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules511038192/work/payloads/0000/tree" - time="2024-01-08T11:58:06Z" level=debug msg="Committing new artifact name: artifact-name" - time="2024-01-08T11:58:06Z" level=debug msg="Committing new artifact group name: " - time="2024-01-08T11:58:06Z" level=debug msg="Committing new artifact type-info provides" - time="2024-01-08T11:58:06Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2024-01-08T11:58:06Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2024-01-08T11:58:06Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2024-01-08T11:58:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:06Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:06Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:06Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules511038192/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules511038192/work/payloads/0000/tree" - time="2024-01-08T11:58:06Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" - time="2024-01-08T11:58:06Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:06Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:06Z" level=debug msg="Returning artifact name artifact-name from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.65s) + time="2024-01-08T12:26:55Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:26:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:55Z" level=debug msg="Handle update check state" + time="2024-01-08T12:26:55Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:26:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:55Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:26:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55792->[::1]:53: read: connection refused" + time="2024-01-08T12:26:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55792->[::1]:53: read: connection refused" + time="2024-01-08T12:26:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40839->[::1]:53: read: connection refused" + time="2024-01-08T12:26:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40839->[::1]:53: read: connection refused" + time="2024-01-08T12:26:55Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:26:55Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:26:55Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:26:55Z" level=debug msg="Handling update install state" + time="2024-01-08T12:26:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules149904145/device_type" + time="2024-01-08T12:26:55Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:26:55Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:26:55Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:26:55Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:26:55Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:26:55Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:26:55Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:26:55Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:26:55Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:26:55Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:26:55Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:26:55Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:26:55Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:26:55Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:26:55Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:26:55Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:26:55Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:26:55Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:26:55Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:26:55Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:26:55Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:26:55Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:26:55Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:26:55Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules149904145/artifact_info file." + time="2024-01-08T12:26:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules149904145/artifact_info" + time="2024-01-08T12:26:55Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:26:55Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:26:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules149904145/artifact_info" + time="2024-01-08T12:26:55Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:26:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules149904145/device_type" + time="2024-01-08T12:26:55Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:26:55Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:26:55Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:26:55Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:26:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules149904145/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules149904145/work/payloads/0000/tree" + time="2024-01-08T12:26:55Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:26:55Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:26:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules149904145/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules149904145/work/payloads/0000/tree" + time="2024-01-08T12:26:55Z" level=debug msg="Update module output: No" + time="2024-01-08T12:26:55Z" level=debug msg="Module does not support rollback" + time="2024-01-08T12:26:55Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:26:55Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:26:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:55Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:26:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49522->[::1]:53: read: connection refused" + time="2024-01-08T12:26:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49522->[::1]:53: read: connection refused" + time="2024-01-08T12:26:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38149->[::1]:53: read: connection refused" + time="2024-01-08T12:26:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38149->[::1]:53: read: connection refused" + time="2024-01-08T12:26:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:55Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:26:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52338->[::1]:53: read: connection refused" + time="2024-01-08T12:26:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52338->[::1]:53: read: connection refused" + time="2024-01-08T12:26:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41360->[::1]:53: read: connection refused" + time="2024-01-08T12:26:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41360->[::1]:53: read: connection refused" + time="2024-01-08T12:26:55Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:26:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules149904145/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules149904145/work/payloads/0000/tree" + time="2024-01-08T12:26:55Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:26:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules149904145/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules149904145/work/payloads/0000/tree" + time="2024-01-08T12:26:55Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:26:55Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:26:55Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:26:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:55Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:26:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38892->[::1]:53: read: connection refused" + time="2024-01-08T12:26:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38892->[::1]:53: read: connection refused" + time="2024-01-08T12:26:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51879->[::1]:53: read: connection refused" + time="2024-01-08T12:26:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51879->[::1]:53: read: connection refused" + time="2024-01-08T12:26:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:55Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:26:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38885->[::1]:53: read: connection refused" + time="2024-01-08T12:26:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38885->[::1]:53: read: connection refused" + time="2024-01-08T12:26:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46217->[::1]:53: read: connection refused" + time="2024-01-08T12:26:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46217->[::1]:53: read: connection refused" + time="2024-01-08T12:26:55Z" level=debug msg="Handling reboot state" + time="2024-01-08T12:26:55Z" level=info msg="Rebooting device(s)" + time="2024-01-08T12:26:55Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2024-01-08T12:26:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules149904145/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules149904145/work/payloads/0000/tree" + time="2024-01-08T12:26:55Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:26:55Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2024-01-08T12:26:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules149904145/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules149904145/work/payloads/0000/tree" + time="2024-01-08T12:26:55Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:26:55Z" level=debug msg="Handling state after reboot" + time="2024-01-08T12:26:55Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2024-01-08T12:26:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:55Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:26:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42999->[::1]:53: read: connection refused" + time="2024-01-08T12:26:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42999->[::1]:53: read: connection refused" + time="2024-01-08T12:26:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54229->[::1]:53: read: connection refused" + time="2024-01-08T12:26:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54229->[::1]:53: read: connection refused" + time="2024-01-08T12:26:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:55Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:26:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50456->[::1]:53: read: connection refused" + time="2024-01-08T12:26:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50456->[::1]:53: read: connection refused" + time="2024-01-08T12:26:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49788->[::1]:53: read: connection refused" + time="2024-01-08T12:26:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49788->[::1]:53: read: connection refused" + time="2024-01-08T12:26:55Z" level=debug msg="Handle update commit state" + time="2024-01-08T12:26:55Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2024-01-08T12:26:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules149904145/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules149904145/work/payloads/0000/tree" + time="2024-01-08T12:26:55Z" level=debug msg="Committing new artifact name: artifact-name" + time="2024-01-08T12:26:55Z" level=debug msg="Committing new artifact group name: " + time="2024-01-08T12:26:55Z" level=debug msg="Committing new artifact type-info provides" + time="2024-01-08T12:26:55Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2024-01-08T12:26:55Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2024-01-08T12:26:55Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2024-01-08T12:26:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:55Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:26:55Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:26:55Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:26:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules149904145/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules149904145/work/payloads/0000/tree" + time="2024-01-08T12:26:55Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" + time="2024-01-08T12:26:55Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:26:55Z" level=debug msg="Reporting complete" + time="2024-01-08T12:26:55Z" level=debug msg="Returning artifact name artifact-name from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.60s) PASS === RUN TestStateTransitionsWithUpdateModules/Normal_install state_test.go:4717: Normal install state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:06Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:06Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:06Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:06Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34489->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34489->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51877->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51877->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:06Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:06Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:06Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules561205913/device_type" - time="2024-01-08T11:58:06Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:06Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:06Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:06Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:06Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:06Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules561205913/artifact_info file." - time="2024-01-08T11:58:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules561205913/artifact_info" - time="2024-01-08T11:58:06Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:06Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules561205913/artifact_info" - time="2024-01-08T11:58:06Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules561205913/device_type" - time="2024-01-08T11:58:06Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:06Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:06Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:06Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules561205913/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules561205913/work/payloads/0000/tree" - time="2024-01-08T11:58:06Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:06Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules561205913/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules561205913/work/payloads/0000/tree" - time="2024-01-08T11:58:06Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:06Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:06Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:06Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:06Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33471->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33471->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51872->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51872->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:06Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33629->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33629->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39144->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39144->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules561205913/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules561205913/work/payloads/0000/tree" - time="2024-01-08T11:58:06Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules561205913/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules561205913/work/payloads/0000/tree" - time="2024-01-08T11:58:06Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:06Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:58:06Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:58:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:06Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59424->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59424->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34935->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34935->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:06Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58142->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58142->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41292->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41292->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=debug msg="Handling reboot state" - time="2024-01-08T11:58:06Z" level=info msg="Rebooting device(s)" - time="2024-01-08T11:58:06Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-08T11:58:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules561205913/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules561205913/work/payloads/0000/tree" - time="2024-01-08T11:58:06Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:06Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-08T11:58:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules561205913/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules561205913/work/payloads/0000/tree" - time="2024-01-08T11:58:06Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:06Z" level=debug msg="Handling state after reboot" - time="2024-01-08T11:58:06Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-08T11:58:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:06Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39415->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39415->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45521->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45521->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:06Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45766->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45766->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40137->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40137->[::1]:53: read: connection refused" - time="2024-01-08T11:58:06Z" level=debug msg="Handle update commit state" - time="2024-01-08T11:58:06Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2024-01-08T11:58:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules561205913/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules561205913/work/payloads/0000/tree" - time="2024-01-08T11:58:06Z" level=debug msg="Committing new artifact name: artifact-name" - time="2024-01-08T11:58:06Z" level=debug msg="Committing new artifact group name: " - time="2024-01-08T11:58:06Z" level=debug msg="Committing new artifact type-info provides" - time="2024-01-08T11:58:06Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2024-01-08T11:58:06Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2024-01-08T11:58:06Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2024-01-08T11:58:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:06Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:07Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:07Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules561205913/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules561205913/work/payloads/0000/tree" - time="2024-01-08T11:58:07Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" - time="2024-01-08T11:58:07Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:07Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:07Z" level=debug msg="Returning artifact name artifact-name from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.64s) + time="2024-01-08T12:26:55Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:26:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:55Z" level=debug msg="Handle update check state" + time="2024-01-08T12:26:55Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:26:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:55Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:26:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32909->[::1]:53: read: connection refused" + time="2024-01-08T12:26:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32909->[::1]:53: read: connection refused" + time="2024-01-08T12:26:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48405->[::1]:53: read: connection refused" + time="2024-01-08T12:26:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48405->[::1]:53: read: connection refused" + time="2024-01-08T12:26:55Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:26:55Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:26:55Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:26:55Z" level=debug msg="Handling update install state" + time="2024-01-08T12:26:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules202125262/device_type" + time="2024-01-08T12:26:55Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:26:55Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:26:55Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:26:55Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:26:55Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:26:55Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:26:56Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:26:56Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules202125262/artifact_info file." + time="2024-01-08T12:26:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules202125262/artifact_info" + time="2024-01-08T12:26:56Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:26:56Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:26:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules202125262/artifact_info" + time="2024-01-08T12:26:56Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:26:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules202125262/device_type" + time="2024-01-08T12:26:56Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:26:56Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:26:56Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:26:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules202125262/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules202125262/work/payloads/0000/tree" + time="2024-01-08T12:26:56Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:26:56Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:26:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules202125262/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules202125262/work/payloads/0000/tree" + time="2024-01-08T12:26:56Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:26:56Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:26:56Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:26:56Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:26:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:56Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:26:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56412->[::1]:53: read: connection refused" + time="2024-01-08T12:26:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56412->[::1]:53: read: connection refused" + time="2024-01-08T12:26:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58073->[::1]:53: read: connection refused" + time="2024-01-08T12:26:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58073->[::1]:53: read: connection refused" + time="2024-01-08T12:26:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:56Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:26:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44320->[::1]:53: read: connection refused" + time="2024-01-08T12:26:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44320->[::1]:53: read: connection refused" + time="2024-01-08T12:26:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57766->[::1]:53: read: connection refused" + time="2024-01-08T12:26:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57766->[::1]:53: read: connection refused" + time="2024-01-08T12:26:56Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:26:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules202125262/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules202125262/work/payloads/0000/tree" + time="2024-01-08T12:26:56Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:26:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules202125262/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules202125262/work/payloads/0000/tree" + time="2024-01-08T12:26:56Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:26:56Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:26:56Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:26:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:56Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:26:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42225->[::1]:53: read: connection refused" + time="2024-01-08T12:26:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42225->[::1]:53: read: connection refused" + time="2024-01-08T12:26:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42637->[::1]:53: read: connection refused" + time="2024-01-08T12:26:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42637->[::1]:53: read: connection refused" + time="2024-01-08T12:26:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:56Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:26:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55716->[::1]:53: read: connection refused" + time="2024-01-08T12:26:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55716->[::1]:53: read: connection refused" + time="2024-01-08T12:26:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57233->[::1]:53: read: connection refused" + time="2024-01-08T12:26:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57233->[::1]:53: read: connection refused" + time="2024-01-08T12:26:56Z" level=debug msg="Handling reboot state" + time="2024-01-08T12:26:56Z" level=info msg="Rebooting device(s)" + time="2024-01-08T12:26:56Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2024-01-08T12:26:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules202125262/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules202125262/work/payloads/0000/tree" + time="2024-01-08T12:26:56Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:26:56Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2024-01-08T12:26:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules202125262/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules202125262/work/payloads/0000/tree" + time="2024-01-08T12:26:56Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:26:56Z" level=debug msg="Handling state after reboot" + time="2024-01-08T12:26:56Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2024-01-08T12:26:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:56Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:26:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37653->[::1]:53: read: connection refused" + time="2024-01-08T12:26:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37653->[::1]:53: read: connection refused" + time="2024-01-08T12:26:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59366->[::1]:53: read: connection refused" + time="2024-01-08T12:26:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59366->[::1]:53: read: connection refused" + time="2024-01-08T12:26:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:56Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:26:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40659->[::1]:53: read: connection refused" + time="2024-01-08T12:26:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40659->[::1]:53: read: connection refused" + time="2024-01-08T12:26:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34237->[::1]:53: read: connection refused" + time="2024-01-08T12:26:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34237->[::1]:53: read: connection refused" + time="2024-01-08T12:26:56Z" level=debug msg="Handle update commit state" + time="2024-01-08T12:26:56Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2024-01-08T12:26:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules202125262/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules202125262/work/payloads/0000/tree" + time="2024-01-08T12:26:56Z" level=debug msg="Committing new artifact name: artifact-name" + time="2024-01-08T12:26:56Z" level=debug msg="Committing new artifact group name: " + time="2024-01-08T12:26:56Z" level=debug msg="Committing new artifact type-info provides" + time="2024-01-08T12:26:56Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2024-01-08T12:26:56Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2024-01-08T12:26:56Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2024-01-08T12:26:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:56Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:26:56Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:26:56Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:26:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules202125262/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules202125262/work/payloads/0000/tree" + time="2024-01-08T12:26:56Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" + time="2024-01-08T12:26:56Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:26:56Z" level=debug msg="Reporting complete" + time="2024-01-08T12:26:56Z" level=debug msg="Returning artifact name artifact-name from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.69s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_Download_state,_no_rollback state_test.go:4717: Error in Download state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:07Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:07Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:07Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:07Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53715->[::1]:53: read: connection refused" - time="2024-01-08T11:58:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53715->[::1]:53: read: connection refused" - time="2024-01-08T11:58:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54942->[::1]:53: read: connection refused" - time="2024-01-08T11:58:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54942->[::1]:53: read: connection refused" - time="2024-01-08T11:58:07Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:07Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:07Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:07Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules187157494/device_type" - time="2024-01-08T11:58:07Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:07Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:07Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:07Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:07Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:07Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules187157494/artifact_info file." - time="2024-01-08T11:58:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules187157494/artifact_info" - time="2024-01-08T11:58:07Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:07Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules187157494/artifact_info" - time="2024-01-08T11:58:07Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules187157494/device_type" - time="2024-01-08T11:58:07Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:07Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:07Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:07Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules187157494/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules187157494/work/payloads/0000/tree" - time="2024-01-08T11:58:07Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:07Z" level=error msg="Artifact install failed: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:07Z" level=info msg="State transition: update-store [Download_Enter] -> cleanup [Error]" - time="2024-01-08T11:58:07Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:07Z" level=debug msg="Executing script: Download_Error_00" - time="2024-01-08T11:58:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:07Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:07Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules187157494/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules187157494/work/payloads/0000/tree" - time="2024-01-08T11:58:07Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:07Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:07Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:07Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:07Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules187157494/artifact_info file." - time="2024-01-08T11:58:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules187157494/artifact_info" - time="2024-01-08T11:58:07Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:07Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.32s) + time="2024-01-08T12:26:56Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:26:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:56Z" level=debug msg="Handle update check state" + time="2024-01-08T12:26:56Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:26:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:56Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:26:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33996->[::1]:53: read: connection refused" + time="2024-01-08T12:26:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33996->[::1]:53: read: connection refused" + time="2024-01-08T12:26:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47067->[::1]:53: read: connection refused" + time="2024-01-08T12:26:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47067->[::1]:53: read: connection refused" + time="2024-01-08T12:26:56Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:26:56Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:26:56Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:26:56Z" level=debug msg="Handling update install state" + time="2024-01-08T12:26:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules510598607/device_type" + time="2024-01-08T12:26:56Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:26:56Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:26:56Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:26:56Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:26:56Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:26:56Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules510598607/artifact_info file." + time="2024-01-08T12:26:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules510598607/artifact_info" + time="2024-01-08T12:26:56Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:26:56Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:26:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules510598607/artifact_info" + time="2024-01-08T12:26:56Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:26:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules510598607/device_type" + time="2024-01-08T12:26:56Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:26:56Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:26:56Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:26:57Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:26:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules510598607/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules510598607/work/payloads/0000/tree" + time="2024-01-08T12:26:57Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:26:57Z" level=error msg="Artifact install failed: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:26:57Z" level=info msg="State transition: update-store [Download_Enter] -> cleanup [Error]" + time="2024-01-08T12:26:57Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:26:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:57Z" level=debug msg="Executing script: Download_Error_00" + time="2024-01-08T12:26:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:57Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:26:57Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:26:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules510598607/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules510598607/work/payloads/0000/tree" + time="2024-01-08T12:26:57Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:26:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:57Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:26:57Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:26:57Z" level=debug msg="Reporting complete" + time="2024-01-08T12:26:57Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules510598607/artifact_info file." + time="2024-01-08T12:26:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules510598607/artifact_info" + time="2024-01-08T12:26:57Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:26:57Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.44s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_Download_state,_no_rollback state_test.go:4717: Killed in Download state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:07Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:07Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:07Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:07Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39030->[::1]:53: read: connection refused" - time="2024-01-08T11:58:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39030->[::1]:53: read: connection refused" - time="2024-01-08T11:58:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60957->[::1]:53: read: connection refused" - time="2024-01-08T11:58:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60957->[::1]:53: read: connection refused" - time="2024-01-08T11:58:07Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:07Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:07Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:07Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules282740503/device_type" - time="2024-01-08T11:58:07Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:07Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:07Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:07Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:08Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:08Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules282740503/artifact_info file." - time="2024-01-08T11:58:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules282740503/artifact_info" - time="2024-01-08T11:58:08Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:08Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules282740503/artifact_info" - time="2024-01-08T11:58:08Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules282740503/device_type" - time="2024-01-08T11:58:08Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:08Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:08Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:08Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules282740503/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules282740503/work/payloads/0000/tree" - time="2024-01-08T11:58:08Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:26:57Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:26:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:57Z" level=debug msg="Handle update check state" + time="2024-01-08T12:26:57Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:26:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:57Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:26:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36650->[::1]:53: read: connection refused" + time="2024-01-08T12:26:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36650->[::1]:53: read: connection refused" + time="2024-01-08T12:26:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40535->[::1]:53: read: connection refused" + time="2024-01-08T12:26:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40535->[::1]:53: read: connection refused" + time="2024-01-08T12:26:57Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:26:57Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:26:57Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:26:57Z" level=debug msg="Handling update install state" + time="2024-01-08T12:26:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules769263716/device_type" + time="2024-01-08T12:26:57Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:26:57Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:26:57Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:26:57Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:26:57Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:26:57Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:26:57Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:26:57Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:26:57Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:26:57Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:26:57Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:26:57Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:26:57Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:26:57Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:26:57Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:26:57Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:26:57Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:26:57Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:26:57Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:26:57Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:26:57Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:26:57Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:26:57Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:26:57Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules769263716/artifact_info file." + time="2024-01-08T12:26:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules769263716/artifact_info" + time="2024-01-08T12:26:57Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:26:57Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:26:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules769263716/artifact_info" + time="2024-01-08T12:26:57Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:26:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules769263716/device_type" + time="2024-01-08T12:26:57Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:26:57Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:26:57Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:26:57Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:26:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules769263716/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules769263716/work/payloads/0000/tree" + time="2024-01-08T12:26:57Z" 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="2024-01-08T11:58:09Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:58:09Z" level=info msg="Handling loaded state: update-store" - time="2024-01-08T11:58:09Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:09Z" level=error msg="Mender shut down in state: update-store" - time="2024-01-08T11:58:09Z" level=info msg="State transition: init [none] -> cleanup [Error]" - time="2024-01-08T11:58:09Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:09Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:09Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules282740503/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules282740503/work/payloads/0000/tree" - time="2024-01-08T11:58:09Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:09Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:09Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:09Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:09Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules282740503/artifact_info file." - time="2024-01-08T11:58:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules282740503/artifact_info" - time="2024-01-08T11:58:09Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:09Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.04s) + time="2024-01-08T12:26:57Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:26:57Z" level=info msg="Handling loaded state: update-store" + time="2024-01-08T12:26:57Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:26:57Z" level=error msg="Mender shut down in state: update-store" + time="2024-01-08T12:26:57Z" level=info msg="State transition: init [none] -> cleanup [Error]" + time="2024-01-08T12:26:57Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:26:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:57Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:26:57Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:26:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules769263716/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules769263716/work/payloads/0000/tree" + time="2024-01-08T12:26:57Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:26:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:57Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:26:57Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:26:57Z" level=debug msg="Reporting complete" + time="2024-01-08T12:26:57Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules769263716/artifact_info file." + time="2024-01-08T12:26:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules769263716/artifact_info" + time="2024-01-08T12:26:57Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:26:57Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.03s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_state,_no_rollback state_test.go:4717: Error in ArtifactInstall state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:09Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:09Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:09Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:09Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41019->[::1]:53: read: connection refused" - time="2024-01-08T11:58:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41019->[::1]:53: read: connection refused" - time="2024-01-08T11:58:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57450->[::1]:53: read: connection refused" - time="2024-01-08T11:58:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57450->[::1]:53: read: connection refused" - time="2024-01-08T11:58:09Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:09Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:09Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:09Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules559219532/device_type" - time="2024-01-08T11:58:09Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:09Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:09Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:09Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:10Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:10Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules559219532/artifact_info file." - time="2024-01-08T11:58:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules559219532/artifact_info" - time="2024-01-08T11:58:10Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:10Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules559219532/artifact_info" - time="2024-01-08T11:58:10Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules559219532/device_type" - time="2024-01-08T11:58:10Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:10Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:10Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:10Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules559219532/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules559219532/work/payloads/0000/tree" - time="2024-01-08T11:58:10Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:10Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules559219532/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules559219532/work/payloads/0000/tree" - time="2024-01-08T11:58:10Z" level=debug msg="Update module output: No" - time="2024-01-08T11:58:10Z" level=debug msg="Module does not support rollback" - time="2024-01-08T11:58:10Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:10Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:10Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41893->[::1]:53: read: connection refused" - time="2024-01-08T11:58:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41893->[::1]:53: read: connection refused" - time="2024-01-08T11:58:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52075->[::1]:53: read: connection refused" - time="2024-01-08T11:58:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52075->[::1]:53: read: connection refused" - time="2024-01-08T11:58:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:10Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57017->[::1]:53: read: connection refused" - time="2024-01-08T11:58:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57017->[::1]:53: read: connection refused" - time="2024-01-08T11:58:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60067->[::1]:53: read: connection refused" - time="2024-01-08T11:58:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60067->[::1]:53: read: connection refused" - time="2024-01-08T11:58:10Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules559219532/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules559219532/work/payloads/0000/tree" - time="2024-01-08T11:58:10Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:10Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:10Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2024-01-08T11:58:10Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:10Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:10Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35967->[::1]:53: read: connection refused" - time="2024-01-08T11:58:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35967->[::1]:53: read: connection refused" - time="2024-01-08T11:58:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60324->[::1]:53: read: connection refused" - time="2024-01-08T11:58:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60324->[::1]:53: read: connection refused" - time="2024-01-08T11:58:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:10Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52598->[::1]:53: read: connection refused" - time="2024-01-08T11:58:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52598->[::1]:53: read: connection refused" - time="2024-01-08T11:58:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54125->[::1]:53: read: connection refused" - time="2024-01-08T11:58:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54125->[::1]:53: read: connection refused" - time="2024-01-08T11:58:10Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:10Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules559219532/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules559219532/work/payloads/0000/tree" - time="2024-01-08T11:58:10Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:10Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:10Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:10Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules559219532/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules559219532/work/payloads/0000/tree" - time="2024-01-08T11:58:10Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:10Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:10Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:10Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:10Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (1.52s) + time="2024-01-08T12:26:58Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:26:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:58Z" level=debug msg="Handle update check state" + time="2024-01-08T12:26:58Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:26:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:58Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:26:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58279->[::1]:53: read: connection refused" + time="2024-01-08T12:26:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58279->[::1]:53: read: connection refused" + time="2024-01-08T12:26:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36166->[::1]:53: read: connection refused" + time="2024-01-08T12:26:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36166->[::1]:53: read: connection refused" + time="2024-01-08T12:26:58Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:26:58Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:26:58Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:26:58Z" level=debug msg="Handling update install state" + time="2024-01-08T12:26:58Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules414062877/device_type" + time="2024-01-08T12:26:58Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:26:58Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:26:58Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:26:58Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:26:58Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:26:58Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:26:58Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:26:58Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:26:58Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:26:58Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:26:58Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:26:58Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:26:58Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:26:58Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:26:58Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:26:58Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:26:58Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:26:58Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:26:58Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:26:58Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:26:58Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:26:58Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:26:58Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:26:58Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules414062877/artifact_info file." + time="2024-01-08T12:26:58Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules414062877/artifact_info" + time="2024-01-08T12:26:58Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:26:58Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:26:58Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules414062877/artifact_info" + time="2024-01-08T12:26:58Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:26:58Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules414062877/device_type" + time="2024-01-08T12:26:58Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:26:58Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:26:58Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:26:58Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:26:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules414062877/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules414062877/work/payloads/0000/tree" + time="2024-01-08T12:26:58Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:26:58Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:26:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules414062877/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules414062877/work/payloads/0000/tree" + time="2024-01-08T12:26:58Z" level=debug msg="Update module output: No" + time="2024-01-08T12:26:58Z" level=debug msg="Module does not support rollback" + time="2024-01-08T12:26:58Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:26:58Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:26:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:58Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:26:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43698->[::1]:53: read: connection refused" + time="2024-01-08T12:26:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43698->[::1]:53: read: connection refused" + time="2024-01-08T12:26:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36868->[::1]:53: read: connection refused" + time="2024-01-08T12:26:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36868->[::1]:53: read: connection refused" + time="2024-01-08T12:26:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:58Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:26:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49426->[::1]:53: read: connection refused" + time="2024-01-08T12:26:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49426->[::1]:53: read: connection refused" + time="2024-01-08T12:26:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60952->[::1]:53: read: connection refused" + time="2024-01-08T12:26:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60952->[::1]:53: read: connection refused" + time="2024-01-08T12:26:58Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:26:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules414062877/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules414062877/work/payloads/0000/tree" + time="2024-01-08T12:26:58Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:26:58Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:26:58Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2024-01-08T12:26:58Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" + time="2024-01-08T12:26:58Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:26:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:58Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2024-01-08T12:26:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55094->[::1]:53: read: connection refused" + time="2024-01-08T12:26:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55094->[::1]:53: read: connection refused" + time="2024-01-08T12:26:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39087->[::1]:53: read: connection refused" + time="2024-01-08T12:26:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39087->[::1]:53: read: connection refused" + time="2024-01-08T12:26:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:58Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:26:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34628->[::1]:53: read: connection refused" + time="2024-01-08T12:26:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34628->[::1]:53: read: connection refused" + time="2024-01-08T12:26:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51872->[::1]:53: read: connection refused" + time="2024-01-08T12:26:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51872->[::1]:53: read: connection refused" + time="2024-01-08T12:26:58Z" level=debug msg="Handle update error state" + time="2024-01-08T12:26:58Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:26:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules414062877/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules414062877/work/payloads/0000/tree" + time="2024-01-08T12:26:58Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:26:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:58Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:26:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:58Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:26:58Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:26:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules414062877/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules414062877/work/payloads/0000/tree" + time="2024-01-08T12:26:58Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:26:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:58Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:26:58Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:26:58Z" level=debug msg="Reporting complete" + time="2024-01-08T12:26:58Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.66s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_state,_no_rollback state_test.go:4717: Killed in ArtifactInstall state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:10Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:10Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:10Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:10Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53988->[::1]:53: read: connection refused" - time="2024-01-08T11:58:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53988->[::1]:53: read: connection refused" - time="2024-01-08T11:58:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50382->[::1]:53: read: connection refused" - time="2024-01-08T11:58:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50382->[::1]:53: read: connection refused" - time="2024-01-08T11:58:10Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:10Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:11Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:11Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules946652709/device_type" - time="2024-01-08T11:58:11Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:11Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:11Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:11Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:11Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:11Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules946652709/artifact_info file." - time="2024-01-08T11:58:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules946652709/artifact_info" - time="2024-01-08T11:58:11Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:11Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules946652709/artifact_info" - time="2024-01-08T11:58:11Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules946652709/device_type" - time="2024-01-08T11:58:11Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:11Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:11Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules946652709/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules946652709/work/payloads/0000/tree" - time="2024-01-08T11:58:11Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:11Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules946652709/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules946652709/work/payloads/0000/tree" - time="2024-01-08T11:58:11Z" level=debug msg="Update module output: No" - time="2024-01-08T11:58:11Z" level=debug msg="Module does not support rollback" - time="2024-01-08T11:58:11Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:11Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:11Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51253->[::1]:53: read: connection refused" - time="2024-01-08T11:58:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51253->[::1]:53: read: connection refused" - time="2024-01-08T11:58:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38590->[::1]:53: read: connection refused" - time="2024-01-08T11:58:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38590->[::1]:53: read: connection refused" - time="2024-01-08T11:58:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:11Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52755->[::1]:53: read: connection refused" - time="2024-01-08T11:58:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52755->[::1]:53: read: connection refused" - time="2024-01-08T11:58:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56547->[::1]:53: read: connection refused" - time="2024-01-08T11:58:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56547->[::1]:53: read: connection refused" - time="2024-01-08T11:58:11Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules946652709/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules946652709/work/payloads/0000/tree" + time="2024-01-08T12:26:58Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:26:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:58Z" level=debug msg="Handle update check state" + time="2024-01-08T12:26:58Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:26:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:58Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:26:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45725->[::1]:53: read: connection refused" + time="2024-01-08T12:26:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45725->[::1]:53: read: connection refused" + time="2024-01-08T12:26:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33950->[::1]:53: read: connection refused" + time="2024-01-08T12:26:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33950->[::1]:53: read: connection refused" + time="2024-01-08T12:26:58Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:26:58Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:26:58Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:26:58Z" level=debug msg="Handling update install state" + time="2024-01-08T12:26:58Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules250168522/device_type" + time="2024-01-08T12:26:58Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:26:58Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:26:58Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:26:58Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:26:58Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:26:58Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:26:58Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:26:58Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:26:58Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:26:58Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:26:58Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:26:58Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:26:58Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:26:59Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:26:59Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:26:59Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:26:59Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:26:59Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:26:59Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:26:59Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:26:59Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:26:59Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:26:59Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:26:59Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules250168522/artifact_info file." + time="2024-01-08T12:26:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules250168522/artifact_info" + time="2024-01-08T12:26:59Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:26:59Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:26:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules250168522/artifact_info" + time="2024-01-08T12:26:59Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:26:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules250168522/device_type" + time="2024-01-08T12:26:59Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:26:59Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:26:59Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:26:59Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:26:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules250168522/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules250168522/work/payloads/0000/tree" + time="2024-01-08T12:26:59Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:26:59Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:26:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules250168522/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules250168522/work/payloads/0000/tree" + time="2024-01-08T12:26:59Z" level=debug msg="Update module output: No" + time="2024-01-08T12:26:59Z" level=debug msg="Module does not support rollback" + time="2024-01-08T12:26:59Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:26:59Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:26:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:59Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:26:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37069->[::1]:53: read: connection refused" + time="2024-01-08T12:26:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37069->[::1]:53: read: connection refused" + time="2024-01-08T12:26:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50130->[::1]:53: read: connection refused" + time="2024-01-08T12:26:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50130->[::1]:53: read: connection refused" + time="2024-01-08T12:26:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:59Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:26:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51350->[::1]:53: read: connection refused" + time="2024-01-08T12:26:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51350->[::1]:53: read: connection refused" + time="2024-01-08T12:26:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39510->[::1]:53: read: connection refused" + time="2024-01-08T12:26:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39510->[::1]:53: read: connection refused" + time="2024-01-08T12:26:59Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:26:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules250168522/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules250168522/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 4 (*app.updateErrorState) - time="2024-01-08T11:58:11Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:58:11Z" level=info msg="Handling loaded state: update-install" - time="2024-01-08T11:58:11Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:11Z" level=error msg="Mender shut down in state: update-install" - time="2024-01-08T11:58:11Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2024-01-08T11:58:11Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:11Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:11Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50368->[::1]:53: read: connection refused" - time="2024-01-08T11:58:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50368->[::1]:53: read: connection refused" - time="2024-01-08T11:58:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46934->[::1]:53: read: connection refused" - time="2024-01-08T11:58:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46934->[::1]:53: read: connection refused" - time="2024-01-08T11:58:11Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:11Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules946652709/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules946652709/work/payloads/0000/tree" - time="2024-01-08T11:58:11Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:11Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:11Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:11Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules946652709/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules946652709/work/payloads/0000/tree" - time="2024-01-08T11:58:11Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:11Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:11Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:11Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:11Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.11s) + time="2024-01-08T12:26:59Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:26:59Z" level=info msg="Handling loaded state: update-install" + time="2024-01-08T12:26:59Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:26:59Z" level=error msg="Mender shut down in state: update-install" + time="2024-01-08T12:26:59Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2024-01-08T12:26:59Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2024-01-08T12:26:59Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:26:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:59Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:26:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37306->[::1]:53: read: connection refused" + time="2024-01-08T12:26:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37306->[::1]:53: read: connection refused" + time="2024-01-08T12:26:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58137->[::1]:53: read: connection refused" + time="2024-01-08T12:26:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58137->[::1]:53: read: connection refused" + time="2024-01-08T12:26:59Z" level=debug msg="Handle update error state" + time="2024-01-08T12:26:59Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:26:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules250168522/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules250168522/work/payloads/0000/tree" + time="2024-01-08T12:26:59Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:26:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:59Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:26:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:59Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:26:59Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:26:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules250168522/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules250168522/work/payloads/0000/tree" + time="2024-01-08T12:26:59Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:26:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:59Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:26:59Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:26:59Z" level=debug msg="Reporting complete" + time="2024-01-08T12:26:59Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.13s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall state_test.go:4717: Error in ArtifactInstall state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:11Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:11Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:11Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:11Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39473->[::1]:53: read: connection refused" - time="2024-01-08T11:58:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39473->[::1]:53: read: connection refused" - time="2024-01-08T11:58:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32933->[::1]:53: read: connection refused" - time="2024-01-08T11:58:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32933->[::1]:53: read: connection refused" - time="2024-01-08T11:58:11Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:11Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:11Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:11Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules190991986/device_type" - time="2024-01-08T11:58:11Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:11Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:11Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:11Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:11Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:11Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules190991986/artifact_info file." - time="2024-01-08T11:58:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules190991986/artifact_info" - time="2024-01-08T11:58:11Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:11Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules190991986/artifact_info" - time="2024-01-08T11:58:11Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules190991986/device_type" - time="2024-01-08T11:58:11Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:11Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:11Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:11Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules190991986/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules190991986/work/payloads/0000/tree" - time="2024-01-08T11:58:11Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:11Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules190991986/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules190991986/work/payloads/0000/tree" - time="2024-01-08T11:58:11Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:11Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:11Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:11Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:11Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34279->[::1]:53: read: connection refused" - time="2024-01-08T11:58:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34279->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49302->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49302->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:12Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52234->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52234->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37891->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37891->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules190991986/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules190991986/work/payloads/0000/tree" - time="2024-01-08T11:58:12Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:12Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:12Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:12Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:12Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35200->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35200->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35766->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35766->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:12Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57720->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57720->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53348->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53348->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:12Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules190991986/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules190991986/work/payloads/0000/tree" - time="2024-01-08T11:58:12Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:12Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48703->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48703->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49827->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49827->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:12Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36455->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36455->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42063->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42063->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:12Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules190991986/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules190991986/work/payloads/0000/tree" - time="2024-01-08T11:58:12Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:12Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:12Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:12Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules190991986/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules190991986/work/payloads/0000/tree" - time="2024-01-08T11:58:12Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:12Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:12Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:12Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:12Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules190991986/artifact_info file." - time="2024-01-08T11:58:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules190991986/artifact_info" - time="2024-01-08T11:58:12Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:12Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.56s) + time="2024-01-08T12:26:59Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:26:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:59Z" level=debug msg="Handle update check state" + time="2024-01-08T12:26:59Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:26:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:59Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:26:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38802->[::1]:53: read: connection refused" + time="2024-01-08T12:26:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38802->[::1]:53: read: connection refused" + time="2024-01-08T12:26:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56196->[::1]:53: read: connection refused" + time="2024-01-08T12:26:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56196->[::1]:53: read: connection refused" + time="2024-01-08T12:26:59Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:26:59Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:26:59Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:26:59Z" level=debug msg="Handling update install state" + time="2024-01-08T12:26:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules882153595/device_type" + time="2024-01-08T12:26:59Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:26:59Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:26:59Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:26:59Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:26:59Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:26:59Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:26:59Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:26:59Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:26:59Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:26:59Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:26:59Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:26:59Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:26:59Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:26:59Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:26:59Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:26:59Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:26:59Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:26:59Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:26:59Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:26:59Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:26:59Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:26:59Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:26:59Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:26:59Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules882153595/artifact_info file." + time="2024-01-08T12:26:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules882153595/artifact_info" + time="2024-01-08T12:26:59Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:26:59Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:26:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules882153595/artifact_info" + time="2024-01-08T12:26:59Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:26:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules882153595/device_type" + time="2024-01-08T12:26:59Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:26:59Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:26:59Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:26:59Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:26:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules882153595/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules882153595/work/payloads/0000/tree" + time="2024-01-08T12:26:59Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:26:59Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:26:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules882153595/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules882153595/work/payloads/0000/tree" + time="2024-01-08T12:26:59Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:26:59Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:26:59Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:26:59Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:26:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:59Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:26:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56074->[::1]:53: read: connection refused" + time="2024-01-08T12:26:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56074->[::1]:53: read: connection refused" + time="2024-01-08T12:26:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34961->[::1]:53: read: connection refused" + time="2024-01-08T12:26:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34961->[::1]:53: read: connection refused" + time="2024-01-08T12:26:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:26:59Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42630->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42630->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40532->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40532->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules882153595/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules882153595/work/payloads/0000/tree" + time="2024-01-08T12:27:00Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:00Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:00Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:00Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:00Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41857->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41857->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53558->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53558->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:00Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40966->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40966->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36855->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36855->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:00Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules882153595/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules882153595/work/payloads/0000/tree" + time="2024-01-08T12:27:00Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:00Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42687->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42687->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57760->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57760->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:00Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33990->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33990->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54260->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54260->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:00Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules882153595/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules882153595/work/payloads/0000/tree" + time="2024-01-08T12:27:00Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:00Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:00Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:00Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules882153595/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules882153595/work/payloads/0000/tree" + time="2024-01-08T12:27:00Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:00Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:00Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:00Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:00Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules882153595/artifact_info file." + time="2024-01-08T12:27:00Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules882153595/artifact_info" + time="2024-01-08T12:27:00Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:00Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.66s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall state_test.go:4717: Killed in ArtifactInstall state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:12Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:12Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:12Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:12Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47458->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47458->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35775->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35775->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:12Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:12Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:12Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules509706051/device_type" - time="2024-01-08T11:58:12Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:12Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:12Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:12Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:12Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:12Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules509706051/artifact_info file." - time="2024-01-08T11:58:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules509706051/artifact_info" - time="2024-01-08T11:58:12Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:12Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules509706051/artifact_info" - time="2024-01-08T11:58:12Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules509706051/device_type" - time="2024-01-08T11:58:12Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:12Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:12Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:12Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules509706051/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules509706051/work/payloads/0000/tree" - time="2024-01-08T11:58:12Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:12Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules509706051/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules509706051/work/payloads/0000/tree" - time="2024-01-08T11:58:12Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:12Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:12Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:12Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:12Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43035->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43035->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51667->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51667->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:12Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58761->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58761->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58128->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58128->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules509706051/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules509706051/work/payloads/0000/tree" + time="2024-01-08T12:27:00Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:00Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:00Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:00Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55401->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55401->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52531->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52531->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:00Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:00Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:00Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:00Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules018027648/device_type" + time="2024-01-08T12:27:00Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:00Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:00Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:00Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:00Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:00Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:00Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:00Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:00Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:00Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:00Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:00Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:00Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:00Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:00Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:00Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:00Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:00Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:00Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:00Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:00Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:00Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:00Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:00Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules018027648/artifact_info file." + time="2024-01-08T12:27:00Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules018027648/artifact_info" + time="2024-01-08T12:27:00Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:00Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:00Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules018027648/artifact_info" + time="2024-01-08T12:27:00Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:00Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules018027648/device_type" + time="2024-01-08T12:27:00Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:00Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:00Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:00Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules018027648/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules018027648/work/payloads/0000/tree" + time="2024-01-08T12:27:00Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:00Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules018027648/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules018027648/work/payloads/0000/tree" + time="2024-01-08T12:27:00Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:00Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:00Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:00Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:00Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50186->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50186->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35072->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35072->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:00Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52173->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52173->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34536->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34536->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules018027648/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules018027648/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 4 (*app.updateRollbackState) - time="2024-01-08T11:58:12Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:58:12Z" level=info msg="Handling loaded state: update-install" - time="2024-01-08T11:58:12Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:12Z" level=error msg="Mender shut down in state: update-install" - time="2024-01-08T11:58:12Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:12Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:12Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39881->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39881->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60359->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60359->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:12Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules509706051/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules509706051/work/payloads/0000/tree" - time="2024-01-08T11:58:12Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:12Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38363->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38363->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37783->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37783->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:12Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45321->[::1]:53: read: connection refused" - time="2024-01-08T11:58:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45321->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43662->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43662->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:13Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules509706051/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules509706051/work/payloads/0000/tree" - time="2024-01-08T11:58:13Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:13Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:13Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:13Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules509706051/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules509706051/work/payloads/0000/tree" - time="2024-01-08T11:58:13Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:13Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:13Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:13Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:13Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules509706051/artifact_info file." - time="2024-01-08T11:58:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules509706051/artifact_info" - time="2024-01-08T11:58:13Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:13Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.19s) + time="2024-01-08T12:27:00Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:27:00Z" level=info msg="Handling loaded state: update-install" + time="2024-01-08T12:27:00Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:00Z" level=error msg="Mender shut down in state: update-install" + time="2024-01-08T12:27:00Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:00Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:00Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59788->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59788->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35059->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35059->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:00Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules018027648/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules018027648/work/payloads/0000/tree" + time="2024-01-08T12:27:00Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:00Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60159->[::1]:53: read: connection refused" + time="2024-01-08T12:27:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60159->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46869->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46869->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:01Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37747->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37747->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36051->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36051->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:01Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules018027648/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules018027648/work/payloads/0000/tree" + time="2024-01-08T12:27:01Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:01Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:01Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:01Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules018027648/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules018027648/work/payloads/0000/tree" + time="2024-01-08T12:27:01Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:01Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:01Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:01Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:01Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules018027648/artifact_info file." + time="2024-01-08T12:27:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules018027648/artifact_info" + time="2024-01-08T12:27:01Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:01Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.15s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot state_test.go:4717: Error in ArtifactReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:13Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:13Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:13Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:13Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45393->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45393->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42665->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42665->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:13Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:13Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:13Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules345426664/device_type" - time="2024-01-08T11:58:13Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:13Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:13Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:13Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:13Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:13Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules345426664/artifact_info file." - time="2024-01-08T11:58:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules345426664/artifact_info" - time="2024-01-08T11:58:13Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:13Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules345426664/artifact_info" - time="2024-01-08T11:58:13Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules345426664/device_type" - time="2024-01-08T11:58:13Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:13Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:13Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:13Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules345426664/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules345426664/work/payloads/0000/tree" - time="2024-01-08T11:58:13Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:13Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules345426664/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules345426664/work/payloads/0000/tree" - time="2024-01-08T11:58:13Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:13Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:13Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:13Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:13Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56437->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56437->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60655->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60655->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:13Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46391->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46391->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46272->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46272->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules345426664/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules345426664/work/payloads/0000/tree" - time="2024-01-08T11:58:13Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules345426664/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules345426664/work/payloads/0000/tree" - time="2024-01-08T11:58:13Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:13Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:58:13Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:58:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:13Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55454->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55454->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53465->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53465->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:13Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54321->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54321->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34511->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34511->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=debug msg="Handling reboot state" - time="2024-01-08T11:58:13Z" level=info msg="Rebooting device(s)" - time="2024-01-08T11:58:13Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-08T11:58:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules345426664/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules345426664/work/payloads/0000/tree" - time="2024-01-08T11:58:13Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:13Z" level=error msg="Error rebooting device: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:13Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:13Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:13Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46574->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46574->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41195->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41195->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:13Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35963->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35963->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58243->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58243->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:13Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules345426664/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules345426664/work/payloads/0000/tree" - time="2024-01-08T11:58:13Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-08T11:58:13Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:58:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:13Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60560->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60560->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51945->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51945->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:13Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41457->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41457->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38941->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38941->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:58:13Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:58:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules345426664/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules345426664/work/payloads/0000/tree" - time="2024-01-08T11:58:13Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:13Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:58:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules345426664/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules345426664/work/payloads/0000/tree" - time="2024-01-08T11:58:13Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:13Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-08T11:58:13Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:13Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60101->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60101->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48168->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48168->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:13Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45090->[::1]:53: read: connection refused" - time="2024-01-08T11:58:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45090->[::1]:53: read: connection refused" - time="2024-01-08T11:58:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42758->[::1]:53: read: connection refused" - time="2024-01-08T11:58:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42758->[::1]:53: read: connection refused" - time="2024-01-08T11:58:14Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:14Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules345426664/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules345426664/work/payloads/0000/tree" - time="2024-01-08T11:58:14Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:14Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:14Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:14Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules345426664/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules345426664/work/payloads/0000/tree" - time="2024-01-08T11:58:14Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:14Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:14Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:14Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:14Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules345426664/artifact_info file." - time="2024-01-08T11:58:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules345426664/artifact_info" - time="2024-01-08T11:58:14Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:14Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.81s) + time="2024-01-08T12:27:01Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:01Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:01Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:01Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48272->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48272->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36737->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36737->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:01Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:01Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:01Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules925632873/device_type" + time="2024-01-08T12:27:01Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:01Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:01Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:01Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:01Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:01Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:01Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:01Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:01Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:01Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:01Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:01Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:01Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:01Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:01Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:01Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:01Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:01Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:01Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:01Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:01Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:01Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:01Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:01Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules925632873/artifact_info file." + time="2024-01-08T12:27:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules925632873/artifact_info" + time="2024-01-08T12:27:01Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:01Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules925632873/artifact_info" + time="2024-01-08T12:27:01Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules925632873/device_type" + time="2024-01-08T12:27:01Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:01Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:01Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:01Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules925632873/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules925632873/work/payloads/0000/tree" + time="2024-01-08T12:27:01Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:01Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules925632873/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules925632873/work/payloads/0000/tree" + time="2024-01-08T12:27:01Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:01Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:01Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:01Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:01Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52199->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52199->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35911->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35911->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:01Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48325->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48325->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60533->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60533->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules925632873/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules925632873/work/payloads/0000/tree" + time="2024-01-08T12:27:01Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules925632873/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules925632873/work/payloads/0000/tree" + time="2024-01-08T12:27:01Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:01Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:01Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:01Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54555->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54555->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50009->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50009->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:01Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55946->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55946->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38042->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38042->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=debug msg="Handling reboot state" + time="2024-01-08T12:27:01Z" level=info msg="Rebooting device(s)" + time="2024-01-08T12:27:01Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2024-01-08T12:27:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules925632873/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules925632873/work/payloads/0000/tree" + time="2024-01-08T12:27:01Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:01Z" level=error msg="Error rebooting device: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:01Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:01Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:01Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47104->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47104->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58285->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58285->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:01Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43743->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43743->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41334->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41334->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:01Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules925632873/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules925632873/work/payloads/0000/tree" + time="2024-01-08T12:27:01Z" level=debug msg="Will try to rollback reboot the device" + time="2024-01-08T12:27:01Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:01Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60874->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60874->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56801->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56801->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:01Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57680->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57680->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44579->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44579->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:01Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules925632873/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules925632873/work/payloads/0000/tree" + time="2024-01-08T12:27:01Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:01Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules925632873/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules925632873/work/payloads/0000/tree" + time="2024-01-08T12:27:01Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:01Z" level=debug msg="Handling state after rollback reboot" + time="2024-01-08T12:27:01Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:01Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36537->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36537->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36928->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36928->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:01Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59070->[::1]:53: read: connection refused" + time="2024-01-08T12:27:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59070->[::1]:53: read: connection refused" + time="2024-01-08T12:27:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51242->[::1]:53: read: connection refused" + time="2024-01-08T12:27:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51242->[::1]:53: read: connection refused" + time="2024-01-08T12:27:02Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:02Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules925632873/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules925632873/work/payloads/0000/tree" + time="2024-01-08T12:27:02Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:02Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:02Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:02Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules925632873/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules925632873/work/payloads/0000/tree" + time="2024-01-08T12:27:02Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:02Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:02Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:02Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:02Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules925632873/artifact_info file." + time="2024-01-08T12:27:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules925632873/artifact_info" + time="2024-01-08T12:27:02Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:02Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.85s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot state_test.go:4717: Killed in ArtifactReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:14Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:14Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:14Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:14Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57893->[::1]:53: read: connection refused" - time="2024-01-08T11:58:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57893->[::1]:53: read: connection refused" - time="2024-01-08T11:58:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40746->[::1]:53: read: connection refused" - time="2024-01-08T11:58:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40746->[::1]:53: read: connection refused" - time="2024-01-08T11:58:14Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:14Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:14Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:14Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules631644145/device_type" - time="2024-01-08T11:58:14Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:14Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:14Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:14Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:14Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:14Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules631644145/artifact_info file." - time="2024-01-08T11:58:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules631644145/artifact_info" - time="2024-01-08T11:58:14Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:14Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules631644145/artifact_info" - time="2024-01-08T11:58:14Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules631644145/device_type" - time="2024-01-08T11:58:14Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:14Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:14Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:14Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules631644145/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules631644145/work/payloads/0000/tree" - time="2024-01-08T11:58:14Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:14Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules631644145/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules631644145/work/payloads/0000/tree" - time="2024-01-08T11:58:14Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:14Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:14Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:14Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:14Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51688->[::1]:53: read: connection refused" - time="2024-01-08T11:58:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51688->[::1]:53: read: connection refused" - time="2024-01-08T11:58:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54358->[::1]:53: read: connection refused" - time="2024-01-08T11:58:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54358->[::1]:53: read: connection refused" - time="2024-01-08T11:58:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:14Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36695->[::1]:53: read: connection refused" - time="2024-01-08T11:58:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36695->[::1]:53: read: connection refused" - time="2024-01-08T11:58:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43258->[::1]:53: read: connection refused" - time="2024-01-08T11:58:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43258->[::1]:53: read: connection refused" - time="2024-01-08T11:58:14Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules631644145/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules631644145/work/payloads/0000/tree" - time="2024-01-08T11:58:14Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules631644145/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules631644145/work/payloads/0000/tree" - time="2024-01-08T11:58:14Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:14Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:58:14Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:58:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:14Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40240->[::1]:53: read: connection refused" - time="2024-01-08T11:58:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40240->[::1]:53: read: connection refused" - time="2024-01-08T11:58:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46360->[::1]:53: read: connection refused" - time="2024-01-08T11:58:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46360->[::1]:53: read: connection refused" - time="2024-01-08T11:58:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:14Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53236->[::1]:53: read: connection refused" - time="2024-01-08T11:58:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53236->[::1]:53: read: connection refused" - time="2024-01-08T11:58:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52895->[::1]:53: read: connection refused" - time="2024-01-08T11:58:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52895->[::1]:53: read: connection refused" - time="2024-01-08T11:58:14Z" level=debug msg="Handling reboot state" - time="2024-01-08T11:58:14Z" level=info msg="Rebooting device(s)" - time="2024-01-08T11:58:14Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-08T11:58:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules631644145/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules631644145/work/payloads/0000/tree" + time="2024-01-08T12:27:02Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:02Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:02Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:02Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40565->[::1]:53: read: connection refused" + time="2024-01-08T12:27:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40565->[::1]:53: read: connection refused" + time="2024-01-08T12:27:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41325->[::1]:53: read: connection refused" + time="2024-01-08T12:27:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41325->[::1]:53: read: connection refused" + time="2024-01-08T12:27:02Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:02Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:02Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:02Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules482183942/device_type" + time="2024-01-08T12:27:02Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:02Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:02Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:02Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:02Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:02Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:02Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:02Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:02Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:02Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:02Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:02Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:02Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:02Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:02Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:02Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:02Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:02Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:02Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:02Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:02Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:02Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:02Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:02Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules482183942/artifact_info file." + time="2024-01-08T12:27:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules482183942/artifact_info" + time="2024-01-08T12:27:02Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:02Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules482183942/artifact_info" + time="2024-01-08T12:27:02Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules482183942/device_type" + time="2024-01-08T12:27:02Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:02Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:02Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:02Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules482183942/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules482183942/work/payloads/0000/tree" + time="2024-01-08T12:27:02Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:02Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules482183942/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules482183942/work/payloads/0000/tree" + time="2024-01-08T12:27:02Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:02Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:02Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:02Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:02Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52548->[::1]:53: read: connection refused" + time="2024-01-08T12:27:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52548->[::1]:53: read: connection refused" + time="2024-01-08T12:27:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50321->[::1]:53: read: connection refused" + time="2024-01-08T12:27:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50321->[::1]:53: read: connection refused" + time="2024-01-08T12:27:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:02Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55163->[::1]:53: read: connection refused" + time="2024-01-08T12:27:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55163->[::1]:53: read: connection refused" + time="2024-01-08T12:27:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37286->[::1]:53: read: connection refused" + time="2024-01-08T12:27:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37286->[::1]:53: read: connection refused" + time="2024-01-08T12:27:02Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules482183942/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules482183942/work/payloads/0000/tree" + time="2024-01-08T12:27:02Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules482183942/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules482183942/work/payloads/0000/tree" + time="2024-01-08T12:27:02Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:02Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:02Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:02Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59252->[::1]:53: read: connection refused" + time="2024-01-08T12:27:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59252->[::1]:53: read: connection refused" + time="2024-01-08T12:27:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36426->[::1]:53: read: connection refused" + time="2024-01-08T12:27:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36426->[::1]:53: read: connection refused" + time="2024-01-08T12:27:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:02Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35099->[::1]:53: read: connection refused" + time="2024-01-08T12:27:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35099->[::1]:53: read: connection refused" + time="2024-01-08T12:27:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37487->[::1]:53: read: connection refused" + time="2024-01-08T12:27:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37487->[::1]:53: read: connection refused" + time="2024-01-08T12:27:02Z" level=debug msg="Handling reboot state" + time="2024-01-08T12:27:02Z" level=info msg="Rebooting device(s)" + time="2024-01-08T12:27:02Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2024-01-08T12:27:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules482183942/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules482183942/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 5 (*app.updateVerifyRebootState) - time="2024-01-08T11:58:14Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:58:14Z" level=info msg="Handling loaded state: reboot" - time="2024-01-08T11:58:14Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:14Z" level=info msg="State transition: init [none] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:14Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-08T11:58:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules631644145/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules631644145/work/payloads/0000/tree" - time="2024-01-08T11:58:14Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:14Z" level=debug msg="Handling state after reboot" - time="2024-01-08T11:58:14Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-08T11:58:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:14Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53407->[::1]:53: read: connection refused" - time="2024-01-08T11:58:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53407->[::1]:53: read: connection refused" - time="2024-01-08T11:58:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36193->[::1]:53: read: connection refused" - time="2024-01-08T11:58:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36193->[::1]:53: read: connection refused" - time="2024-01-08T11:58:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:14Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54301->[::1]:53: read: connection refused" - time="2024-01-08T11:58:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54301->[::1]:53: read: connection refused" - time="2024-01-08T11:58:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49274->[::1]:53: read: connection refused" - time="2024-01-08T11:58:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49274->[::1]:53: read: connection refused" - time="2024-01-08T11:58:14Z" level=debug msg="Handle update commit state" - time="2024-01-08T11:58:14Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2024-01-08T11:58:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules631644145/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules631644145/work/payloads/0000/tree" - time="2024-01-08T11:58:14Z" level=debug msg="Committing new artifact name: artifact-name" - time="2024-01-08T11:58:14Z" level=debug msg="Committing new artifact group name: " - time="2024-01-08T11:58:14Z" level=debug msg="Committing new artifact type-info provides" - time="2024-01-08T11:58:14Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2024-01-08T11:58:14Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2024-01-08T11:58:14Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2024-01-08T11:58:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:14Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:15Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:15Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules631644145/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules631644145/work/payloads/0000/tree" - time="2024-01-08T11:58:15Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" - time="2024-01-08T11:58:15Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:15Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:15Z" level=debug msg="Returning artifact name artifact-name from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.17s) + time="2024-01-08T12:27:02Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:27:02Z" level=info msg="Handling loaded state: reboot" + time="2024-01-08T12:27:02Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:02Z" level=info msg="State transition: init [none] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:02Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2024-01-08T12:27:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules482183942/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules482183942/work/payloads/0000/tree" + time="2024-01-08T12:27:02Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:02Z" level=debug msg="Handling state after reboot" + time="2024-01-08T12:27:02Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2024-01-08T12:27:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:02Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53225->[::1]:53: read: connection refused" + time="2024-01-08T12:27:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53225->[::1]:53: read: connection refused" + time="2024-01-08T12:27:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44840->[::1]:53: read: connection refused" + time="2024-01-08T12:27:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44840->[::1]:53: read: connection refused" + time="2024-01-08T12:27:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:02Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35286->[::1]:53: read: connection refused" + time="2024-01-08T12:27:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35286->[::1]:53: read: connection refused" + time="2024-01-08T12:27:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54987->[::1]:53: read: connection refused" + time="2024-01-08T12:27:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54987->[::1]:53: read: connection refused" + time="2024-01-08T12:27:02Z" level=debug msg="Handle update commit state" + time="2024-01-08T12:27:02Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2024-01-08T12:27:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules482183942/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules482183942/work/payloads/0000/tree" + time="2024-01-08T12:27:02Z" level=debug msg="Committing new artifact name: artifact-name" + time="2024-01-08T12:27:02Z" level=debug msg="Committing new artifact group name: " + time="2024-01-08T12:27:02Z" level=debug msg="Committing new artifact type-info provides" + time="2024-01-08T12:27:02Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2024-01-08T12:27:02Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2024-01-08T12:27:02Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2024-01-08T12:27:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:02Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:02Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:02Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules482183942/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules482183942/work/payloads/0000/tree" + time="2024-01-08T12:27:03Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" + time="2024-01-08T12:27:03Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:03Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:03Z" level=debug msg="Returning artifact name artifact-name from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.13s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyReboot state_test.go:4717: Error in ArtifactVerifyReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:15Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:15Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:15Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:15Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46773->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46773->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44138->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44138->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:15Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:15Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:15Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules326498350/device_type" - time="2024-01-08T11:58:15Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:15Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:15Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:15Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:15Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:15Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules326498350/artifact_info file." - time="2024-01-08T11:58:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules326498350/artifact_info" - time="2024-01-08T11:58:15Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:15Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules326498350/artifact_info" - time="2024-01-08T11:58:15Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules326498350/device_type" - time="2024-01-08T11:58:15Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:15Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:15Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:15Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326498350/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules326498350/work/payloads/0000/tree" - time="2024-01-08T11:58:15Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:15Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326498350/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules326498350/work/payloads/0000/tree" - time="2024-01-08T11:58:15Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:15Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:15Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:15Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:15Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36426->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36426->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60555->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60555->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:15Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52702->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52702->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56872->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56872->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326498350/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules326498350/work/payloads/0000/tree" - time="2024-01-08T11:58:15Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326498350/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules326498350/work/payloads/0000/tree" - time="2024-01-08T11:58:15Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:15Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:58:15Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:58:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:15Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46433->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46433->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43821->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43821->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:15Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38330->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38330->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39243->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39243->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=debug msg="Handling reboot state" - time="2024-01-08T11:58:15Z" level=info msg="Rebooting device(s)" - time="2024-01-08T11:58:15Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-08T11:58:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326498350/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules326498350/work/payloads/0000/tree" - time="2024-01-08T11:58:15Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:15Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-08T11:58:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326498350/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules326498350/work/payloads/0000/tree" - time="2024-01-08T11:58:15Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:15Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:15Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:15Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:15Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48537->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48537->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36422->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36422->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:15Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59817->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59817->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59214->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59214->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:15Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326498350/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules326498350/work/payloads/0000/tree" - time="2024-01-08T11:58:15Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-08T11:58:15Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:58:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:15Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33583->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33583->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35202->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35202->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:15Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38970->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38970->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38342->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38342->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:58:15Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:58:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326498350/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules326498350/work/payloads/0000/tree" - time="2024-01-08T11:58:15Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:15Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:58:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326498350/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules326498350/work/payloads/0000/tree" - time="2024-01-08T11:58:15Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:15Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-08T11:58:15Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:15Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46887->[::1]:53: read: connection refused" - time="2024-01-08T11:58:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46887->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43193->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43193->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:16Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38353->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38353->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34424->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34424->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:16Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326498350/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules326498350/work/payloads/0000/tree" - time="2024-01-08T11:58:16Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:16Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:16Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:16Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules326498350/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules326498350/work/payloads/0000/tree" - time="2024-01-08T11:58:16Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:16Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:16Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:16Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules326498350/artifact_info file." - time="2024-01-08T11:58:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules326498350/artifact_info" - time="2024-01-08T11:58:16Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:16Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.88s) + time="2024-01-08T12:27:03Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:03Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:03Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:03Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60838->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60838->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39163->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39163->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:03Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:03Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:03Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:03Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules990742887/device_type" + time="2024-01-08T12:27:03Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:03Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:03Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:03Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:03Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:03Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:03Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:03Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:03Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:03Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:03Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:03Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:03Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:03Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:03Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:03Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:03Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:03Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:03Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:03Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:03Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:03Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:03Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:03Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules990742887/artifact_info file." + time="2024-01-08T12:27:03Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules990742887/artifact_info" + time="2024-01-08T12:27:03Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:03Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:03Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules990742887/artifact_info" + time="2024-01-08T12:27:03Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:03Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules990742887/device_type" + time="2024-01-08T12:27:03Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:03Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:03Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:03Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules990742887/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules990742887/work/payloads/0000/tree" + time="2024-01-08T12:27:03Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:03Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules990742887/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules990742887/work/payloads/0000/tree" + time="2024-01-08T12:27:03Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:03Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:03Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:03Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:03Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49156->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49156->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56313->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56313->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:03Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43032->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43032->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34387->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34387->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules990742887/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules990742887/work/payloads/0000/tree" + time="2024-01-08T12:27:03Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules990742887/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules990742887/work/payloads/0000/tree" + time="2024-01-08T12:27:03Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:03Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:03Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:03Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39112->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39112->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53956->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53956->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:03Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59710->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59710->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46414->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46414->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=debug msg="Handling reboot state" + time="2024-01-08T12:27:03Z" level=info msg="Rebooting device(s)" + time="2024-01-08T12:27:03Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2024-01-08T12:27:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules990742887/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules990742887/work/payloads/0000/tree" + time="2024-01-08T12:27:03Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:03Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2024-01-08T12:27:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules990742887/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules990742887/work/payloads/0000/tree" + time="2024-01-08T12:27:03Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:03Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:03Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:03Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:03Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58271->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58271->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59865->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59865->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:03Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50506->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50506->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36720->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36720->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:03Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules990742887/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules990742887/work/payloads/0000/tree" + time="2024-01-08T12:27:03Z" level=debug msg="Will try to rollback reboot the device" + time="2024-01-08T12:27:03Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:03Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43544->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43544->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46786->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46786->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:03Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34680->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34680->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36639->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36639->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:03Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules990742887/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules990742887/work/payloads/0000/tree" + time="2024-01-08T12:27:03Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:03Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules990742887/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules990742887/work/payloads/0000/tree" + time="2024-01-08T12:27:03Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:03Z" level=debug msg="Handling state after rollback reboot" + time="2024-01-08T12:27:03Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:03Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39836->[::1]:53: read: connection refused" + time="2024-01-08T12:27:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39836->[::1]:53: read: connection refused" + time="2024-01-08T12:27:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47358->[::1]:53: read: connection refused" + time="2024-01-08T12:27:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47358->[::1]:53: read: connection refused" + time="2024-01-08T12:27:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:04Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49601->[::1]:53: read: connection refused" + time="2024-01-08T12:27:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49601->[::1]:53: read: connection refused" + time="2024-01-08T12:27:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48613->[::1]:53: read: connection refused" + time="2024-01-08T12:27:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48613->[::1]:53: read: connection refused" + time="2024-01-08T12:27:04Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:04Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules990742887/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules990742887/work/payloads/0000/tree" + time="2024-01-08T12:27:04Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:04Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:04Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:04Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules990742887/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules990742887/work/payloads/0000/tree" + time="2024-01-08T12:27:04Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:04Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:04Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:04Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:04Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules990742887/artifact_info file." + time="2024-01-08T12:27:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules990742887/artifact_info" + time="2024-01-08T12:27:04Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:04Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (1.02s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyReboot state_test.go:4717: Killed in ArtifactVerifyReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:16Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:16Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:16Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:16Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54369->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54369->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58970->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58970->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:16Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:16Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:16Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules165350831/device_type" - time="2024-01-08T11:58:16Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:16Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:16Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:16Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:16Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:16Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:16Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:16Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:16Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules165350831/artifact_info file." - time="2024-01-08T11:58:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules165350831/artifact_info" - time="2024-01-08T11:58:16Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:16Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules165350831/artifact_info" - time="2024-01-08T11:58:16Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules165350831/device_type" - time="2024-01-08T11:58:16Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:16Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:16Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:16Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules165350831/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules165350831/work/payloads/0000/tree" - time="2024-01-08T11:58:16Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:16Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules165350831/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules165350831/work/payloads/0000/tree" - time="2024-01-08T11:58:16Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:16Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:16Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:16Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:16Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46427->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46427->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33567->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33567->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:16Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33364->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33364->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37654->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37654->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules165350831/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules165350831/work/payloads/0000/tree" - time="2024-01-08T11:58:16Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules165350831/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules165350831/work/payloads/0000/tree" - time="2024-01-08T11:58:16Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:16Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:58:16Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:58:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:16Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45559->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45559->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39900->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39900->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:16Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52339->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52339->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34291->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34291->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=debug msg="Handling reboot state" - time="2024-01-08T11:58:16Z" level=info msg="Rebooting device(s)" - time="2024-01-08T11:58:16Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-08T11:58:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules165350831/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules165350831/work/payloads/0000/tree" - time="2024-01-08T11:58:16Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:16Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-08T11:58:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules165350831/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules165350831/work/payloads/0000/tree" + time="2024-01-08T12:27:04Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:04Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:04Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:04Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50570->[::1]:53: read: connection refused" + time="2024-01-08T12:27:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50570->[::1]:53: read: connection refused" + time="2024-01-08T12:27:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42777->[::1]:53: read: connection refused" + time="2024-01-08T12:27:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42777->[::1]:53: read: connection refused" + time="2024-01-08T12:27:04Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:04Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:04Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:04Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules251064796/device_type" + time="2024-01-08T12:27:04Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:04Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:04Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:04Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:04Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:04Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:04Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:04Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:04Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:04Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:04Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:04Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:04Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:04Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:04Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:04Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:04Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:04Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:04Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:04Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:04Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:04Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:04Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:04Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules251064796/artifact_info file." + time="2024-01-08T12:27:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules251064796/artifact_info" + time="2024-01-08T12:27:04Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:04Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules251064796/artifact_info" + time="2024-01-08T12:27:04Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules251064796/device_type" + time="2024-01-08T12:27:04Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:04Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:04Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:04Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules251064796/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules251064796/work/payloads/0000/tree" + time="2024-01-08T12:27:04Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:04Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules251064796/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules251064796/work/payloads/0000/tree" + time="2024-01-08T12:27:04Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:04Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:04Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:04Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:04Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50103->[::1]:53: read: connection refused" + time="2024-01-08T12:27:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50103->[::1]:53: read: connection refused" + time="2024-01-08T12:27:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49921->[::1]:53: read: connection refused" + time="2024-01-08T12:27:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49921->[::1]:53: read: connection refused" + time="2024-01-08T12:27:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:04Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60178->[::1]:53: read: connection refused" + time="2024-01-08T12:27:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60178->[::1]:53: read: connection refused" + time="2024-01-08T12:27:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40832->[::1]:53: read: connection refused" + time="2024-01-08T12:27:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40832->[::1]:53: read: connection refused" + time="2024-01-08T12:27:04Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules251064796/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules251064796/work/payloads/0000/tree" + time="2024-01-08T12:27:04Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules251064796/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules251064796/work/payloads/0000/tree" + time="2024-01-08T12:27:04Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:04Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:04Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:04Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41995->[::1]:53: read: connection refused" + time="2024-01-08T12:27:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41995->[::1]:53: read: connection refused" + time="2024-01-08T12:27:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47605->[::1]:53: read: connection refused" + time="2024-01-08T12:27:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47605->[::1]:53: read: connection refused" + time="2024-01-08T12:27:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:04Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35995->[::1]:53: read: connection refused" + time="2024-01-08T12:27:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35995->[::1]:53: read: connection refused" + time="2024-01-08T12:27:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50843->[::1]:53: read: connection refused" + time="2024-01-08T12:27:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50843->[::1]:53: read: connection refused" + time="2024-01-08T12:27:04Z" level=debug msg="Handling reboot state" + time="2024-01-08T12:27:04Z" level=info msg="Rebooting device(s)" + time="2024-01-08T12:27:04Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2024-01-08T12:27:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules251064796/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules251064796/work/payloads/0000/tree" + time="2024-01-08T12:27:05Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:05Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2024-01-08T12:27:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules251064796/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules251064796/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 6 (*app.updateRollbackState) - time="2024-01-08T11:58:16Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:58:16Z" level=info msg="Handling loaded state: after-reboot" - time="2024-01-08T11:58:16Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:16Z" level=error msg="Mender shut down in state: after-reboot" - time="2024-01-08T11:58:16Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:16Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:16Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34525->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34525->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56223->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56223->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:16Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules165350831/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules165350831/work/payloads/0000/tree" - time="2024-01-08T11:58:16Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-08T11:58:16Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:58:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:16Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34067->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34067->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35976->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35976->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:16Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52557->[::1]:53: read: connection refused" - time="2024-01-08T11:58:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52557->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57831->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57831->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:58:17Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:58:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules165350831/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules165350831/work/payloads/0000/tree" - time="2024-01-08T11:58:17Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:17Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:58:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules165350831/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules165350831/work/payloads/0000/tree" - time="2024-01-08T11:58:17Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:17Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-08T11:58:17Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:17Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52640->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52640->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53953->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53953->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:17Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52114->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52114->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34548->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34548->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:17Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules165350831/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules165350831/work/payloads/0000/tree" - time="2024-01-08T11:58:17Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:17Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:17Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules165350831/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules165350831/work/payloads/0000/tree" - time="2024-01-08T11:58:17Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:17Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:17Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:17Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules165350831/artifact_info file." - time="2024-01-08T11:58:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules165350831/artifact_info" - time="2024-01-08T11:58:17Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:17Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.33s) + time="2024-01-08T12:27:05Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:27:05Z" level=info msg="Handling loaded state: after-reboot" + time="2024-01-08T12:27:05Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:05Z" level=error msg="Mender shut down in state: after-reboot" + time="2024-01-08T12:27:05Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:05Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:05Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46166->[::1]:53: read: connection refused" + time="2024-01-08T12:27:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46166->[::1]:53: read: connection refused" + time="2024-01-08T12:27:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33326->[::1]:53: read: connection refused" + time="2024-01-08T12:27:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33326->[::1]:53: read: connection refused" + time="2024-01-08T12:27:05Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:05Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules251064796/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules251064796/work/payloads/0000/tree" + time="2024-01-08T12:27:05Z" level=debug msg="Will try to rollback reboot the device" + time="2024-01-08T12:27:05Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:05Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41377->[::1]:53: read: connection refused" + time="2024-01-08T12:27:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41377->[::1]:53: read: connection refused" + time="2024-01-08T12:27:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37780->[::1]:53: read: connection refused" + time="2024-01-08T12:27:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37780->[::1]:53: read: connection refused" + time="2024-01-08T12:27:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:05Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55272->[::1]:53: read: connection refused" + time="2024-01-08T12:27:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55272->[::1]:53: read: connection refused" + time="2024-01-08T12:27:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53761->[::1]:53: read: connection refused" + time="2024-01-08T12:27:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53761->[::1]:53: read: connection refused" + time="2024-01-08T12:27:05Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:05Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules251064796/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules251064796/work/payloads/0000/tree" + time="2024-01-08T12:27:05Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:05Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules251064796/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules251064796/work/payloads/0000/tree" + time="2024-01-08T12:27:05Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:05Z" level=debug msg="Handling state after rollback reboot" + time="2024-01-08T12:27:05Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:05Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54879->[::1]:53: read: connection refused" + time="2024-01-08T12:27:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54879->[::1]:53: read: connection refused" + time="2024-01-08T12:27:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43919->[::1]:53: read: connection refused" + time="2024-01-08T12:27:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43919->[::1]:53: read: connection refused" + time="2024-01-08T12:27:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:05Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45573->[::1]:53: read: connection refused" + time="2024-01-08T12:27:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45573->[::1]:53: read: connection refused" + time="2024-01-08T12:27:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47036->[::1]:53: read: connection refused" + time="2024-01-08T12:27:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47036->[::1]:53: read: connection refused" + time="2024-01-08T12:27:05Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:05Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules251064796/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules251064796/work/payloads/0000/tree" + time="2024-01-08T12:27:05Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:05Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:05Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:05Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules251064796/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules251064796/work/payloads/0000/tree" + time="2024-01-08T12:27:05Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:05Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:05Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:05Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:05Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules251064796/artifact_info file." + time="2024-01-08T12:27:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules251064796/artifact_info" + time="2024-01-08T12:27:05Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:05Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.20s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback state_test.go:4717: Error in ArtifactRollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:17Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:17Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:17Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:17Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54784->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54784->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46240->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46240->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:17Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:17Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:17Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules011144132/device_type" - time="2024-01-08T11:58:17Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:17Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:17Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:17Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules011144132/artifact_info file." - time="2024-01-08T11:58:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules011144132/artifact_info" - time="2024-01-08T11:58:17Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:17Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules011144132/artifact_info" - time="2024-01-08T11:58:17Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules011144132/device_type" - time="2024-01-08T11:58:17Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:17Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:17Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:17Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules011144132/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules011144132/work/payloads/0000/tree" - time="2024-01-08T11:58:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules011144132/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules011144132/work/payloads/0000/tree" - time="2024-01-08T11:58:17Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:17Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:17Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:17Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:17Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46136->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46136->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55502->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55502->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:17Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48779->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48779->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39136->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39136->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules011144132/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules011144132/work/payloads/0000/tree" - time="2024-01-08T11:58:17Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules011144132/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules011144132/work/payloads/0000/tree" - time="2024-01-08T11:58:17Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:17Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:58:17Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:58:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:17Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50734->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50734->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55003->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55003->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:17Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60380->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60380->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48259->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48259->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=debug msg="Handling reboot state" - time="2024-01-08T11:58:17Z" level=info msg="Rebooting device(s)" - time="2024-01-08T11:58:17Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-08T11:58:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules011144132/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules011144132/work/payloads/0000/tree" - time="2024-01-08T11:58:17Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:17Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-08T11:58:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules011144132/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules011144132/work/payloads/0000/tree" - time="2024-01-08T11:58:17Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:17Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:17Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:17Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:17Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36453->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36453->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54662->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54662->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:17Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43915->[::1]:53: read: connection refused" - time="2024-01-08T11:58:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43915->[::1]:53: read: connection refused" - time="2024-01-08T11:58:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42468->[::1]:53: read: connection refused" - time="2024-01-08T11:58:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42468->[::1]:53: read: connection refused" - time="2024-01-08T11:58:18Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:18Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules011144132/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules011144132/work/payloads/0000/tree" - time="2024-01-08T11:58:18Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:18Z" level=error msg="Rollback failed: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:18Z" level=error msg="fatal error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:18Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2024-01-08T11:58:18Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:18Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42978->[::1]:53: read: connection refused" - time="2024-01-08T11:58:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42978->[::1]:53: read: connection refused" - time="2024-01-08T11:58:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57042->[::1]:53: read: connection refused" - time="2024-01-08T11:58:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57042->[::1]:53: read: connection refused" - time="2024-01-08T11:58:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:18Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49621->[::1]:53: read: connection refused" - time="2024-01-08T11:58:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49621->[::1]:53: read: connection refused" - time="2024-01-08T11:58:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44934->[::1]:53: read: connection refused" - time="2024-01-08T11:58:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44934->[::1]:53: read: connection refused" - time="2024-01-08T11:58:18Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:18Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules011144132/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules011144132/work/payloads/0000/tree" - time="2024-01-08T11:58:18Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:18Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:18Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:18Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules011144132/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules011144132/work/payloads/0000/tree" - time="2024-01-08T11:58:18Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:18Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:18Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:18Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:18Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.89s) + time="2024-01-08T12:27:05Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:05Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:05Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:05Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39079->[::1]:53: read: connection refused" + time="2024-01-08T12:27:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39079->[::1]:53: read: connection refused" + time="2024-01-08T12:27:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47744->[::1]:53: read: connection refused" + time="2024-01-08T12:27:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47744->[::1]:53: read: connection refused" + time="2024-01-08T12:27:05Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:05Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:05Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:05Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules835993077/device_type" + time="2024-01-08T12:27:05Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:05Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:05Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:05Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:06Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:06Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules835993077/artifact_info file." + time="2024-01-08T12:27:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules835993077/artifact_info" + time="2024-01-08T12:27:06Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:06Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules835993077/artifact_info" + time="2024-01-08T12:27:06Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules835993077/device_type" + time="2024-01-08T12:27:06Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:06Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:06Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:06Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules835993077/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules835993077/work/payloads/0000/tree" + time="2024-01-08T12:27:06Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:06Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules835993077/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules835993077/work/payloads/0000/tree" + time="2024-01-08T12:27:06Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:06Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:06Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:06Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:06Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54047->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54047->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34009->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34009->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:06Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52088->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52088->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50084->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50084->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules835993077/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules835993077/work/payloads/0000/tree" + time="2024-01-08T12:27:06Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules835993077/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules835993077/work/payloads/0000/tree" + time="2024-01-08T12:27:06Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:06Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:06Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:06Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35902->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35902->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33600->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33600->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:06Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52622->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52622->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51244->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51244->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=debug msg="Handling reboot state" + time="2024-01-08T12:27:06Z" level=info msg="Rebooting device(s)" + time="2024-01-08T12:27:06Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2024-01-08T12:27:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules835993077/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules835993077/work/payloads/0000/tree" + time="2024-01-08T12:27:06Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:06Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2024-01-08T12:27:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules835993077/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules835993077/work/payloads/0000/tree" + time="2024-01-08T12:27:06Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:06Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:06Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:06Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:06Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46526->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46526->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49422->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49422->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:06Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34603->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34603->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46255->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46255->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:06Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules835993077/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules835993077/work/payloads/0000/tree" + time="2024-01-08T12:27:06Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:06Z" level=error msg="Rollback failed: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:06Z" level=error msg="fatal error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:06Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2024-01-08T12:27:06Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:06Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33387->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33387->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38194->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38194->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:06Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52166->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52166->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35215->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35215->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:06Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules835993077/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules835993077/work/payloads/0000/tree" + time="2024-01-08T12:27:06Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:06Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:06Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:06Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules835993077/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules835993077/work/payloads/0000/tree" + time="2024-01-08T12:27:06Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:06Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:06Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:06Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:06Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (1.23s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback state_test.go:4717: Killed in ArtifactRollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:18Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:18Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:18Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:18Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46733->[::1]:53: read: connection refused" - time="2024-01-08T11:58:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46733->[::1]:53: read: connection refused" - time="2024-01-08T11:58:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60333->[::1]:53: read: connection refused" - time="2024-01-08T11:58:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60333->[::1]:53: read: connection refused" - time="2024-01-08T11:58:18Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:18Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:18Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:18Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules807368701/device_type" - time="2024-01-08T11:58:18Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:18Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:18Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:18Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:18Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules807368701/artifact_info file." - time="2024-01-08T11:58:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules807368701/artifact_info" - time="2024-01-08T11:58:18Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:18Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules807368701/artifact_info" - time="2024-01-08T11:58:18Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules807368701/device_type" - time="2024-01-08T11:58:18Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:18Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:18Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:18Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules807368701/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules807368701/work/payloads/0000/tree" - time="2024-01-08T11:58:18Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules807368701/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules807368701/work/payloads/0000/tree" - time="2024-01-08T11:58:18Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:18Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:18Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:18Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:18Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58872->[::1]:53: read: connection refused" - time="2024-01-08T11:58:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58872->[::1]:53: read: connection refused" - time="2024-01-08T11:58:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54489->[::1]:53: read: connection refused" - time="2024-01-08T11:58:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54489->[::1]:53: read: connection refused" - time="2024-01-08T11:58:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:18Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54291->[::1]:53: read: connection refused" - time="2024-01-08T11:58:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54291->[::1]:53: read: connection refused" - time="2024-01-08T11:58:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56550->[::1]:53: read: connection refused" - time="2024-01-08T11:58:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56550->[::1]:53: read: connection refused" - time="2024-01-08T11:58:18Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules807368701/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules807368701/work/payloads/0000/tree" - time="2024-01-08T11:58:18Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules807368701/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules807368701/work/payloads/0000/tree" - time="2024-01-08T11:58:19Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:19Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:58:19Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:58:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:19Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55373->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55373->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49284->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49284->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:19Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53882->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53882->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37049->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37049->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=debug msg="Handling reboot state" - time="2024-01-08T11:58:19Z" level=info msg="Rebooting device(s)" - time="2024-01-08T11:58:19Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-08T11:58:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules807368701/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules807368701/work/payloads/0000/tree" - time="2024-01-08T11:58:19Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:19Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-08T11:58:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules807368701/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules807368701/work/payloads/0000/tree" - time="2024-01-08T11:58:19Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:19Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:19Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:19Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:19Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39724->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39724->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39922->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39922->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:19Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57648->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57648->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44957->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44957->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:19Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules807368701/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules807368701/work/payloads/0000/tree" + time="2024-01-08T12:27:06Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:06Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:06Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:06Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45197->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45197->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41771->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41771->[::1]:53: read: connection refused" + time="2024-01-08T12:27:06Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:06Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:06Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:06Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules200639618/device_type" + time="2024-01-08T12:27:06Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:06Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:06Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:06Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:07Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:07Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules200639618/artifact_info file." + time="2024-01-08T12:27:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules200639618/artifact_info" + time="2024-01-08T12:27:07Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:07Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules200639618/artifact_info" + time="2024-01-08T12:27:07Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules200639618/device_type" + time="2024-01-08T12:27:07Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:07Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:07Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:07Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules200639618/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules200639618/work/payloads/0000/tree" + time="2024-01-08T12:27:07Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:07Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules200639618/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules200639618/work/payloads/0000/tree" + time="2024-01-08T12:27:07Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:07Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:07Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:07Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:07Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42070->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42070->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46775->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46775->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:07Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34994->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34994->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55273->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55273->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules200639618/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules200639618/work/payloads/0000/tree" + time="2024-01-08T12:27:07Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules200639618/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules200639618/work/payloads/0000/tree" + time="2024-01-08T12:27:07Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:07Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:07Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:07Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32934->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32934->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47657->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47657->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:07Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33646->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33646->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42890->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42890->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=debug msg="Handling reboot state" + time="2024-01-08T12:27:07Z" level=info msg="Rebooting device(s)" + time="2024-01-08T12:27:07Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2024-01-08T12:27:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules200639618/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules200639618/work/payloads/0000/tree" + time="2024-01-08T12:27:07Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:07Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2024-01-08T12:27:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules200639618/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules200639618/work/payloads/0000/tree" + time="2024-01-08T12:27:07Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:07Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:07Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:07Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:07Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39836->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39836->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45594->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45594->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:07Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49043->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49043->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56737->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56737->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:07Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules200639618/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules200639618/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 7 (*app.updateRollbackState) - time="2024-01-08T11:58:19Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:58:19Z" level=info msg="Handling loaded state: rollback" - time="2024-01-08T11:58:19Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:19Z" level=error msg="Mender shut down in state: rollback" - time="2024-01-08T11:58:19Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:19Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:19Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59894->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59894->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59272->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59272->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:19Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules807368701/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules807368701/work/payloads/0000/tree" - time="2024-01-08T11:58:19Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-08T11:58:19Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:58:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:19Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47100->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47100->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34060->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34060->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:19Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53764->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53764->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43066->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43066->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:58:19Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:58:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules807368701/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules807368701/work/payloads/0000/tree" - time="2024-01-08T11:58:19Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:19Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:58:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules807368701/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules807368701/work/payloads/0000/tree" - time="2024-01-08T11:58:19Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:19Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-08T11:58:19Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:19Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57177->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57177->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56243->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56243->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36244->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36244->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41956->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41956->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:19Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules807368701/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules807368701/work/payloads/0000/tree" - time="2024-01-08T11:58:19Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:19Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:19Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:19Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules807368701/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules807368701/work/payloads/0000/tree" - time="2024-01-08T11:58:19Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:19Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:19Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:19Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules807368701/artifact_info file." - time="2024-01-08T11:58:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules807368701/artifact_info" - time="2024-01-08T11:58:19Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:19Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.30s) + time="2024-01-08T12:27:07Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:27:07Z" level=info msg="Handling loaded state: rollback" + time="2024-01-08T12:27:07Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:07Z" level=error msg="Mender shut down in state: rollback" + time="2024-01-08T12:27:07Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:07Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:07Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45938->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45938->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43311->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43311->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:07Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules200639618/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules200639618/work/payloads/0000/tree" + time="2024-01-08T12:27:07Z" level=debug msg="Will try to rollback reboot the device" + time="2024-01-08T12:27:07Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:07Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43305->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43305->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45079->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45079->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:07Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38773->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38773->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54729->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54729->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:07Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules200639618/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules200639618/work/payloads/0000/tree" + time="2024-01-08T12:27:07Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:07Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules200639618/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules200639618/work/payloads/0000/tree" + time="2024-01-08T12:27:07Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:07Z" level=debug msg="Handling state after rollback reboot" + time="2024-01-08T12:27:07Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:07Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33814->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33814->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58521->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58521->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:07Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33635->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33635->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49084->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49084->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:07Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules200639618/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules200639618/work/payloads/0000/tree" + time="2024-01-08T12:27:07Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:07Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:07Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:07Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules200639618/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules200639618/work/payloads/0000/tree" + time="2024-01-08T12:27:07Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:07Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:07Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:07Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:07Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules200639618/artifact_info file." + time="2024-01-08T12:27:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules200639618/artifact_info" + time="2024-01-08T12:27:07Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:07Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.26s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot state_test.go:4717: Error in ArtifactRollbackReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:19Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:19Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:19Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:19Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46701->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46701->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41784->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41784->[::1]:53: read: connection refused" - time="2024-01-08T11:58:19Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:19Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:19Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:19Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules955428650/device_type" - time="2024-01-08T11:58:19Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:19Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:19Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:19Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:20Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules955428650/artifact_info file." - time="2024-01-08T11:58:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules955428650/artifact_info" - time="2024-01-08T11:58:20Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:20Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules955428650/artifact_info" - time="2024-01-08T11:58:20Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules955428650/device_type" - time="2024-01-08T11:58:20Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:20Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:20Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:20Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules955428650/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules955428650/work/payloads/0000/tree" - time="2024-01-08T11:58:20Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:20Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules955428650/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules955428650/work/payloads/0000/tree" - time="2024-01-08T11:58:20Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:20Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:20Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:20Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:20Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43084->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43084->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57446->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57446->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:20Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40059->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40059->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53073->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53073->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules955428650/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules955428650/work/payloads/0000/tree" - time="2024-01-08T11:58:20Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules955428650/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules955428650/work/payloads/0000/tree" - time="2024-01-08T11:58:20Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:20Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:58:20Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:58:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:20Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47695->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47695->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37877->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37877->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:20Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36256->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36256->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55537->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55537->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=debug msg="Handling reboot state" - time="2024-01-08T11:58:20Z" level=info msg="Rebooting device(s)" - time="2024-01-08T11:58:20Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-08T11:58:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules955428650/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules955428650/work/payloads/0000/tree" - time="2024-01-08T11:58:20Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:20Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-08T11:58:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules955428650/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules955428650/work/payloads/0000/tree" - time="2024-01-08T11:58:20Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:20Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:20Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:20Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:20Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36209->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36209->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45564->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45564->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:20Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44593->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44593->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36897->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36897->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:20Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules955428650/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules955428650/work/payloads/0000/tree" - time="2024-01-08T11:58:20Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-08T11:58:20Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:58:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:20Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51272->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51272->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51720->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51720->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:20Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48611->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48611->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54338->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54338->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:58:20Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:58:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules955428650/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules955428650/work/payloads/0000/tree" - time="2024-01-08T11:58:20Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:20Z" level=error msg="Error rebooting device: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:20Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:20Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:58:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules955428650/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules955428650/work/payloads/0000/tree" - time="2024-01-08T11:58:20Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:20Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-08T11:58:20Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:20Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40245->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40245->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44544->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44544->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:20Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53744->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53744->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41113->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41113->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:20Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules955428650/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules955428650/work/payloads/0000/tree" - time="2024-01-08T11:58:20Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:20Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:20Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:20Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules955428650/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules955428650/work/payloads/0000/tree" - time="2024-01-08T11:58:20Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:20Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:20Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:20Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules955428650/artifact_info file." - time="2024-01-08T11:58:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules955428650/artifact_info" - time="2024-01-08T11:58:20Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:20Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.85s) + time="2024-01-08T12:27:07Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:07Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:07Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:07Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45649->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45649->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43046->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43046->[::1]:53: read: connection refused" + time="2024-01-08T12:27:07Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:07Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:07Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:07Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules559084179/device_type" + time="2024-01-08T12:27:07Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:07Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:07Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:08Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:08Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:08Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules559084179/artifact_info file." + time="2024-01-08T12:27:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules559084179/artifact_info" + time="2024-01-08T12:27:08Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:08Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules559084179/artifact_info" + time="2024-01-08T12:27:08Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules559084179/device_type" + time="2024-01-08T12:27:08Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:08Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:08Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:08Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules559084179/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules559084179/work/payloads/0000/tree" + time="2024-01-08T12:27:08Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:08Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules559084179/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules559084179/work/payloads/0000/tree" + time="2024-01-08T12:27:08Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:08Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:08Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:08Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:08Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60757->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60757->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35311->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35311->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:08Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43844->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43844->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58103->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58103->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules559084179/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules559084179/work/payloads/0000/tree" + time="2024-01-08T12:27:08Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules559084179/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules559084179/work/payloads/0000/tree" + time="2024-01-08T12:27:08Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:08Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:08Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:08Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47283->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47283->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54420->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54420->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:08Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59984->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59984->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52048->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52048->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=debug msg="Handling reboot state" + time="2024-01-08T12:27:08Z" level=info msg="Rebooting device(s)" + time="2024-01-08T12:27:08Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2024-01-08T12:27:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules559084179/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules559084179/work/payloads/0000/tree" + time="2024-01-08T12:27:08Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:08Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2024-01-08T12:27:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules559084179/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules559084179/work/payloads/0000/tree" + time="2024-01-08T12:27:08Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:08Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:08Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:08Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:08Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47894->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47894->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32799->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32799->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:08Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50054->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50054->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48029->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48029->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:08Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules559084179/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules559084179/work/payloads/0000/tree" + time="2024-01-08T12:27:08Z" level=debug msg="Will try to rollback reboot the device" + time="2024-01-08T12:27:08Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:08Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33512->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33512->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51367->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51367->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:08Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33798->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33798->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36208->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36208->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:08Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules559084179/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules559084179/work/payloads/0000/tree" + time="2024-01-08T12:27:08Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:08Z" level=error msg="Error rebooting device: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:08Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:08Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules559084179/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules559084179/work/payloads/0000/tree" + time="2024-01-08T12:27:08Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:08Z" level=debug msg="Handling state after rollback reboot" + time="2024-01-08T12:27:08Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:08Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43627->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43627->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37940->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37940->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:08Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32781->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32781->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58393->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58393->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:08Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules559084179/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules559084179/work/payloads/0000/tree" + time="2024-01-08T12:27:08Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:08Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:08Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:08Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules559084179/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules559084179/work/payloads/0000/tree" + time="2024-01-08T12:27:08Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:08Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:08Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:08Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:08Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules559084179/artifact_info file." + time="2024-01-08T12:27:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules559084179/artifact_info" + time="2024-01-08T12:27:08Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:08Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.90s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot state_test.go:4717: Killed in ArtifactRollbackReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:20Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:20Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:20Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:20Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48280->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48280->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56741->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56741->[::1]:53: read: connection refused" - time="2024-01-08T11:58:20Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:20Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:20Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:20Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules450793051/device_type" - time="2024-01-08T11:58:20Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:20Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:20Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:20Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:21Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:21Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules450793051/artifact_info file." - time="2024-01-08T11:58:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules450793051/artifact_info" - time="2024-01-08T11:58:21Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:21Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules450793051/artifact_info" - time="2024-01-08T11:58:21Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules450793051/device_type" - time="2024-01-08T11:58:21Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:21Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:21Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:21Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules450793051/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules450793051/work/payloads/0000/tree" - time="2024-01-08T11:58:21Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:21Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules450793051/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules450793051/work/payloads/0000/tree" - time="2024-01-08T11:58:21Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:21Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:21Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:21Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:21Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33507->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33507->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44148->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44148->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:21Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48265->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48265->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43762->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43762->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules450793051/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules450793051/work/payloads/0000/tree" - time="2024-01-08T11:58:21Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules450793051/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules450793051/work/payloads/0000/tree" - time="2024-01-08T11:58:21Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:21Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:58:21Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:58:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:21Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48126->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48126->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50422->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50422->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:21Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46808->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46808->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34442->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34442->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=debug msg="Handling reboot state" - time="2024-01-08T11:58:21Z" level=info msg="Rebooting device(s)" - time="2024-01-08T11:58:21Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-08T11:58:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules450793051/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules450793051/work/payloads/0000/tree" - time="2024-01-08T11:58:21Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:21Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-08T11:58:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules450793051/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules450793051/work/payloads/0000/tree" - time="2024-01-08T11:58:21Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:21Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:21Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:21Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:21Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56643->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56643->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32887->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32887->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:21Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55943->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55943->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55479->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55479->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:21Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules450793051/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules450793051/work/payloads/0000/tree" - time="2024-01-08T11:58:21Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-08T11:58:21Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:58:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:21Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39361->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39361->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41170->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41170->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:21Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46557->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46557->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45371->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45371->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:58:21Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:58:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules450793051/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules450793051/work/payloads/0000/tree" + time="2024-01-08T12:27:08Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:08Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:08Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:08Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40441->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40441->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54370->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54370->[::1]:53: read: connection refused" + time="2024-01-08T12:27:08Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:08Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:08Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:08Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules953789560/device_type" + time="2024-01-08T12:27:08Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:08Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:08Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:09Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:09Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:09Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules953789560/artifact_info file." + time="2024-01-08T12:27:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules953789560/artifact_info" + time="2024-01-08T12:27:09Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:09Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules953789560/artifact_info" + time="2024-01-08T12:27:09Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules953789560/device_type" + time="2024-01-08T12:27:09Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:09Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:09Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:09Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules953789560/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules953789560/work/payloads/0000/tree" + time="2024-01-08T12:27:09Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:09Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules953789560/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules953789560/work/payloads/0000/tree" + time="2024-01-08T12:27:09Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:09Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:09Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:09Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:09Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34179->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34179->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35688->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35688->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:09Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53333->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53333->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41378->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41378->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules953789560/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules953789560/work/payloads/0000/tree" + time="2024-01-08T12:27:09Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules953789560/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules953789560/work/payloads/0000/tree" + time="2024-01-08T12:27:09Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:09Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:09Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:09Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47576->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47576->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45125->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45125->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:09Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48713->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48713->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34860->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34860->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=debug msg="Handling reboot state" + time="2024-01-08T12:27:09Z" level=info msg="Rebooting device(s)" + time="2024-01-08T12:27:09Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2024-01-08T12:27:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules953789560/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules953789560/work/payloads/0000/tree" + time="2024-01-08T12:27:09Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:09Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2024-01-08T12:27:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules953789560/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules953789560/work/payloads/0000/tree" + time="2024-01-08T12:27:09Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:09Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:09Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:09Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:09Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59096->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59096->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33491->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33491->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:09Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32796->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32796->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53679->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53679->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:09Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules953789560/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules953789560/work/payloads/0000/tree" + time="2024-01-08T12:27:09Z" level=debug msg="Will try to rollback reboot the device" + time="2024-01-08T12:27:09Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:09Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56850->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56850->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52403->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52403->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:09Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47878->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47878->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60613->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60613->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:09Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules953789560/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules953789560/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 8 (*app.updateVerifyRollbackRebootState) - time="2024-01-08T11:58:21Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:58:21Z" level=info msg="Handling loaded state: rollback-reboot" - time="2024-01-08T11:58:21Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:21Z" level=info msg="Mender shut down in state: rollback-reboot" - time="2024-01-08T11:58:21Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:21Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:21Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:58:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules450793051/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules450793051/work/payloads/0000/tree" - time="2024-01-08T11:58:21Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:21Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-08T11:58:21Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:21Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35143->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35143->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47667->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47667->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:21Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48916->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48916->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47947->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47947->[::1]:53: read: connection refused" - time="2024-01-08T11:58:21Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:21Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules450793051/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules450793051/work/payloads/0000/tree" - time="2024-01-08T11:58:21Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:21Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:21Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:21Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules450793051/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules450793051/work/payloads/0000/tree" - time="2024-01-08T11:58:21Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:21Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:21Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:21Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:21Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules450793051/artifact_info file." - time="2024-01-08T11:58:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules450793051/artifact_info" - time="2024-01-08T11:58:21Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:21Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.17s) + time="2024-01-08T12:27:09Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:27:09Z" level=info msg="Handling loaded state: rollback-reboot" + time="2024-01-08T12:27:09Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:09Z" level=info msg="Mender shut down in state: rollback-reboot" + time="2024-01-08T12:27:09Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:09Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:09Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules953789560/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules953789560/work/payloads/0000/tree" + time="2024-01-08T12:27:09Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:09Z" level=debug msg="Handling state after rollback reboot" + time="2024-01-08T12:27:09Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:09Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53758->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53758->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53380->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53380->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:09Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51582->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51582->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59335->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59335->[::1]:53: read: connection refused" + time="2024-01-08T12:27:09Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:09Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules953789560/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules953789560/work/payloads/0000/tree" + time="2024-01-08T12:27:09Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:09Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:09Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:09Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules953789560/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules953789560/work/payloads/0000/tree" + time="2024-01-08T12:27:09Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:09Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:09Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:09Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:09Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules953789560/artifact_info file." + time="2024-01-08T12:27:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules953789560/artifact_info" + time="2024-01-08T12:27:09Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:09Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.14s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyRollbackReboot state_test.go:4717: Error in ArtifactVerifyRollbackReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:21Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:22Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:22Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:22Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48931->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48931->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49326->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49326->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:22Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:22Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:22Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules091043808/device_type" - time="2024-01-08T11:58:22Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:22Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:22Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:22Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:22Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:22Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:22Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:22Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:22Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:22Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:22Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:22Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:22Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:22Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:22Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:22Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:22Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:22Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:22Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:22Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:22Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:22Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:22Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:22Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules091043808/artifact_info file." - time="2024-01-08T11:58:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules091043808/artifact_info" - time="2024-01-08T11:58:22Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:22Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules091043808/artifact_info" - time="2024-01-08T11:58:22Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules091043808/device_type" - time="2024-01-08T11:58:22Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:22Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:22Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:22Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules091043808/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules091043808/work/payloads/0000/tree" - time="2024-01-08T11:58:22Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:22Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules091043808/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules091043808/work/payloads/0000/tree" - time="2024-01-08T11:58:22Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:22Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:22Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:22Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:22Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54155->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54155->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43523->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43523->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:22Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53191->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53191->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49435->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49435->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules091043808/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules091043808/work/payloads/0000/tree" - time="2024-01-08T11:58:22Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules091043808/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules091043808/work/payloads/0000/tree" - time="2024-01-08T11:58:22Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:22Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:58:22Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:58:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:22Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54950->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54950->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39560->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39560->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:22Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39347->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39347->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52902->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52902->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=debug msg="Handling reboot state" - time="2024-01-08T11:58:22Z" level=info msg="Rebooting device(s)" - time="2024-01-08T11:58:22Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-08T11:58:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules091043808/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules091043808/work/payloads/0000/tree" - time="2024-01-08T11:58:22Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:22Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-08T11:58:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules091043808/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules091043808/work/payloads/0000/tree" - time="2024-01-08T11:58:22Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:22Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:22Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:22Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:22Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44657->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44657->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42573->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42573->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:22Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36744->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36744->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36335->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36335->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:22Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules091043808/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules091043808/work/payloads/0000/tree" - time="2024-01-08T11:58:22Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-08T11:58:22Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:58:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:22Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40357->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40357->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52110->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52110->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36170->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36170->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40966->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40966->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:58:22Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:58:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules091043808/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules091043808/work/payloads/0000/tree" - time="2024-01-08T11:58:22Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:22Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:58:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules091043808/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules091043808/work/payloads/0000/tree" - time="2024-01-08T11:58:22Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:22Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:22Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:58:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41838->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41838->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38075->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38075->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44100->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44100->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39931->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39931->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:58:22Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:58:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules091043808/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules091043808/work/payloads/0000/tree" - time="2024-01-08T11:58:22Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:22Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:58:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules091043808/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules091043808/work/payloads/0000/tree" - time="2024-01-08T11:58:22Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:22Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-08T11:58:22Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:22Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35169->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35169->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59850->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59850->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40799->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40799->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52927->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52927->[::1]:53: read: connection refused" - time="2024-01-08T11:58:22Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:22Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules091043808/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules091043808/work/payloads/0000/tree" - time="2024-01-08T11:58:22Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:22Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:22Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:22Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules091043808/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules091043808/work/payloads/0000/tree" - time="2024-01-08T11:58:22Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:22Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:22Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:22Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:22Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules091043808/artifact_info file." - time="2024-01-08T11:58:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules091043808/artifact_info" - time="2024-01-08T11:58:22Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:22Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.97s) + time="2024-01-08T12:27:10Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:10Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:10Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:10Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32918->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32918->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52348->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52348->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:10Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:10Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:10Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules134443713/device_type" + time="2024-01-08T12:27:10Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:10Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:10Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:10Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:10Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:10Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:10Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:10Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:10Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:10Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:10Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:10Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules134443713/artifact_info file." + time="2024-01-08T12:27:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules134443713/artifact_info" + time="2024-01-08T12:27:10Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:10Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules134443713/artifact_info" + time="2024-01-08T12:27:10Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:10Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules134443713/device_type" + time="2024-01-08T12:27:10Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:10Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:10Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:10Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134443713/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules134443713/work/payloads/0000/tree" + time="2024-01-08T12:27:10Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:10Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134443713/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules134443713/work/payloads/0000/tree" + time="2024-01-08T12:27:10Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:10Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:10Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:10Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:10Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38854->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38854->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46615->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46615->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:10Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43894->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43894->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51807->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51807->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134443713/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules134443713/work/payloads/0000/tree" + time="2024-01-08T12:27:10Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134443713/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules134443713/work/payloads/0000/tree" + time="2024-01-08T12:27:10Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:10Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:10Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:10Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44842->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44842->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51074->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51074->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:10Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44161->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44161->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58509->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58509->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=debug msg="Handling reboot state" + time="2024-01-08T12:27:10Z" level=info msg="Rebooting device(s)" + time="2024-01-08T12:27:10Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2024-01-08T12:27:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134443713/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules134443713/work/payloads/0000/tree" + time="2024-01-08T12:27:10Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:10Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2024-01-08T12:27:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134443713/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules134443713/work/payloads/0000/tree" + time="2024-01-08T12:27:10Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:10Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:10Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:10Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:10Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37920->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37920->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58435->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58435->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:10Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53713->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53713->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51988->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51988->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:10Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134443713/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules134443713/work/payloads/0000/tree" + time="2024-01-08T12:27:10Z" level=debug msg="Will try to rollback reboot the device" + time="2024-01-08T12:27:10Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:10Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35092->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35092->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60366->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60366->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37670->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37670->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58566->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58566->[::1]:53: read: connection refused" + time="2024-01-08T12:27:10Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:10Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134443713/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules134443713/work/payloads/0000/tree" + time="2024-01-08T12:27:10Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:10Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134443713/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules134443713/work/payloads/0000/tree" + time="2024-01-08T12:27:11Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:11Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:11Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:11Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45874->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45874->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60903->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60903->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:11Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56920->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56920->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44885->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44885->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:11Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134443713/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules134443713/work/payloads/0000/tree" + time="2024-01-08T12:27:11Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:11Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134443713/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules134443713/work/payloads/0000/tree" + time="2024-01-08T12:27:11Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:11Z" level=debug msg="Handling state after rollback reboot" + time="2024-01-08T12:27:11Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:11Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33788->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33788->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36979->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36979->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:11Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58478->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58478->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38666->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38666->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:11Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134443713/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules134443713/work/payloads/0000/tree" + time="2024-01-08T12:27:11Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:11Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:11Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:11Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules134443713/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules134443713/work/payloads/0000/tree" + time="2024-01-08T12:27:11Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:11Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:11Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:11Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:11Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules134443713/artifact_info file." + time="2024-01-08T12:27:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules134443713/artifact_info" + time="2024-01-08T12:27:11Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:11Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (1.00s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyRollbackReboot state_test.go:4717: Killed in ArtifactVerifyRollbackReboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:23Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:23Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:23Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:23Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40770->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40770->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53195->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53195->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:23Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:23Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:23Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules841347145/device_type" - time="2024-01-08T11:58:23Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:23Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:23Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:23Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:23Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:23Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:23Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:23Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:23Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:23Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:23Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:23Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:23Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:23Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:23Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules841347145/artifact_info file." - time="2024-01-08T11:58:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules841347145/artifact_info" - time="2024-01-08T11:58:23Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:23Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules841347145/artifact_info" - time="2024-01-08T11:58:23Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules841347145/device_type" - time="2024-01-08T11:58:23Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:23Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:23Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:23Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules841347145/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules841347145/work/payloads/0000/tree" - time="2024-01-08T11:58:23Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:23Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules841347145/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules841347145/work/payloads/0000/tree" - time="2024-01-08T11:58:23Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:23Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:23Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:23Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:23Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40763->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40763->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53507->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53507->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:23Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56265->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56265->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33192->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33192->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules841347145/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules841347145/work/payloads/0000/tree" - time="2024-01-08T11:58:23Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules841347145/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules841347145/work/payloads/0000/tree" - time="2024-01-08T11:58:23Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:23Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:58:23Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:58:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:23Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47061->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47061->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35062->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35062->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:23Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47014->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47014->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36356->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36356->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=debug msg="Handling reboot state" - time="2024-01-08T11:58:23Z" level=info msg="Rebooting device(s)" - time="2024-01-08T11:58:23Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-08T11:58:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules841347145/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules841347145/work/payloads/0000/tree" - time="2024-01-08T11:58:23Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:23Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-08T11:58:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules841347145/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules841347145/work/payloads/0000/tree" - time="2024-01-08T11:58:23Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:23Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:23Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:23Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:23Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43618->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43618->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39981->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39981->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:23Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51481->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51481->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40476->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40476->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:23Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules841347145/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules841347145/work/payloads/0000/tree" - time="2024-01-08T11:58:23Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-08T11:58:23Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:58:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:23Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38086->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38086->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53807->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53807->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:23Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53975->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53975->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38669->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38669->[::1]:53: read: connection refused" - time="2024-01-08T11:58:23Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:58:23Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:58:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules841347145/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules841347145/work/payloads/0000/tree" - time="2024-01-08T11:58:23Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:23Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:58:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules841347145/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules841347145/work/payloads/0000/tree" + time="2024-01-08T12:27:11Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:11Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:11Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:11Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51755->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51755->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60202->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60202->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:11Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:11Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:11Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules722206526/device_type" + time="2024-01-08T12:27:11Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:11Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:11Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:11Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:11Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:11Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules722206526/artifact_info file." + time="2024-01-08T12:27:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules722206526/artifact_info" + time="2024-01-08T12:27:11Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:11Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules722206526/artifact_info" + time="2024-01-08T12:27:11Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules722206526/device_type" + time="2024-01-08T12:27:11Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:11Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:11Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:11Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules722206526/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules722206526/work/payloads/0000/tree" + time="2024-01-08T12:27:11Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:11Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules722206526/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules722206526/work/payloads/0000/tree" + time="2024-01-08T12:27:11Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:11Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:11Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:11Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:11Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48443->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48443->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52323->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52323->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:11Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55829->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55829->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48904->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48904->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules722206526/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules722206526/work/payloads/0000/tree" + time="2024-01-08T12:27:11Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules722206526/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules722206526/work/payloads/0000/tree" + time="2024-01-08T12:27:11Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:11Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:11Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:11Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56020->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56020->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39673->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39673->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:11Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49078->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49078->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43007->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43007->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=debug msg="Handling reboot state" + time="2024-01-08T12:27:11Z" level=info msg="Rebooting device(s)" + time="2024-01-08T12:27:11Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2024-01-08T12:27:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules722206526/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules722206526/work/payloads/0000/tree" + time="2024-01-08T12:27:11Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:11Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2024-01-08T12:27:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules722206526/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules722206526/work/payloads/0000/tree" + time="2024-01-08T12:27:11Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:11Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:11Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:11Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:11Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36433->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36433->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44332->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44332->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:11Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43592->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43592->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35807->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35807->[::1]:53: read: connection refused" + time="2024-01-08T12:27:11Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:11Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules722206526/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules722206526/work/payloads/0000/tree" + time="2024-01-08T12:27:12Z" level=debug msg="Will try to rollback reboot the device" + time="2024-01-08T12:27:12Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:12Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40628->[::1]:53: read: connection refused" + time="2024-01-08T12:27:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40628->[::1]:53: read: connection refused" + time="2024-01-08T12:27:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35956->[::1]:53: read: connection refused" + time="2024-01-08T12:27:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35956->[::1]:53: read: connection refused" + time="2024-01-08T12:27:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:12Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34342->[::1]:53: read: connection refused" + time="2024-01-08T12:27:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34342->[::1]:53: read: connection refused" + time="2024-01-08T12:27:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46708->[::1]:53: read: connection refused" + time="2024-01-08T12:27:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46708->[::1]:53: read: connection refused" + time="2024-01-08T12:27:12Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:12Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules722206526/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules722206526/work/payloads/0000/tree" + time="2024-01-08T12:27:12Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:12Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules722206526/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules722206526/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 9 (*app.updateVerifyRollbackRebootState) - time="2024-01-08T11:58:23Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:58:23Z" level=info msg="Handling loaded state: verify-rollback-reboot" - time="2024-01-08T11:58:23Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:23Z" level=error msg="Mender shut down in state: verify-rollback-reboot" - time="2024-01-08T11:58:23Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:23Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:23Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:58:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules841347145/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules841347145/work/payloads/0000/tree" - time="2024-01-08T11:58:23Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:23Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-08T11:58:23Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:23Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41456->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41456->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37748->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37748->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:24Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45712->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45712->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58450->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58450->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:24Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules841347145/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules841347145/work/payloads/0000/tree" - time="2024-01-08T11:58:24Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:24Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:24Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:24Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules841347145/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules841347145/work/payloads/0000/tree" - time="2024-01-08T11:58:24Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:24Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:24Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:24Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:24Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules841347145/artifact_info file." - time="2024-01-08T11:58:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules841347145/artifact_info" - time="2024-01-08T11:58:24Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:24Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.18s) + time="2024-01-08T12:27:12Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:27:12Z" level=info msg="Handling loaded state: verify-rollback-reboot" + time="2024-01-08T12:27:12Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:12Z" level=error msg="Mender shut down in state: verify-rollback-reboot" + time="2024-01-08T12:27:12Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:12Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:12Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules722206526/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules722206526/work/payloads/0000/tree" + time="2024-01-08T12:27:12Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:12Z" level=debug msg="Handling state after rollback reboot" + time="2024-01-08T12:27:12Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:12Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46107->[::1]:53: read: connection refused" + time="2024-01-08T12:27:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46107->[::1]:53: read: connection refused" + time="2024-01-08T12:27:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52993->[::1]:53: read: connection refused" + time="2024-01-08T12:27:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52993->[::1]:53: read: connection refused" + time="2024-01-08T12:27:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:12Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53297->[::1]:53: read: connection refused" + time="2024-01-08T12:27:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53297->[::1]:53: read: connection refused" + time="2024-01-08T12:27:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45095->[::1]:53: read: connection refused" + time="2024-01-08T12:27:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45095->[::1]:53: read: connection refused" + time="2024-01-08T12:27:12Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:12Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules722206526/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules722206526/work/payloads/0000/tree" + time="2024-01-08T12:27:12Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:12Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:12Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:12Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules722206526/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules722206526/work/payloads/0000/tree" + time="2024-01-08T12:27:12Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:12Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:12Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:12Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:12Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules722206526/artifact_info file." + time="2024-01-08T12:27:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules722206526/artifact_info" + time="2024-01-08T12:27:12Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:12Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.16s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure state_test.go:4717: Error in ArtifactFailure state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:24Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:24Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:24Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:24Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33082->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33082->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41095->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41095->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:24Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:24Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:24Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules534199142/device_type" - time="2024-01-08T11:58:24Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:24Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:24Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:24Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:24Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:24Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules534199142/artifact_info file." - time="2024-01-08T11:58:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules534199142/artifact_info" - time="2024-01-08T11:58:24Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:24Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules534199142/artifact_info" - time="2024-01-08T11:58:24Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules534199142/device_type" - time="2024-01-08T11:58:24Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:24Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:24Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:24Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules534199142/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules534199142/work/payloads/0000/tree" - time="2024-01-08T11:58:24Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:24Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules534199142/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules534199142/work/payloads/0000/tree" - time="2024-01-08T11:58:24Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:24Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:24Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:24Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:24Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56149->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56149->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56934->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56934->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:24Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57782->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57782->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49984->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49984->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules534199142/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules534199142/work/payloads/0000/tree" - time="2024-01-08T11:58:24Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:24Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:24Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:24Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:24Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39042->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39042->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38461->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38461->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:24Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50934->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50934->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33729->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33729->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:24Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules534199142/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules534199142/work/payloads/0000/tree" - time="2024-01-08T11:58:24Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:24Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41640->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41640->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51161->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51161->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:24Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48925->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48925->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46402->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46402->[::1]:53: read: connection refused" - time="2024-01-08T11:58:24Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:24Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules534199142/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules534199142/work/payloads/0000/tree" - time="2024-01-08T11:58:24Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:24Z" level=error msg="ArtifactFailure failed: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:24Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:24Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:24Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:24Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules534199142/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules534199142/work/payloads/0000/tree" - time="2024-01-08T11:58:24Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:24Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:24Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:24Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:24Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules534199142/artifact_info file." - time="2024-01-08T11:58:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules534199142/artifact_info" - time="2024-01-08T11:58:24Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:24Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.65s) + time="2024-01-08T12:27:12Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:12Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:12Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:12Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40812->[::1]:53: read: connection refused" + time="2024-01-08T12:27:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40812->[::1]:53: read: connection refused" + time="2024-01-08T12:27:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60123->[::1]:53: read: connection refused" + time="2024-01-08T12:27:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60123->[::1]:53: read: connection refused" + time="2024-01-08T12:27:12Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:12Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:12Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:12Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules811996671/device_type" + time="2024-01-08T12:27:12Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:12Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:12Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:12Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:12Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:12Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:12Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:12Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:12Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:12Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:12Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:12Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules811996671/artifact_info file." + time="2024-01-08T12:27:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules811996671/artifact_info" + time="2024-01-08T12:27:12Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:12Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules811996671/artifact_info" + time="2024-01-08T12:27:12Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:12Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules811996671/device_type" + time="2024-01-08T12:27:12Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:12Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:12Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:12Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules811996671/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules811996671/work/payloads/0000/tree" + time="2024-01-08T12:27:12Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:12Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules811996671/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules811996671/work/payloads/0000/tree" + time="2024-01-08T12:27:12Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:12Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:12Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:13Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:13Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42058->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42058->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53236->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53236->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:13Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53240->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53240->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34091->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34091->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules811996671/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules811996671/work/payloads/0000/tree" + time="2024-01-08T12:27:13Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:13Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:13Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:13Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:13Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41335->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41335->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58810->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58810->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:13Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45416->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45416->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55068->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55068->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:13Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules811996671/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules811996671/work/payloads/0000/tree" + time="2024-01-08T12:27:13Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:13Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49695->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49695->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41413->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41413->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:13Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60595->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60595->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57021->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57021->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:13Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules811996671/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules811996671/work/payloads/0000/tree" + time="2024-01-08T12:27:13Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:13Z" level=error msg="ArtifactFailure failed: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:13Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:13Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:13Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:13Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules811996671/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules811996671/work/payloads/0000/tree" + time="2024-01-08T12:27:13Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:13Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:13Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:13Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:13Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules811996671/artifact_info file." + time="2024-01-08T12:27:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules811996671/artifact_info" + time="2024-01-08T12:27:13Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:13Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.71s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure state_test.go:4717: Killed in ArtifactFailure state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:25Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:25Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:25Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:25Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44945->[::1]:53: read: connection refused" - time="2024-01-08T11:58:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44945->[::1]:53: read: connection refused" - time="2024-01-08T11:58:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35465->[::1]:53: read: connection refused" - time="2024-01-08T11:58:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35465->[::1]:53: read: connection refused" - time="2024-01-08T11:58:25Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:25Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:25Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:25Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules443656519/device_type" - time="2024-01-08T11:58:25Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:25Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:25Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:25Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:25Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:25Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules443656519/artifact_info file." - time="2024-01-08T11:58:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules443656519/artifact_info" - time="2024-01-08T11:58:25Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:25Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules443656519/artifact_info" - time="2024-01-08T11:58:25Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules443656519/device_type" - time="2024-01-08T11:58:25Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:25Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:25Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:25Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443656519/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules443656519/work/payloads/0000/tree" - time="2024-01-08T11:58:25Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:25Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443656519/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules443656519/work/payloads/0000/tree" - time="2024-01-08T11:58:25Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:25Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:25Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:25Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:25Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50482->[::1]:53: read: connection refused" - time="2024-01-08T11:58:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50482->[::1]:53: read: connection refused" - time="2024-01-08T11:58:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35040->[::1]:53: read: connection refused" - time="2024-01-08T11:58:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35040->[::1]:53: read: connection refused" - time="2024-01-08T11:58:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:25Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47005->[::1]:53: read: connection refused" - time="2024-01-08T11:58:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47005->[::1]:53: read: connection refused" - time="2024-01-08T11:58:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50261->[::1]:53: read: connection refused" - time="2024-01-08T11:58:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50261->[::1]:53: read: connection refused" - time="2024-01-08T11:58:25Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443656519/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules443656519/work/payloads/0000/tree" - time="2024-01-08T11:58:25Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:25Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:25Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:25Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:25Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45725->[::1]:53: read: connection refused" - time="2024-01-08T11:58:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45725->[::1]:53: read: connection refused" - time="2024-01-08T11:58:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53528->[::1]:53: read: connection refused" - time="2024-01-08T11:58:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53528->[::1]:53: read: connection refused" - time="2024-01-08T11:58:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:25Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44783->[::1]:53: read: connection refused" - time="2024-01-08T11:58:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44783->[::1]:53: read: connection refused" - time="2024-01-08T11:58:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33861->[::1]:53: read: connection refused" - time="2024-01-08T11:58:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33861->[::1]:53: read: connection refused" - time="2024-01-08T11:58:25Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:25Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443656519/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules443656519/work/payloads/0000/tree" - time="2024-01-08T11:58:25Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:25Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56994->[::1]:53: read: connection refused" - time="2024-01-08T11:58:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56994->[::1]:53: read: connection refused" - time="2024-01-08T11:58:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47511->[::1]:53: read: connection refused" - time="2024-01-08T11:58:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47511->[::1]:53: read: connection refused" - time="2024-01-08T11:58:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:25Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54207->[::1]:53: read: connection refused" - time="2024-01-08T11:58:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54207->[::1]:53: read: connection refused" - time="2024-01-08T11:58:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45131->[::1]:53: read: connection refused" - time="2024-01-08T11:58:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45131->[::1]:53: read: connection refused" - time="2024-01-08T11:58:25Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:25Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443656519/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules443656519/work/payloads/0000/tree" + time="2024-01-08T12:27:13Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:13Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:13Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:13Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51173->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51173->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52233->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52233->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:13Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:13Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:13Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules429205076/device_type" + time="2024-01-08T12:27:13Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:13Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:13Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:13Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:13Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:13Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules429205076/artifact_info file." + time="2024-01-08T12:27:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules429205076/artifact_info" + time="2024-01-08T12:27:13Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:13Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules429205076/artifact_info" + time="2024-01-08T12:27:13Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules429205076/device_type" + time="2024-01-08T12:27:13Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:13Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:13Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:13Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules429205076/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules429205076/work/payloads/0000/tree" + time="2024-01-08T12:27:13Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:13Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules429205076/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules429205076/work/payloads/0000/tree" + time="2024-01-08T12:27:13Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:13Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:13Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:13Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:13Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34977->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34977->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43830->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43830->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:13Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37564->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37564->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40992->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40992->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules429205076/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules429205076/work/payloads/0000/tree" + time="2024-01-08T12:27:13Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:13Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:13Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:13Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:13Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33160->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33160->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55997->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55997->[::1]:53: read: connection refused" + time="2024-01-08T12:27:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:13Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44940->[::1]:53: read: connection refused" + time="2024-01-08T12:27:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44940->[::1]:53: read: connection refused" + time="2024-01-08T12:27:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39258->[::1]:53: read: connection refused" + time="2024-01-08T12:27:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39258->[::1]:53: read: connection refused" + time="2024-01-08T12:27:14Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:14Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules429205076/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules429205076/work/payloads/0000/tree" + time="2024-01-08T12:27:14Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:14Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37737->[::1]:53: read: connection refused" + time="2024-01-08T12:27:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37737->[::1]:53: read: connection refused" + time="2024-01-08T12:27:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49240->[::1]:53: read: connection refused" + time="2024-01-08T12:27:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49240->[::1]:53: read: connection refused" + time="2024-01-08T12:27:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:14Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35880->[::1]:53: read: connection refused" + time="2024-01-08T12:27:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35880->[::1]:53: read: connection refused" + time="2024-01-08T12:27:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51869->[::1]:53: read: connection refused" + time="2024-01-08T12:27:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51869->[::1]:53: read: connection refused" + time="2024-01-08T12:27:14Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:14Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules429205076/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules429205076/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 6 (*app.updateErrorState) - time="2024-01-08T11:58:25Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:58:25Z" level=info msg="Handling loaded state: update-error" - time="2024-01-08T11:58:25Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:25Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-08T11:58:25Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:25Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:25Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38562->[::1]:53: read: connection refused" - time="2024-01-08T11:58:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38562->[::1]:53: read: connection refused" - time="2024-01-08T11:58:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43379->[::1]:53: read: connection refused" - time="2024-01-08T11:58:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43379->[::1]:53: read: connection refused" - time="2024-01-08T11:58:25Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:25Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443656519/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules443656519/work/payloads/0000/tree" - time="2024-01-08T11:58:26Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:26Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:26Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:26Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules443656519/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules443656519/work/payloads/0000/tree" - time="2024-01-08T11:58:26Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:26Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:26Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:26Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:26Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules443656519/artifact_info file." - time="2024-01-08T11:58:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules443656519/artifact_info" - time="2024-01-08T11:58:26Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:26Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.13s) + time="2024-01-08T12:27:14Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:27:14Z" level=info msg="Handling loaded state: update-error" + time="2024-01-08T12:27:14Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:14Z" level=error msg="Mender shut down in state: update-error" + time="2024-01-08T12:27:14Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:14Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:14Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36748->[::1]:53: read: connection refused" + time="2024-01-08T12:27:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36748->[::1]:53: read: connection refused" + time="2024-01-08T12:27:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60751->[::1]:53: read: connection refused" + time="2024-01-08T12:27:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60751->[::1]:53: read: connection refused" + time="2024-01-08T12:27:14Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:14Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules429205076/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules429205076/work/payloads/0000/tree" + time="2024-01-08T12:27:14Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:14Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:14Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:14Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules429205076/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules429205076/work/payloads/0000/tree" + time="2024-01-08T12:27:14Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:14Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:14Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:14Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:14Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules429205076/artifact_info file." + time="2024-01-08T12:27:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules429205076/artifact_info" + time="2024-01-08T12:27:14Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:14Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.08s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_Cleanup state_test.go:4717: Error in Cleanup state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:26Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:26Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:26Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:26Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35506->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35506->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48570->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48570->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:26Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:26Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:26Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules959805756/device_type" - time="2024-01-08T11:58:26Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:26Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:26Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:26Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:26Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:26Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules959805756/artifact_info file." - time="2024-01-08T11:58:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules959805756/artifact_info" - time="2024-01-08T11:58:26Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:26Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules959805756/artifact_info" - time="2024-01-08T11:58:26Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules959805756/device_type" - time="2024-01-08T11:58:26Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:26Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:26Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:26Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules959805756/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules959805756/work/payloads/0000/tree" - time="2024-01-08T11:58:26Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:26Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules959805756/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules959805756/work/payloads/0000/tree" - time="2024-01-08T11:58:26Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:26Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:26Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:26Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:26Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53139->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53139->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51179->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51179->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:26Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58617->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58617->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57901->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57901->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules959805756/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules959805756/work/payloads/0000/tree" - time="2024-01-08T11:58:26Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules959805756/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules959805756/work/payloads/0000/tree" - time="2024-01-08T11:58:26Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:26Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:58:26Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:58:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:26Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58739->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58739->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47647->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47647->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:26Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51600->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51600->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41947->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41947->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=debug msg="Handling reboot state" - time="2024-01-08T11:58:26Z" level=info msg="Rebooting device(s)" - time="2024-01-08T11:58:26Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-08T11:58:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules959805756/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules959805756/work/payloads/0000/tree" - time="2024-01-08T11:58:26Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:26Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-08T11:58:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules959805756/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules959805756/work/payloads/0000/tree" - time="2024-01-08T11:58:26Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:26Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:26Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:26Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:26Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53283->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53283->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54752->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54752->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:26Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36683->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36683->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56643->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56643->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:26Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules959805756/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules959805756/work/payloads/0000/tree" - time="2024-01-08T11:58:26Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-08T11:58:26Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:58:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:26Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48590->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48590->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37053->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37053->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:26Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44296->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44296->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48274->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48274->[::1]:53: read: connection refused" - time="2024-01-08T11:58:26Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:58:26Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:58:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules959805756/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules959805756/work/payloads/0000/tree" - time="2024-01-08T11:58:27Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:27Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:58:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules959805756/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules959805756/work/payloads/0000/tree" - time="2024-01-08T11:58:27Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:27Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-08T11:58:27Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:27Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42050->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42050->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46806->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46806->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:27Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59217->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59217->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41494->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41494->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:27Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules959805756/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules959805756/work/payloads/0000/tree" - time="2024-01-08T11:58:27Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:27Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:27Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:27Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules959805756/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules959805756/work/payloads/0000/tree" - time="2024-01-08T11:58:27Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:27Z" level=error msg="Cleanup failed: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:27Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:27Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:27Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:27Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:27Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules959805756/artifact_info file." - time="2024-01-08T11:58:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules959805756/artifact_info" - time="2024-01-08T11:58:27Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:27Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.86s) + time="2024-01-08T12:27:14Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:14Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:14Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:14Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43734->[::1]:53: read: connection refused" + time="2024-01-08T12:27:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43734->[::1]:53: read: connection refused" + time="2024-01-08T12:27:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50221->[::1]:53: read: connection refused" + time="2024-01-08T12:27:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50221->[::1]:53: read: connection refused" + time="2024-01-08T12:27:14Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:14Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:14Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:14Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules433135053/device_type" + time="2024-01-08T12:27:14Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:14Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:14Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:14Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:14Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:14Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:14Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:14Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:14Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:14Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:14Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:14Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules433135053/artifact_info file." + time="2024-01-08T12:27:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules433135053/artifact_info" + time="2024-01-08T12:27:14Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:14Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules433135053/artifact_info" + time="2024-01-08T12:27:14Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:14Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules433135053/device_type" + time="2024-01-08T12:27:14Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:14Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:14Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:14Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules433135053/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules433135053/work/payloads/0000/tree" + time="2024-01-08T12:27:14Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:14Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules433135053/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules433135053/work/payloads/0000/tree" + time="2024-01-08T12:27:14Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:14Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:14Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:14Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:14Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36623->[::1]:53: read: connection refused" + time="2024-01-08T12:27:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36623->[::1]:53: read: connection refused" + time="2024-01-08T12:27:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59535->[::1]:53: read: connection refused" + time="2024-01-08T12:27:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59535->[::1]:53: read: connection refused" + time="2024-01-08T12:27:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:14Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53967->[::1]:53: read: connection refused" + time="2024-01-08T12:27:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53967->[::1]:53: read: connection refused" + time="2024-01-08T12:27:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60498->[::1]:53: read: connection refused" + time="2024-01-08T12:27:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60498->[::1]:53: read: connection refused" + time="2024-01-08T12:27:14Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules433135053/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules433135053/work/payloads/0000/tree" + time="2024-01-08T12:27:14Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules433135053/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules433135053/work/payloads/0000/tree" + time="2024-01-08T12:27:14Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:14Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:14Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:14Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49343->[::1]:53: read: connection refused" + time="2024-01-08T12:27:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49343->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54765->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54765->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:15Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34986->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34986->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59150->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59150->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=debug msg="Handling reboot state" + time="2024-01-08T12:27:15Z" level=info msg="Rebooting device(s)" + time="2024-01-08T12:27:15Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2024-01-08T12:27:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules433135053/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules433135053/work/payloads/0000/tree" + time="2024-01-08T12:27:15Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:15Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2024-01-08T12:27:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules433135053/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules433135053/work/payloads/0000/tree" + time="2024-01-08T12:27:15Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:15Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:15Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:15Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:15Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56969->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56969->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45510->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45510->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:15Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41121->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41121->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60545->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60545->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:15Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules433135053/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules433135053/work/payloads/0000/tree" + time="2024-01-08T12:27:15Z" level=debug msg="Will try to rollback reboot the device" + time="2024-01-08T12:27:15Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:15Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49036->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49036->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38043->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38043->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:15Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51522->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51522->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34535->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34535->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:15Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules433135053/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules433135053/work/payloads/0000/tree" + time="2024-01-08T12:27:15Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:15Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules433135053/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules433135053/work/payloads/0000/tree" + time="2024-01-08T12:27:15Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:15Z" level=debug msg="Handling state after rollback reboot" + time="2024-01-08T12:27:15Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:15Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47773->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47773->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59296->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59296->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:15Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55298->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55298->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51304->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51304->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:15Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules433135053/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules433135053/work/payloads/0000/tree" + time="2024-01-08T12:27:15Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:15Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:15Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:15Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules433135053/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules433135053/work/payloads/0000/tree" + time="2024-01-08T12:27:15Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:15Z" level=error msg="Cleanup failed: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:15Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:15Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:15Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:15Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:15Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules433135053/artifact_info file." + time="2024-01-08T12:27:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules433135053/artifact_info" + time="2024-01-08T12:27:15Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:15Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.84s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_Cleanup state_test.go:4717: Killed in Cleanup state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:27Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:27Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:27Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:27Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58591->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58591->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36853->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36853->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:27Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:27Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:27Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules566259925/device_type" - time="2024-01-08T11:58:27Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:27Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:27Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:27Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:27Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:27Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules566259925/artifact_info file." - time="2024-01-08T11:58:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules566259925/artifact_info" - time="2024-01-08T11:58:27Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:27Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules566259925/artifact_info" - time="2024-01-08T11:58:27Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules566259925/device_type" - time="2024-01-08T11:58:27Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:27Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:27Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:27Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules566259925/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules566259925/work/payloads/0000/tree" - time="2024-01-08T11:58:27Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:27Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules566259925/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules566259925/work/payloads/0000/tree" - time="2024-01-08T11:58:27Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:27Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:27Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:27Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:27Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51025->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51025->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49098->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49098->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:27Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45472->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45472->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38166->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38166->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules566259925/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules566259925/work/payloads/0000/tree" - time="2024-01-08T11:58:27Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules566259925/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules566259925/work/payloads/0000/tree" - time="2024-01-08T11:58:27Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:27Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:58:27Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:58:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:27Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43364->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43364->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52505->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52505->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:27Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53773->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53773->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42729->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42729->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=debug msg="Handling reboot state" - time="2024-01-08T11:58:27Z" level=info msg="Rebooting device(s)" - time="2024-01-08T11:58:27Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-08T11:58:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules566259925/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules566259925/work/payloads/0000/tree" - time="2024-01-08T11:58:27Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:27Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-08T11:58:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules566259925/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules566259925/work/payloads/0000/tree" - time="2024-01-08T11:58:27Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:27Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:27Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:27Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:27Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44873->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44873->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50121->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50121->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:27Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51679->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51679->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41919->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41919->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:27Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules566259925/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules566259925/work/payloads/0000/tree" - time="2024-01-08T11:58:27Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-08T11:58:27Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:58:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:27Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33281->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33281->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44397->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44397->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:27Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47266->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47266->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54556->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54556->[::1]:53: read: connection refused" - time="2024-01-08T11:58:27Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:58:27Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:58:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules566259925/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules566259925/work/payloads/0000/tree" - time="2024-01-08T11:58:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:58:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules566259925/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules566259925/work/payloads/0000/tree" - time="2024-01-08T11:58:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:28Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-08T11:58:28Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:28Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51469->[::1]:53: read: connection refused" - time="2024-01-08T11:58:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51469->[::1]:53: read: connection refused" - time="2024-01-08T11:58:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36667->[::1]:53: read: connection refused" - time="2024-01-08T11:58:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36667->[::1]:53: read: connection refused" - time="2024-01-08T11:58:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:28Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42147->[::1]:53: read: connection refused" - time="2024-01-08T11:58:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42147->[::1]:53: read: connection refused" - time="2024-01-08T11:58:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49746->[::1]:53: read: connection refused" - time="2024-01-08T11:58:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49746->[::1]:53: read: connection refused" - time="2024-01-08T11:58:28Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:28Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules566259925/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules566259925/work/payloads/0000/tree" - time="2024-01-08T11:58:28Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:28Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:28Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:28Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules566259925/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules566259925/work/payloads/0000/tree" + time="2024-01-08T12:27:15Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:15Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:15Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:15Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47072->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47072->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38794->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38794->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:15Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:15Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:15Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules410954554/device_type" + time="2024-01-08T12:27:15Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:15Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:15Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:15Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:15Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:15Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:15Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:15Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:15Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:15Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:15Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:15Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules410954554/artifact_info file." + time="2024-01-08T12:27:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules410954554/artifact_info" + time="2024-01-08T12:27:15Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:15Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules410954554/artifact_info" + time="2024-01-08T12:27:15Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:15Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules410954554/device_type" + time="2024-01-08T12:27:15Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:15Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:15Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:15Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules410954554/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules410954554/work/payloads/0000/tree" + time="2024-01-08T12:27:15Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:15Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules410954554/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules410954554/work/payloads/0000/tree" + time="2024-01-08T12:27:15Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:15Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:15Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:15Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:15Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39267->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39267->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58854->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58854->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:15Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47893->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47893->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43272->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43272->[::1]:53: read: connection refused" + time="2024-01-08T12:27:15Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules410954554/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules410954554/work/payloads/0000/tree" + time="2024-01-08T12:27:15Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules410954554/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules410954554/work/payloads/0000/tree" + time="2024-01-08T12:27:16Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:16Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:16Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:16Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41694->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41694->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56135->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56135->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:16Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48845->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48845->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40822->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40822->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=debug msg="Handling reboot state" + time="2024-01-08T12:27:16Z" level=info msg="Rebooting device(s)" + time="2024-01-08T12:27:16Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2024-01-08T12:27:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules410954554/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules410954554/work/payloads/0000/tree" + time="2024-01-08T12:27:16Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:16Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2024-01-08T12:27:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules410954554/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules410954554/work/payloads/0000/tree" + time="2024-01-08T12:27:16Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:16Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:16Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:16Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:16Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48828->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48828->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38904->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38904->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:16Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56996->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56996->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45100->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45100->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:16Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules410954554/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules410954554/work/payloads/0000/tree" + time="2024-01-08T12:27:16Z" level=debug msg="Will try to rollback reboot the device" + time="2024-01-08T12:27:16Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:16Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55156->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55156->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42642->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42642->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:16Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52463->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52463->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60943->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60943->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:16Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules410954554/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules410954554/work/payloads/0000/tree" + time="2024-01-08T12:27:16Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:16Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules410954554/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules410954554/work/payloads/0000/tree" + time="2024-01-08T12:27:16Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:16Z" level=debug msg="Handling state after rollback reboot" + time="2024-01-08T12:27:16Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:16Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54498->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54498->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38798->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38798->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:16Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35147->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35147->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55185->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55185->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:16Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules410954554/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules410954554/work/payloads/0000/tree" + time="2024-01-08T12:27:16Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:16Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:16Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:16Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules410954554/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules410954554/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 12 (*app.updateCleanupState) - time="2024-01-08T11:58:28Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:58:28Z" level=info msg="Handling loaded state: cleanup" - time="2024-01-08T11:58:28Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:28Z" level=error msg="Mender shut down in state: cleanup" - time="2024-01-08T11:58:28Z" level=info msg="State transition: init [none] -> cleanup [Error]" - time="2024-01-08T11:58:28Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:28Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:28Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules566259925/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules566259925/work/payloads/0000/tree" - time="2024-01-08T11:58:28Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:28Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:28Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:28Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:28Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules566259925/artifact_info file." - time="2024-01-08T11:58:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules566259925/artifact_info" - time="2024-01-08T11:58:28Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:28Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.04s) + time="2024-01-08T12:27:16Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:27:16Z" level=info msg="Handling loaded state: cleanup" + time="2024-01-08T12:27:16Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:16Z" level=error msg="Mender shut down in state: cleanup" + time="2024-01-08T12:27:16Z" level=info msg="State transition: init [none] -> cleanup [Error]" + time="2024-01-08T12:27:16Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:16Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:16Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules410954554/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules410954554/work/payloads/0000/tree" + time="2024-01-08T12:27:16Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:16Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:16Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:16Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:16Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules410954554/artifact_info file." + time="2024-01-08T12:27:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules410954554/artifact_info" + time="2024-01-08T12:27:16Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:16Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.03s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit state_test.go:4717: Error in ArtifactCommit state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:28Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:28Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:28Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:28Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54080->[::1]:53: read: connection refused" - time="2024-01-08T11:58:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54080->[::1]:53: read: connection refused" - time="2024-01-08T11:58:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51039->[::1]:53: read: connection refused" - time="2024-01-08T11:58:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51039->[::1]:53: read: connection refused" - time="2024-01-08T11:58:28Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:28Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:28Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:28Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules270767842/device_type" - time="2024-01-08T11:58:28Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:28Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:28Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:28Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:28Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:28Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules270767842/artifact_info file." - time="2024-01-08T11:58:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules270767842/artifact_info" - time="2024-01-08T11:58:28Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:28Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules270767842/artifact_info" - time="2024-01-08T11:58:28Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules270767842/device_type" - time="2024-01-08T11:58:28Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:28Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:28Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:28Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules270767842/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules270767842/work/payloads/0000/tree" - time="2024-01-08T11:58:28Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:28Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules270767842/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules270767842/work/payloads/0000/tree" - time="2024-01-08T11:58:28Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:28Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:28Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:28Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:28Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56970->[::1]:53: read: connection refused" - time="2024-01-08T11:58:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56970->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57233->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57233->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:29Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59159->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59159->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53467->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53467->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules270767842/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules270767842/work/payloads/0000/tree" - time="2024-01-08T11:58:29Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules270767842/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules270767842/work/payloads/0000/tree" - time="2024-01-08T11:58:29Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:29Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:58:29Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:58:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:29Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55453->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55453->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42108->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42108->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:29Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51003->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51003->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45307->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45307->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=debug msg="Handling reboot state" - time="2024-01-08T11:58:29Z" level=info msg="Rebooting device(s)" - time="2024-01-08T11:58:29Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-08T11:58:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules270767842/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules270767842/work/payloads/0000/tree" - time="2024-01-08T11:58:29Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:29Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-08T11:58:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules270767842/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules270767842/work/payloads/0000/tree" - time="2024-01-08T11:58:29Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:29Z" level=debug msg="Handling state after reboot" - time="2024-01-08T11:58:29Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-08T11:58:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:29Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38856->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38856->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59347->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59347->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:29Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32995->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32995->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45342->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45342->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=debug msg="Handle update commit state" - time="2024-01-08T11:58:29Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2024-01-08T11:58:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules270767842/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules270767842/work/payloads/0000/tree" - time="2024-01-08T11:58:29Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:29Z" level=error msg="transient error: update commit failed: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:29Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:29Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:29Z" level=debug msg="Executing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60054->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60054->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48000->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48000->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:29Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52774->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52774->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50261->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50261->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:29Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules270767842/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules270767842/work/payloads/0000/tree" - time="2024-01-08T11:58:29Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-08T11:58:29Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:58:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:29Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53899->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53899->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49455->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49455->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46281->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46281->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42454->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42454->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:58:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:58:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules270767842/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules270767842/work/payloads/0000/tree" - time="2024-01-08T11:58:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:58:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules270767842/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules270767842/work/payloads/0000/tree" - time="2024-01-08T11:58:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:29Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-08T11:58:29Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42572->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42572->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37137->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37137->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:29Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33747->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33747->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52744->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52744->[::1]:53: read: connection refused" - time="2024-01-08T11:58:29Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:29Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules270767842/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules270767842/work/payloads/0000/tree" - time="2024-01-08T11:58:29Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:29Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:29Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:29Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules270767842/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules270767842/work/payloads/0000/tree" - time="2024-01-08T11:58:30Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:30Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:30Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:30Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:30Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules270767842/artifact_info file." - time="2024-01-08T11:58:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules270767842/artifact_info" - time="2024-01-08T11:58:30Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:30Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (1.47s) + time="2024-01-08T12:27:16Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:16Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:16Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:16Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42728->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42728->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46493->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46493->[::1]:53: read: connection refused" + time="2024-01-08T12:27:16Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:16Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:16Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:16Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:16Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules602675115/device_type" + time="2024-01-08T12:27:16Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:16Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:16Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:16Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:16Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:16Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:17Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules602675115/artifact_info file." + time="2024-01-08T12:27:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules602675115/artifact_info" + time="2024-01-08T12:27:17Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:17Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules602675115/artifact_info" + time="2024-01-08T12:27:17Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules602675115/device_type" + time="2024-01-08T12:27:17Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:17Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:17Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:17Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules602675115/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules602675115/work/payloads/0000/tree" + time="2024-01-08T12:27:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules602675115/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules602675115/work/payloads/0000/tree" + time="2024-01-08T12:27:17Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:17Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:17Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:17Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:17Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43004->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43004->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37479->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37479->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:17Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53308->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53308->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51681->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51681->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules602675115/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules602675115/work/payloads/0000/tree" + time="2024-01-08T12:27:17Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules602675115/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules602675115/work/payloads/0000/tree" + time="2024-01-08T12:27:17Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:17Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:17Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:17Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40944->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40944->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57417->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57417->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:17Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55091->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55091->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45568->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45568->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=debug msg="Handling reboot state" + time="2024-01-08T12:27:17Z" level=info msg="Rebooting device(s)" + time="2024-01-08T12:27:17Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2024-01-08T12:27:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules602675115/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules602675115/work/payloads/0000/tree" + time="2024-01-08T12:27:17Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:17Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2024-01-08T12:27:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules602675115/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules602675115/work/payloads/0000/tree" + time="2024-01-08T12:27:17Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:17Z" level=debug msg="Handling state after reboot" + time="2024-01-08T12:27:17Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2024-01-08T12:27:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:17Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36967->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36967->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52337->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52337->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:17Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49385->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49385->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38995->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38995->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=debug msg="Handle update commit state" + time="2024-01-08T12:27:17Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2024-01-08T12:27:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules602675115/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules602675115/work/payloads/0000/tree" + time="2024-01-08T12:27:17Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:17Z" level=error msg="transient error: update commit failed: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:17Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:17Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:17Z" level=debug msg="Executing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37874->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37874->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35413->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35413->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:17Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33537->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33537->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57940->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57940->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:17Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules602675115/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules602675115/work/payloads/0000/tree" + time="2024-01-08T12:27:17Z" level=debug msg="Will try to rollback reboot the device" + time="2024-01-08T12:27:17Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:17Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46626->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46626->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38099->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38099->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:17Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59719->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59719->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55489->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55489->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:17Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules602675115/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules602675115/work/payloads/0000/tree" + time="2024-01-08T12:27:17Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:17Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules602675115/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules602675115/work/payloads/0000/tree" + time="2024-01-08T12:27:17Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:17Z" level=debug msg="Handling state after rollback reboot" + time="2024-01-08T12:27:17Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:17Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47952->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47952->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46619->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46619->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:17Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40817->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40817->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35122->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35122->[::1]:53: read: connection refused" + time="2024-01-08T12:27:17Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:17Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules602675115/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules602675115/work/payloads/0000/tree" + time="2024-01-08T12:27:17Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:17Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:17Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules602675115/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules602675115/work/payloads/0000/tree" + time="2024-01-08T12:27:17Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:17Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:17Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:17Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules602675115/artifact_info file." + time="2024-01-08T12:27:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules602675115/artifact_info" + time="2024-01-08T12:27:17Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:17Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (1.10s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit state_test.go:4717: Killed in ArtifactCommit state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:30Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:30Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:30Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:30Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42364->[::1]:53: read: connection refused" - time="2024-01-08T11:58:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42364->[::1]:53: read: connection refused" - time="2024-01-08T11:58:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45153->[::1]:53: read: connection refused" - time="2024-01-08T11:58:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45153->[::1]:53: read: connection refused" - time="2024-01-08T11:58:30Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:30Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:30Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:30Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules600658547/device_type" - time="2024-01-08T11:58:30Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:30Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:30Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:30Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:30Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:30Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules600658547/artifact_info file." - time="2024-01-08T11:58:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules600658547/artifact_info" - time="2024-01-08T11:58:30Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:30Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules600658547/artifact_info" - time="2024-01-08T11:58:30Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules600658547/device_type" - time="2024-01-08T11:58:30Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:30Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:30Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:30Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules600658547/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules600658547/work/payloads/0000/tree" - time="2024-01-08T11:58:30Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:30Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules600658547/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules600658547/work/payloads/0000/tree" - time="2024-01-08T11:58:30Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:30Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:30Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:30Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:30Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45371->[::1]:53: read: connection refused" - time="2024-01-08T11:58:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45371->[::1]:53: read: connection refused" - time="2024-01-08T11:58:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52102->[::1]:53: read: connection refused" - time="2024-01-08T11:58:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52102->[::1]:53: read: connection refused" - time="2024-01-08T11:58:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:30Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54002->[::1]:53: read: connection refused" - time="2024-01-08T11:58:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54002->[::1]:53: read: connection refused" - time="2024-01-08T11:58:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39448->[::1]:53: read: connection refused" - time="2024-01-08T11:58:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39448->[::1]:53: read: connection refused" - time="2024-01-08T11:58:30Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules600658547/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules600658547/work/payloads/0000/tree" - time="2024-01-08T11:58:30Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules600658547/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules600658547/work/payloads/0000/tree" - time="2024-01-08T11:58:30Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:30Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:58:30Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:58:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:30Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46247->[::1]:53: read: connection refused" - time="2024-01-08T11:58:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46247->[::1]:53: read: connection refused" - time="2024-01-08T11:58:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41995->[::1]:53: read: connection refused" - time="2024-01-08T11:58:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41995->[::1]:53: read: connection refused" - time="2024-01-08T11:58:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:30Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55004->[::1]:53: read: connection refused" - time="2024-01-08T11:58:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55004->[::1]:53: read: connection refused" - time="2024-01-08T11:58:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33001->[::1]:53: read: connection refused" - time="2024-01-08T11:58:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33001->[::1]:53: read: connection refused" - time="2024-01-08T11:58:30Z" level=debug msg="Handling reboot state" - time="2024-01-08T11:58:30Z" level=info msg="Rebooting device(s)" - time="2024-01-08T11:58:30Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-08T11:58:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules600658547/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules600658547/work/payloads/0000/tree" - time="2024-01-08T11:58:31Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:31Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-08T11:58:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules600658547/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules600658547/work/payloads/0000/tree" - time="2024-01-08T11:58:31Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:31Z" level=debug msg="Handling state after reboot" - time="2024-01-08T11:58:31Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-08T11:58:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:31Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49274->[::1]:53: read: connection refused" - time="2024-01-08T11:58:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49274->[::1]:53: read: connection refused" - time="2024-01-08T11:58:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56034->[::1]:53: read: connection refused" - time="2024-01-08T11:58:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56034->[::1]:53: read: connection refused" - time="2024-01-08T11:58:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:31Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59328->[::1]:53: read: connection refused" - time="2024-01-08T11:58:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59328->[::1]:53: read: connection refused" - time="2024-01-08T11:58:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55588->[::1]:53: read: connection refused" - time="2024-01-08T11:58:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55588->[::1]:53: read: connection refused" - time="2024-01-08T11:58:31Z" level=debug msg="Handle update commit state" - time="2024-01-08T11:58:31Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2024-01-08T11:58:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules600658547/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules600658547/work/payloads/0000/tree" + time="2024-01-08T12:27:18Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:18Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:18Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:18Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54233->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54233->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45804->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45804->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:18Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:18Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:18Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules631475568/device_type" + time="2024-01-08T12:27:18Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:18Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:18Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:18Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:18Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:18Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:18Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:18Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:18Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:18Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:18Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules631475568/artifact_info file." + time="2024-01-08T12:27:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules631475568/artifact_info" + time="2024-01-08T12:27:18Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:18Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules631475568/artifact_info" + time="2024-01-08T12:27:18Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules631475568/device_type" + time="2024-01-08T12:27:18Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:18Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:18Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:18Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules631475568/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules631475568/work/payloads/0000/tree" + time="2024-01-08T12:27:18Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:18Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules631475568/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules631475568/work/payloads/0000/tree" + time="2024-01-08T12:27:18Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:18Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:18Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:18Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:18Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36377->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36377->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34090->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34090->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:18Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57600->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57600->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46855->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46855->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules631475568/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules631475568/work/payloads/0000/tree" + time="2024-01-08T12:27:18Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules631475568/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules631475568/work/payloads/0000/tree" + time="2024-01-08T12:27:18Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:18Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:18Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:18Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50672->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50672->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35196->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35196->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:18Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48693->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48693->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59029->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59029->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=debug msg="Handling reboot state" + time="2024-01-08T12:27:18Z" level=info msg="Rebooting device(s)" + time="2024-01-08T12:27:18Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2024-01-08T12:27:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules631475568/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules631475568/work/payloads/0000/tree" + time="2024-01-08T12:27:18Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:18Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2024-01-08T12:27:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules631475568/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules631475568/work/payloads/0000/tree" + time="2024-01-08T12:27:18Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:18Z" level=debug msg="Handling state after reboot" + time="2024-01-08T12:27:18Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2024-01-08T12:27:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:18Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38106->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38106->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38086->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38086->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:18Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39855->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39855->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45094->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45094->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=debug msg="Handle update commit state" + time="2024-01-08T12:27:18Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2024-01-08T12:27:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules631475568/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules631475568/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 8 (*app.updateRollbackState) - time="2024-01-08T11:58:31Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:58:31Z" level=info msg="Handling loaded state: update-commit" - time="2024-01-08T11:58:31Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:31Z" level=error msg="Mender shut down in state: update-commit" - time="2024-01-08T11:58:31Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:31Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:31Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36638->[::1]:53: read: connection refused" - time="2024-01-08T11:58:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36638->[::1]:53: read: connection refused" - time="2024-01-08T11:58:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39105->[::1]:53: read: connection refused" - time="2024-01-08T11:58:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39105->[::1]:53: read: connection refused" - time="2024-01-08T11:58:31Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:31Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules600658547/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules600658547/work/payloads/0000/tree" - time="2024-01-08T11:58:31Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-08T11:58:31Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:58:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:31Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49222->[::1]:53: read: connection refused" - time="2024-01-08T11:58:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49222->[::1]:53: read: connection refused" - time="2024-01-08T11:58:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47232->[::1]:53: read: connection refused" - time="2024-01-08T11:58:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47232->[::1]:53: read: connection refused" - time="2024-01-08T11:58:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:31Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57829->[::1]:53: read: connection refused" - time="2024-01-08T11:58:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57829->[::1]:53: read: connection refused" - time="2024-01-08T11:58:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44862->[::1]:53: read: connection refused" - time="2024-01-08T11:58:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44862->[::1]:53: read: connection refused" - time="2024-01-08T11:58:31Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:58:31Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:58:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules600658547/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules600658547/work/payloads/0000/tree" - time="2024-01-08T11:58:31Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:31Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:58:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules600658547/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules600658547/work/payloads/0000/tree" - time="2024-01-08T11:58:31Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:31Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-08T11:58:31Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:31Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51658->[::1]:53: read: connection refused" - time="2024-01-08T11:58:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51658->[::1]:53: read: connection refused" - time="2024-01-08T11:58:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36649->[::1]:53: read: connection refused" - time="2024-01-08T11:58:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36649->[::1]:53: read: connection refused" - time="2024-01-08T11:58:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44323->[::1]:53: read: connection refused" - time="2024-01-08T11:58:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44323->[::1]:53: read: connection refused" - time="2024-01-08T11:58:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42699->[::1]:53: read: connection refused" - time="2024-01-08T11:58:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42699->[::1]:53: read: connection refused" - time="2024-01-08T11:58:31Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:31Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules600658547/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules600658547/work/payloads/0000/tree" - time="2024-01-08T11:58:31Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:31Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:31Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:31Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules600658547/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules600658547/work/payloads/0000/tree" - time="2024-01-08T11:58:31Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:31Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:31Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:31Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:31Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules600658547/artifact_info file." - time="2024-01-08T11:58:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules600658547/artifact_info" - time="2024-01-08T11:58:31Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:31Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.51s) + time="2024-01-08T12:27:18Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:27:18Z" level=info msg="Handling loaded state: update-commit" + time="2024-01-08T12:27:18Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:18Z" level=error msg="Mender shut down in state: update-commit" + time="2024-01-08T12:27:18Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:18Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:18Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36771->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36771->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56424->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56424->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:18Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules631475568/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules631475568/work/payloads/0000/tree" + time="2024-01-08T12:27:18Z" level=debug msg="Will try to rollback reboot the device" + time="2024-01-08T12:27:18Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:18Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35865->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35865->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55761->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55761->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35886->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35886->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60000->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60000->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:18Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules631475568/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules631475568/work/payloads/0000/tree" + time="2024-01-08T12:27:18Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:18Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules631475568/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules631475568/work/payloads/0000/tree" + time="2024-01-08T12:27:18Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:18Z" level=debug msg="Handling state after rollback reboot" + time="2024-01-08T12:27:18Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:18Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56522->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56522->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55660->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55660->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:18Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48619->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48619->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45773->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45773->[::1]:53: read: connection refused" + time="2024-01-08T12:27:18Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:18Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules631475568/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules631475568/work/payloads/0000/tree" + time="2024-01-08T12:27:18Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:18Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:18Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:18Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules631475568/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules631475568/work/payloads/0000/tree" + time="2024-01-08T12:27:18Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:18Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:18Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:18Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:18Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules631475568/artifact_info file." + time="2024-01-08T12:27:18Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules631475568/artifact_info" + time="2024-01-08T12:27:18Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:18Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.22s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit,_no_reboot state_test.go:4717: Error in ArtifactCommit, no reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:32Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:32Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:32Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:32Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50937->[::1]:53: read: connection refused" - time="2024-01-08T11:58:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50937->[::1]:53: read: connection refused" - time="2024-01-08T11:58:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47547->[::1]:53: read: connection refused" - time="2024-01-08T11:58:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47547->[::1]:53: read: connection refused" - time="2024-01-08T11:58:32Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:32Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:32Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:32Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules444666840/device_type" - time="2024-01-08T11:58:32Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:32Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:32Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:32Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:32Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:32Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules444666840/artifact_info file." - time="2024-01-08T11:58:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules444666840/artifact_info" - time="2024-01-08T11:58:32Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:32Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules444666840/artifact_info" - time="2024-01-08T11:58:32Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules444666840/device_type" - time="2024-01-08T11:58:32Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:32Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:32Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:32Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules444666840/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules444666840/work/payloads/0000/tree" - time="2024-01-08T11:58:32Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:32Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules444666840/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules444666840/work/payloads/0000/tree" - time="2024-01-08T11:58:32Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:32Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:32Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:32Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:32Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52236->[::1]:53: read: connection refused" - time="2024-01-08T11:58:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52236->[::1]:53: read: connection refused" - time="2024-01-08T11:58:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34615->[::1]:53: read: connection refused" - time="2024-01-08T11:58:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34615->[::1]:53: read: connection refused" - time="2024-01-08T11:58:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:32Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36155->[::1]:53: read: connection refused" - time="2024-01-08T11:58:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36155->[::1]:53: read: connection refused" - time="2024-01-08T11:58:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33013->[::1]:53: read: connection refused" - time="2024-01-08T11:58:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33013->[::1]:53: read: connection refused" - time="2024-01-08T11:58:32Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules444666840/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules444666840/work/payloads/0000/tree" - time="2024-01-08T11:58:32Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules444666840/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules444666840/work/payloads/0000/tree" - time="2024-01-08T11:58:32Z" level=debug msg="Update module output: No" - time="2024-01-08T11:58:32Z" level=debug msg="Module does not need reboot" - time="2024-01-08T11:58:32Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-08T11:58:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:32Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48200->[::1]:53: read: connection refused" - time="2024-01-08T11:58:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48200->[::1]:53: read: connection refused" - time="2024-01-08T11:58:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51880->[::1]:53: read: connection refused" - time="2024-01-08T11:58:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51880->[::1]:53: read: connection refused" - time="2024-01-08T11:58:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:32Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34621->[::1]:53: read: connection refused" - time="2024-01-08T11:58:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34621->[::1]:53: read: connection refused" - time="2024-01-08T11:58:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51777->[::1]:53: read: connection refused" - time="2024-01-08T11:58:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51777->[::1]:53: read: connection refused" - time="2024-01-08T11:58:33Z" level=debug msg="Handle update commit state" - time="2024-01-08T11:58:33Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2024-01-08T11:58:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules444666840/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules444666840/work/payloads/0000/tree" - time="2024-01-08T11:58:33Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:33Z" level=error msg="transient error: update commit failed: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:33Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:33Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:33Z" level=debug msg="Executing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53412->[::1]:53: read: connection refused" - time="2024-01-08T11:58:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53412->[::1]:53: read: connection refused" - time="2024-01-08T11:58:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35559->[::1]:53: read: connection refused" - time="2024-01-08T11:58:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35559->[::1]:53: read: connection refused" - time="2024-01-08T11:58:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:33Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46471->[::1]:53: read: connection refused" - time="2024-01-08T11:58:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46471->[::1]:53: read: connection refused" - time="2024-01-08T11:58:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35503->[::1]:53: read: connection refused" - time="2024-01-08T11:58:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35503->[::1]:53: read: connection refused" - time="2024-01-08T11:58:33Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:33Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules444666840/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules444666840/work/payloads/0000/tree" - time="2024-01-08T11:58:33Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:33Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50045->[::1]:53: read: connection refused" - time="2024-01-08T11:58:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50045->[::1]:53: read: connection refused" - time="2024-01-08T11:58:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55969->[::1]:53: read: connection refused" - time="2024-01-08T11:58:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55969->[::1]:53: read: connection refused" - time="2024-01-08T11:58:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:33Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41362->[::1]:53: read: connection refused" - time="2024-01-08T11:58:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41362->[::1]:53: read: connection refused" - time="2024-01-08T11:58:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35011->[::1]:53: read: connection refused" - time="2024-01-08T11:58:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35011->[::1]:53: read: connection refused" - time="2024-01-08T11:58:33Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:33Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules444666840/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules444666840/work/payloads/0000/tree" - time="2024-01-08T11:58:33Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:33Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:33Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:33Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules444666840/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules444666840/work/payloads/0000/tree" - time="2024-01-08T11:58:33Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:33Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:33Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:33Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:33Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules444666840/artifact_info file." - time="2024-01-08T11:58:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules444666840/artifact_info" - time="2024-01-08T11:58:33Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:33Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (1.47s) + time="2024-01-08T12:27:19Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:19Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:19Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:19Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59326->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59326->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50078->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50078->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:19Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:19Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:19Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules959854873/device_type" + time="2024-01-08T12:27:19Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:19Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:19Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:19Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:19Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules959854873/artifact_info file." + time="2024-01-08T12:27:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules959854873/artifact_info" + time="2024-01-08T12:27:19Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:19Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules959854873/artifact_info" + time="2024-01-08T12:27:19Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules959854873/device_type" + time="2024-01-08T12:27:19Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:19Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:19Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:19Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules959854873/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules959854873/work/payloads/0000/tree" + time="2024-01-08T12:27:19Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:19Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules959854873/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules959854873/work/payloads/0000/tree" + time="2024-01-08T12:27:19Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:19Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:19Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:19Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:19Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36424->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36424->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54731->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54731->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:19Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42149->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42149->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44778->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44778->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules959854873/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules959854873/work/payloads/0000/tree" + time="2024-01-08T12:27:19Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules959854873/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules959854873/work/payloads/0000/tree" + time="2024-01-08T12:27:19Z" level=debug msg="Update module output: No" + time="2024-01-08T12:27:19Z" level=debug msg="Module does not need reboot" + time="2024-01-08T12:27:19Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" + time="2024-01-08T12:27:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:19Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42787->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42787->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55665->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55665->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:19Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38799->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38799->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59197->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59197->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=debug msg="Handle update commit state" + time="2024-01-08T12:27:19Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2024-01-08T12:27:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules959854873/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules959854873/work/payloads/0000/tree" + time="2024-01-08T12:27:19Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:19Z" level=error msg="transient error: update commit failed: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:19Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:19Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:19Z" level=debug msg="Executing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43952->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43952->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55264->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55264->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:19Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36511->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36511->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41358->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41358->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:19Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules959854873/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules959854873/work/payloads/0000/tree" + time="2024-01-08T12:27:19Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:19Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40237->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40237->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32969->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32969->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:19Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36169->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36169->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33925->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33925->[::1]:53: read: connection refused" + time="2024-01-08T12:27:19Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:19Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules959854873/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules959854873/work/payloads/0000/tree" + time="2024-01-08T12:27:19Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:19Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:19Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:19Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules959854873/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules959854873/work/payloads/0000/tree" + time="2024-01-08T12:27:19Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:19Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:19Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:19Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules959854873/artifact_info file." + time="2024-01-08T12:27:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules959854873/artifact_info" + time="2024-01-08T12:27:19Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:19Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.76s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit,_no_reboot state_test.go:4717: Killed in ArtifactCommit, no reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:33Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:33Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:33Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:33Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36124->[::1]:53: read: connection refused" - time="2024-01-08T11:58:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36124->[::1]:53: read: connection refused" - time="2024-01-08T11:58:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35602->[::1]:53: read: connection refused" - time="2024-01-08T11:58:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35602->[::1]:53: read: connection refused" - time="2024-01-08T11:58:33Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:33Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:33Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:33Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules671684001/device_type" - time="2024-01-08T11:58:33Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:33Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:33Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:33Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:33Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:33Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules671684001/artifact_info file." - time="2024-01-08T11:58:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules671684001/artifact_info" - time="2024-01-08T11:58:33Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:33Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules671684001/artifact_info" - time="2024-01-08T11:58:33Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules671684001/device_type" - time="2024-01-08T11:58:33Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:33Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:33Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:33Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules671684001/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules671684001/work/payloads/0000/tree" - time="2024-01-08T11:58:33Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:33Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules671684001/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules671684001/work/payloads/0000/tree" - time="2024-01-08T11:58:33Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:33Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:33Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:33Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:33Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51127->[::1]:53: read: connection refused" - time="2024-01-08T11:58:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51127->[::1]:53: read: connection refused" - time="2024-01-08T11:58:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45385->[::1]:53: read: connection refused" - time="2024-01-08T11:58:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45385->[::1]:53: read: connection refused" - time="2024-01-08T11:58:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:34Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58054->[::1]:53: read: connection refused" - time="2024-01-08T11:58:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58054->[::1]:53: read: connection refused" - time="2024-01-08T11:58:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59250->[::1]:53: read: connection refused" - time="2024-01-08T11:58:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59250->[::1]:53: read: connection refused" - time="2024-01-08T11:58:34Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules671684001/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules671684001/work/payloads/0000/tree" - time="2024-01-08T11:58:34Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules671684001/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules671684001/work/payloads/0000/tree" - time="2024-01-08T11:58:34Z" level=debug msg="Update module output: No" - time="2024-01-08T11:58:34Z" level=debug msg="Module does not need reboot" - time="2024-01-08T11:58:34Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-08T11:58:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:34Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52435->[::1]:53: read: connection refused" - time="2024-01-08T11:58:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52435->[::1]:53: read: connection refused" - time="2024-01-08T11:58:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38000->[::1]:53: read: connection refused" - time="2024-01-08T11:58:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38000->[::1]:53: read: connection refused" - time="2024-01-08T11:58:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:34Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53617->[::1]:53: read: connection refused" - time="2024-01-08T11:58:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53617->[::1]:53: read: connection refused" - time="2024-01-08T11:58:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60202->[::1]:53: read: connection refused" - time="2024-01-08T11:58:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60202->[::1]:53: read: connection refused" - time="2024-01-08T11:58:34Z" level=debug msg="Handle update commit state" - time="2024-01-08T11:58:34Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2024-01-08T11:58:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules671684001/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules671684001/work/payloads/0000/tree" + time="2024-01-08T12:27:20Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:20Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:20Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:20Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60922->[::1]:53: read: connection refused" + time="2024-01-08T12:27:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60922->[::1]:53: read: connection refused" + time="2024-01-08T12:27:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39633->[::1]:53: read: connection refused" + time="2024-01-08T12:27:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39633->[::1]:53: read: connection refused" + time="2024-01-08T12:27:20Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:20Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:20Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:20Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules236226166/device_type" + time="2024-01-08T12:27:20Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:20Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:20Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:20Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:20Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:20Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:20Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:20Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:20Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:20Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:20Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules236226166/artifact_info file." + time="2024-01-08T12:27:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules236226166/artifact_info" + time="2024-01-08T12:27:20Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:20Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules236226166/artifact_info" + time="2024-01-08T12:27:20Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules236226166/device_type" + time="2024-01-08T12:27:20Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:20Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:20Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:20Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules236226166/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules236226166/work/payloads/0000/tree" + time="2024-01-08T12:27:20Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:20Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules236226166/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules236226166/work/payloads/0000/tree" + time="2024-01-08T12:27:20Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:20Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:20Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:20Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:20Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58238->[::1]:53: read: connection refused" + time="2024-01-08T12:27:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58238->[::1]:53: read: connection refused" + time="2024-01-08T12:27:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42343->[::1]:53: read: connection refused" + time="2024-01-08T12:27:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42343->[::1]:53: read: connection refused" + time="2024-01-08T12:27:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:20Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52821->[::1]:53: read: connection refused" + time="2024-01-08T12:27:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52821->[::1]:53: read: connection refused" + time="2024-01-08T12:27:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49942->[::1]:53: read: connection refused" + time="2024-01-08T12:27:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49942->[::1]:53: read: connection refused" + time="2024-01-08T12:27:20Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules236226166/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules236226166/work/payloads/0000/tree" + time="2024-01-08T12:27:20Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules236226166/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules236226166/work/payloads/0000/tree" + time="2024-01-08T12:27:20Z" level=debug msg="Update module output: No" + time="2024-01-08T12:27:20Z" level=debug msg="Module does not need reboot" + time="2024-01-08T12:27:20Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" + time="2024-01-08T12:27:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:20Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34841->[::1]:53: read: connection refused" + time="2024-01-08T12:27:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34841->[::1]:53: read: connection refused" + time="2024-01-08T12:27:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41906->[::1]:53: read: connection refused" + time="2024-01-08T12:27:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41906->[::1]:53: read: connection refused" + time="2024-01-08T12:27:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:20Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60992->[::1]:53: read: connection refused" + time="2024-01-08T12:27:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60992->[::1]:53: read: connection refused" + time="2024-01-08T12:27:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57815->[::1]:53: read: connection refused" + time="2024-01-08T12:27:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57815->[::1]:53: read: connection refused" + time="2024-01-08T12:27:20Z" level=debug msg="Handle update commit state" + time="2024-01-08T12:27:20Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2024-01-08T12:27:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules236226166/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules236226166/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 5 (*app.updateRollbackState) - time="2024-01-08T11:58:34Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:58:34Z" level=info msg="Handling loaded state: update-commit" - time="2024-01-08T11:58:34Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:34Z" level=error msg="Mender shut down in state: update-commit" - time="2024-01-08T11:58:34Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:34Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:34Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41451->[::1]:53: read: connection refused" - time="2024-01-08T11:58:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41451->[::1]:53: read: connection refused" - time="2024-01-08T11:58:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48696->[::1]:53: read: connection refused" - time="2024-01-08T11:58:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48696->[::1]:53: read: connection refused" - time="2024-01-08T11:58:34Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:34Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules671684001/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules671684001/work/payloads/0000/tree" - time="2024-01-08T11:58:34Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:34Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43838->[::1]:53: read: connection refused" - time="2024-01-08T11:58:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43838->[::1]:53: read: connection refused" - time="2024-01-08T11:58:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47427->[::1]:53: read: connection refused" - time="2024-01-08T11:58:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47427->[::1]:53: read: connection refused" - time="2024-01-08T11:58:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:34Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55395->[::1]:53: read: connection refused" - time="2024-01-08T11:58:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55395->[::1]:53: read: connection refused" - time="2024-01-08T11:58:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35291->[::1]:53: read: connection refused" - time="2024-01-08T11:58:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35291->[::1]:53: read: connection refused" - time="2024-01-08T11:58:34Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:34Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules671684001/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules671684001/work/payloads/0000/tree" - time="2024-01-08T11:58:34Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:34Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:34Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:34Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules671684001/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules671684001/work/payloads/0000/tree" - time="2024-01-08T11:58:34Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:34Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:34Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:34Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:34Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules671684001/artifact_info file." - time="2024-01-08T11:58:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules671684001/artifact_info" - time="2024-01-08T11:58:34Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:34Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.19s) + time="2024-01-08T12:27:20Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:27:20Z" level=info msg="Handling loaded state: update-commit" + time="2024-01-08T12:27:20Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:20Z" level=error msg="Mender shut down in state: update-commit" + time="2024-01-08T12:27:20Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:20Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:20Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41579->[::1]:53: read: connection refused" + time="2024-01-08T12:27:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41579->[::1]:53: read: connection refused" + time="2024-01-08T12:27:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57836->[::1]:53: read: connection refused" + time="2024-01-08T12:27:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57836->[::1]:53: read: connection refused" + time="2024-01-08T12:27:20Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:20Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules236226166/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules236226166/work/payloads/0000/tree" + time="2024-01-08T12:27:20Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:20Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38292->[::1]:53: read: connection refused" + time="2024-01-08T12:27:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38292->[::1]:53: read: connection refused" + time="2024-01-08T12:27:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38983->[::1]:53: read: connection refused" + time="2024-01-08T12:27:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38983->[::1]:53: read: connection refused" + time="2024-01-08T12:27:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:20Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46485->[::1]:53: read: connection refused" + time="2024-01-08T12:27:20Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46485->[::1]:53: read: connection refused" + time="2024-01-08T12:27:20Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35385->[::1]:53: read: connection refused" + time="2024-01-08T12:27:20Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35385->[::1]:53: read: connection refused" + time="2024-01-08T12:27:20Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:20Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules236226166/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules236226166/work/payloads/0000/tree" + time="2024-01-08T12:27:20Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:20Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:20Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:20Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules236226166/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules236226166/work/payloads/0000/tree" + time="2024-01-08T12:27:20Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:20Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:20Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:20Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:20Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules236226166/artifact_info file." + time="2024-01-08T12:27:20Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules236226166/artifact_info" + time="2024-01-08T12:27:20Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:20Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.15s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_Download_Enter_00_state,_no_rollback state_test.go:4717: Error in Download_Enter_00 state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:34Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:34Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:34Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:34Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40636->[::1]:53: read: connection refused" - time="2024-01-08T11:58:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40636->[::1]:53: read: connection refused" - time="2024-01-08T11:58:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51508->[::1]:53: read: connection refused" - time="2024-01-08T11:58:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51508->[::1]:53: read: connection refused" - time="2024-01-08T11:58:34Z" level=error msg="transient error: error calling enter script for (error) update-fetch state: error running enter state script(s) for Download_Enter state: statescript: error executing 'Download_Enter_00': 1 : exit status 1" - time="2024-01-08T11:58:34Z" level=info msg="State transition: update-fetch [Download_Enter] -> error [Error]" - time="2024-01-08T11:58:34Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:34Z" level=debug msg="Executing script: Download_Error_00" - time="2024-01-08T11:58:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:34Z" level=info msg="Handling error state, current error: transient error: error calling enter script for (error) update-fetch state: error running enter state script(s) for Download_Enter state: statescript: error executing 'Download_Enter_00': 1 : exit status 1" - time="2024-01-08T11:58:34Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules640954782/artifact_info file." - time="2024-01-08T11:58:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules640954782/artifact_info" - time="2024-01-08T11:58:34Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:34Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.07s) + time="2024-01-08T12:27:21Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:21Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:21Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:21Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48156->[::1]:53: read: connection refused" + time="2024-01-08T12:27:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48156->[::1]:53: read: connection refused" + time="2024-01-08T12:27:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58578->[::1]:53: read: connection refused" + time="2024-01-08T12:27:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58578->[::1]:53: read: connection refused" + time="2024-01-08T12:27:21Z" level=error msg="transient error: error calling enter script for (error) update-fetch state: error running enter state script(s) for Download_Enter state: statescript: error executing 'Download_Enter_00': 1 : exit status 1" + time="2024-01-08T12:27:21Z" level=info msg="State transition: update-fetch [Download_Enter] -> error [Error]" + time="2024-01-08T12:27:21Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:21Z" level=debug msg="Executing script: Download_Error_00" + time="2024-01-08T12:27:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:21Z" level=info msg="Handling error state, current error: transient error: error calling enter script for (error) update-fetch state: error running enter state script(s) for Download_Enter state: statescript: error executing 'Download_Enter_00': 1 : exit status 1" + time="2024-01-08T12:27:21Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules698443671/artifact_info file." + time="2024-01-08T12:27:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules698443671/artifact_info" + time="2024-01-08T12:27:21Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:21Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.08s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_Download_Enter_00_state,_no_rollback state_test.go:4717: Killed in Download_Enter_00 state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:34Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:34Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:34Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:34Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55287->[::1]:53: read: connection refused" - time="2024-01-08T11:58:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55287->[::1]:53: read: connection refused" + time="2024-01-08T12:27:21Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:21Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:21Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:21Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33473->[::1]:53: read: connection refused" + time="2024-01-08T12:27:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33473->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 1 (*app.idleState) - time="2024-01-08T11:58:35Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:58:35Z" level=info msg="Handling loaded state: update-fetch" - time="2024-01-08T11:58:35Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:35Z" level=error msg="Mender shut down in state: update-fetch" - time="2024-01-08T11:58:35Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules535953887/artifact_info file." - time="2024-01-08T11:58:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules535953887/artifact_info" - time="2024-01-08T11:58:35Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:35Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:21Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:27:21Z" level=info msg="Handling loaded state: update-fetch" + time="2024-01-08T12:27:21Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:21Z" level=error msg="Mender shut down in state: update-fetch" + time="2024-01-08T12:27:21Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules500770764/artifact_info file." + time="2024-01-08T12:27:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules500770764/artifact_info" + time="2024-01-08T12:27:21Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:21Z" level=debug msg="Current manifest data: old_name" --- PASS: TestStateTransitionsWithUpdateModules (0.01s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00_state,_no_rollback state_test.go:4717: Error in ArtifactInstall_Enter_00 state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:35Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:35Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:35Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:35Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53094->[::1]:53: read: connection refused" - time="2024-01-08T11:58:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53094->[::1]:53: read: connection refused" - time="2024-01-08T11:58:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33778->[::1]:53: read: connection refused" - time="2024-01-08T11:58:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33778->[::1]:53: read: connection refused" - time="2024-01-08T11:58:35Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:35Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:35Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:35Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules236147636/device_type" - time="2024-01-08T11:58:35Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:35Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:35Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:35Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:35Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:35Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules236147636/artifact_info file." - time="2024-01-08T11:58:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules236147636/artifact_info" - time="2024-01-08T11:58:35Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:35Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules236147636/artifact_info" - time="2024-01-08T11:58:35Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules236147636/device_type" - time="2024-01-08T11:58:35Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:35Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:35Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:35Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules236147636/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules236147636/work/payloads/0000/tree" - time="2024-01-08T11:58:35Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules236147636/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules236147636/work/payloads/0000/tree" - time="2024-01-08T11:58:35Z" level=debug msg="Update module output: No" - time="2024-01-08T11:58:35Z" level=debug msg="Module does not support rollback" - time="2024-01-08T11:58:35Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:35Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:35Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50645->[::1]:53: read: connection refused" - time="2024-01-08T11:58:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50645->[::1]:53: read: connection refused" - time="2024-01-08T11:58:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42685->[::1]:53: read: connection refused" - time="2024-01-08T11:58:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42685->[::1]:53: read: connection refused" - time="2024-01-08T11:58:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:35Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33613->[::1]:53: read: connection refused" - time="2024-01-08T11:58:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33613->[::1]:53: read: connection refused" - time="2024-01-08T11:58:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58560->[::1]:53: read: connection refused" - time="2024-01-08T11:58:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58560->[::1]:53: read: connection refused" - time="2024-01-08T11:58:35Z" level=error msg="transient error: error calling enter script for (error) update-install state: error running enter state script(s) for ArtifactInstall state: statescript: error executing 'ArtifactInstall_Enter_00': 1 : exit status 1" - time="2024-01-08T11:58:35Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2024-01-08T11:58:35Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:35Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:35Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46569->[::1]:53: read: connection refused" - time="2024-01-08T11:58:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46569->[::1]:53: read: connection refused" - time="2024-01-08T11:58:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46204->[::1]:53: read: connection refused" - time="2024-01-08T11:58:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46204->[::1]:53: read: connection refused" - time="2024-01-08T11:58:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:35Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40338->[::1]:53: read: connection refused" - time="2024-01-08T11:58:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40338->[::1]:53: read: connection refused" - time="2024-01-08T11:58:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57680->[::1]:53: read: connection refused" - time="2024-01-08T11:58:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57680->[::1]:53: read: connection refused" - time="2024-01-08T11:58:35Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:35Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules236147636/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules236147636/work/payloads/0000/tree" - time="2024-01-08T11:58:35Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:35Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:35Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:35Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules236147636/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules236147636/work/payloads/0000/tree" - time="2024-01-08T11:58:35Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:35Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:35Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:35Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:35Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.49s) + time="2024-01-08T12:27:21Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:21Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:21Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:21Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45490->[::1]:53: read: connection refused" + time="2024-01-08T12:27:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45490->[::1]:53: read: connection refused" + time="2024-01-08T12:27:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42862->[::1]:53: read: connection refused" + time="2024-01-08T12:27:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42862->[::1]:53: read: connection refused" + time="2024-01-08T12:27:21Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:21Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:21Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:21Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules045450405/device_type" + time="2024-01-08T12:27:21Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:21Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:21Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:21Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:21Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:21Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:21Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:21Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:21Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:21Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:21Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:21Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules045450405/artifact_info file." + time="2024-01-08T12:27:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules045450405/artifact_info" + time="2024-01-08T12:27:21Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:21Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules045450405/artifact_info" + time="2024-01-08T12:27:21Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:21Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules045450405/device_type" + time="2024-01-08T12:27:21Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:21Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:21Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:21Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules045450405/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules045450405/work/payloads/0000/tree" + time="2024-01-08T12:27:21Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:21Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules045450405/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules045450405/work/payloads/0000/tree" + time="2024-01-08T12:27:21Z" level=debug msg="Update module output: No" + time="2024-01-08T12:27:21Z" level=debug msg="Module does not support rollback" + time="2024-01-08T12:27:21Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:21Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:21Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46548->[::1]:53: read: connection refused" + time="2024-01-08T12:27:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46548->[::1]:53: read: connection refused" + time="2024-01-08T12:27:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55017->[::1]:53: read: connection refused" + time="2024-01-08T12:27:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55017->[::1]:53: read: connection refused" + time="2024-01-08T12:27:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:21Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52507->[::1]:53: read: connection refused" + time="2024-01-08T12:27:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52507->[::1]:53: read: connection refused" + time="2024-01-08T12:27:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51368->[::1]:53: read: connection refused" + time="2024-01-08T12:27:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51368->[::1]:53: read: connection refused" + time="2024-01-08T12:27:21Z" level=error msg="transient error: error calling enter script for (error) update-install state: error running enter state script(s) for ArtifactInstall state: statescript: error executing 'ArtifactInstall_Enter_00': 1 : exit status 1" + time="2024-01-08T12:27:21Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2024-01-08T12:27:21Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:21Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:21Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53635->[::1]:53: read: connection refused" + time="2024-01-08T12:27:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53635->[::1]:53: read: connection refused" + time="2024-01-08T12:27:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40396->[::1]:53: read: connection refused" + time="2024-01-08T12:27:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40396->[::1]:53: read: connection refused" + time="2024-01-08T12:27:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:21Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57383->[::1]:53: read: connection refused" + time="2024-01-08T12:27:21Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57383->[::1]:53: read: connection refused" + time="2024-01-08T12:27:21Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39614->[::1]:53: read: connection refused" + time="2024-01-08T12:27:21Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39614->[::1]:53: read: connection refused" + time="2024-01-08T12:27:21Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:21Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules045450405/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules045450405/work/payloads/0000/tree" + time="2024-01-08T12:27:21Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:21Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:21Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:21Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules045450405/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules045450405/work/payloads/0000/tree" + time="2024-01-08T12:27:21Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:21Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:21Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:21Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:21Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:21Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.48s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00_state,_no_rollback state_test.go:4717: Killed in ArtifactInstall_Enter_00 state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:35Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:35Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:35Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:35Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52017->[::1]:53: read: connection refused" - time="2024-01-08T11:58:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52017->[::1]:53: read: connection refused" - time="2024-01-08T11:58:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47613->[::1]:53: read: connection refused" - time="2024-01-08T11:58:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47613->[::1]:53: read: connection refused" - time="2024-01-08T11:58:36Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:36Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:36Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:36Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules553783469/device_type" - time="2024-01-08T11:58:36Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:36Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:36Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:36Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:36Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:36Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules553783469/artifact_info file." - time="2024-01-08T11:58:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules553783469/artifact_info" - time="2024-01-08T11:58:36Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:36Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules553783469/artifact_info" - time="2024-01-08T11:58:36Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules553783469/device_type" - time="2024-01-08T11:58:36Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:36Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:36Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules553783469/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules553783469/work/payloads/0000/tree" - time="2024-01-08T11:58:36Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:36Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules553783469/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules553783469/work/payloads/0000/tree" - time="2024-01-08T11:58:36Z" level=debug msg="Update module output: No" - time="2024-01-08T11:58:36Z" level=debug msg="Module does not support rollback" - time="2024-01-08T11:58:36Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:36Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:36Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48479->[::1]:53: read: connection refused" - time="2024-01-08T11:58:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48479->[::1]:53: read: connection refused" - time="2024-01-08T11:58:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41170->[::1]:53: read: connection refused" - time="2024-01-08T11:58:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41170->[::1]:53: read: connection refused" - time="2024-01-08T11:58:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:36Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36364->[::1]:53: read: connection refused" - time="2024-01-08T11:58:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36364->[::1]:53: read: connection refused" + time="2024-01-08T12:27:22Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:22Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:22Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:22Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49933->[::1]:53: read: connection refused" + time="2024-01-08T12:27:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49933->[::1]:53: read: connection refused" + time="2024-01-08T12:27:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40248->[::1]:53: read: connection refused" + time="2024-01-08T12:27:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40248->[::1]:53: read: connection refused" + time="2024-01-08T12:27:22Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:22Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:22Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:22Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules366306034/device_type" + time="2024-01-08T12:27:22Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:22Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:22Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:22Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:22Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:22Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:22Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:22Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:22Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:22Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:22Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:22Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:22Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:22Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:22Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:22Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:22Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:22Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:22Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:22Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:22Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:22Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:22Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:22Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules366306034/artifact_info file." + time="2024-01-08T12:27:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules366306034/artifact_info" + time="2024-01-08T12:27:22Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:22Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules366306034/artifact_info" + time="2024-01-08T12:27:22Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules366306034/device_type" + time="2024-01-08T12:27:22Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:22Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:22Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:22Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules366306034/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules366306034/work/payloads/0000/tree" + time="2024-01-08T12:27:22Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:22Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules366306034/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules366306034/work/payloads/0000/tree" + time="2024-01-08T12:27:22Z" level=debug msg="Update module output: No" + time="2024-01-08T12:27:22Z" level=debug msg="Module does not support rollback" + time="2024-01-08T12:27:22Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:22Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:22Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59491->[::1]:53: read: connection refused" + time="2024-01-08T12:27:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59491->[::1]:53: read: connection refused" + time="2024-01-08T12:27:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60904->[::1]:53: read: connection refused" + time="2024-01-08T12:27:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60904->[::1]:53: read: connection refused" + time="2024-01-08T12:27:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:22Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55507->[::1]:53: read: connection refused" + time="2024-01-08T12:27:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55507->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 4 (*app.updateErrorState) - time="2024-01-08T11:58:36Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:58:36Z" level=info msg="Handling loaded state: update-install" - time="2024-01-08T11:58:36Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:36Z" level=error msg="Mender shut down in state: update-install" - time="2024-01-08T11:58:36Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2024-01-08T11:58:36Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:36Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:36Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43829->[::1]:53: read: connection refused" - time="2024-01-08T11:58:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43829->[::1]:53: read: connection refused" - time="2024-01-08T11:58:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33728->[::1]:53: read: connection refused" - time="2024-01-08T11:58:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33728->[::1]:53: read: connection refused" - time="2024-01-08T11:58:36Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:36Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules553783469/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules553783469/work/payloads/0000/tree" - time="2024-01-08T11:58:36Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:36Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:36Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:36Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules553783469/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules553783469/work/payloads/0000/tree" - time="2024-01-08T11:58:36Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:36Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:36Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:36Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:36Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.12s) + time="2024-01-08T12:27:22Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:27:22Z" level=info msg="Handling loaded state: update-install" + time="2024-01-08T12:27:22Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:22Z" level=error msg="Mender shut down in state: update-install" + time="2024-01-08T12:27:22Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2024-01-08T12:27:22Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:22Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:22Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36801->[::1]:53: read: connection refused" + time="2024-01-08T12:27:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36801->[::1]:53: read: connection refused" + time="2024-01-08T12:27:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44180->[::1]:53: read: connection refused" + time="2024-01-08T12:27:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44180->[::1]:53: read: connection refused" + time="2024-01-08T12:27:22Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:22Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules366306034/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules366306034/work/payloads/0000/tree" + time="2024-01-08T12:27:22Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:22Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:22Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:22Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:22Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules366306034/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules366306034/work/payloads/0000/tree" + time="2024-01-08T12:27:22Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:22Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:22Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:22Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:22Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.07s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00 state_test.go:4717: Error in ArtifactInstall_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:36Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:36Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:36Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:36Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57050->[::1]:53: read: connection refused" - time="2024-01-08T11:58:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57050->[::1]:53: read: connection refused" - time="2024-01-08T11:58:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42645->[::1]:53: read: connection refused" - time="2024-01-08T11:58:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42645->[::1]:53: read: connection refused" - time="2024-01-08T11:58:36Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:36Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:36Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:36Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules012741530/device_type" - time="2024-01-08T11:58:36Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:36Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:36Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:36Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:36Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:36Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules012741530/artifact_info file." - time="2024-01-08T11:58:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules012741530/artifact_info" - time="2024-01-08T11:58:36Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:36Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules012741530/artifact_info" - time="2024-01-08T11:58:36Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules012741530/device_type" - time="2024-01-08T11:58:36Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:36Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:36Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:36Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules012741530/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules012741530/work/payloads/0000/tree" - time="2024-01-08T11:58:36Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:36Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules012741530/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules012741530/work/payloads/0000/tree" - time="2024-01-08T11:58:36Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:36Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:36Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:36Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:37Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57572->[::1]:53: read: connection refused" - time="2024-01-08T11:58:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57572->[::1]:53: read: connection refused" - time="2024-01-08T11:58:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33086->[::1]:53: read: connection refused" - time="2024-01-08T11:58:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33086->[::1]:53: read: connection refused" - time="2024-01-08T11:58:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:37Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47683->[::1]:53: read: connection refused" - time="2024-01-08T11:58:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47683->[::1]:53: read: connection refused" - time="2024-01-08T11:58:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37968->[::1]:53: read: connection refused" - time="2024-01-08T11:58:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37968->[::1]:53: read: connection refused" - time="2024-01-08T11:58:37Z" level=error msg="transient error: error calling enter script for (error) update-install state: error running enter state script(s) for ArtifactInstall state: statescript: error executing 'ArtifactInstall_Enter_00': 1 : exit status 1" - time="2024-01-08T11:58:37Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:37Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:37Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46788->[::1]:53: read: connection refused" - time="2024-01-08T11:58:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46788->[::1]:53: read: connection refused" - time="2024-01-08T11:58:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59605->[::1]:53: read: connection refused" - time="2024-01-08T11:58:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59605->[::1]:53: read: connection refused" - time="2024-01-08T11:58:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:37Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57516->[::1]:53: read: connection refused" - time="2024-01-08T11:58:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57516->[::1]:53: read: connection refused" - time="2024-01-08T11:58:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46138->[::1]:53: read: connection refused" - time="2024-01-08T11:58:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46138->[::1]:53: read: connection refused" - time="2024-01-08T11:58:37Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:37Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules012741530/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules012741530/work/payloads/0000/tree" - time="2024-01-08T11:58:37Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:37Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44322->[::1]:53: read: connection refused" - time="2024-01-08T11:58:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44322->[::1]:53: read: connection refused" - time="2024-01-08T11:58:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36118->[::1]:53: read: connection refused" - time="2024-01-08T11:58:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36118->[::1]:53: read: connection refused" - time="2024-01-08T11:58:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:37Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41387->[::1]:53: read: connection refused" - time="2024-01-08T11:58:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41387->[::1]:53: read: connection refused" - time="2024-01-08T11:58:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38887->[::1]:53: read: connection refused" - time="2024-01-08T11:58:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38887->[::1]:53: read: connection refused" - time="2024-01-08T11:58:37Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:37Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules012741530/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules012741530/work/payloads/0000/tree" - time="2024-01-08T11:58:37Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:37Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:37Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:37Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules012741530/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules012741530/work/payloads/0000/tree" - time="2024-01-08T11:58:37Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:37Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:37Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:37Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:37Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules012741530/artifact_info file." - time="2024-01-08T11:58:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules012741530/artifact_info" - time="2024-01-08T11:58:37Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:37Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.63s) + time="2024-01-08T12:27:22Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:22Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:22Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:22Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:22Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35151->[::1]:53: read: connection refused" + time="2024-01-08T12:27:22Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35151->[::1]:53: read: connection refused" + time="2024-01-08T12:27:22Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34395->[::1]:53: read: connection refused" + time="2024-01-08T12:27:22Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34395->[::1]:53: read: connection refused" + time="2024-01-08T12:27:22Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:22Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:22Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:22Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:22Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules261891011/device_type" + time="2024-01-08T12:27:22Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:22Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:22Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:23Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:23Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:23Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:23Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:23Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:23Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:23Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:23Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:23Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:23Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:23Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:23Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules261891011/artifact_info file." + time="2024-01-08T12:27:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules261891011/artifact_info" + time="2024-01-08T12:27:23Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:23Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules261891011/artifact_info" + time="2024-01-08T12:27:23Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules261891011/device_type" + time="2024-01-08T12:27:23Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:23Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:23Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:23Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules261891011/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules261891011/work/payloads/0000/tree" + time="2024-01-08T12:27:23Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:23Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules261891011/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules261891011/work/payloads/0000/tree" + time="2024-01-08T12:27:23Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:23Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:23Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:23Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:23Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37266->[::1]:53: read: connection refused" + time="2024-01-08T12:27:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37266->[::1]:53: read: connection refused" + time="2024-01-08T12:27:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52649->[::1]:53: read: connection refused" + time="2024-01-08T12:27:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52649->[::1]:53: read: connection refused" + time="2024-01-08T12:27:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:23Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48306->[::1]:53: read: connection refused" + time="2024-01-08T12:27:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48306->[::1]:53: read: connection refused" + time="2024-01-08T12:27:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53685->[::1]:53: read: connection refused" + time="2024-01-08T12:27:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53685->[::1]:53: read: connection refused" + time="2024-01-08T12:27:23Z" level=error msg="transient error: error calling enter script for (error) update-install state: error running enter state script(s) for ArtifactInstall state: statescript: error executing 'ArtifactInstall_Enter_00': 1 : exit status 1" + time="2024-01-08T12:27:23Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:23Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:23Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56576->[::1]:53: read: connection refused" + time="2024-01-08T12:27:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56576->[::1]:53: read: connection refused" + time="2024-01-08T12:27:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59698->[::1]:53: read: connection refused" + time="2024-01-08T12:27:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59698->[::1]:53: read: connection refused" + time="2024-01-08T12:27:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:23Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58571->[::1]:53: read: connection refused" + time="2024-01-08T12:27:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58571->[::1]:53: read: connection refused" + time="2024-01-08T12:27:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56174->[::1]:53: read: connection refused" + time="2024-01-08T12:27:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56174->[::1]:53: read: connection refused" + time="2024-01-08T12:27:23Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:23Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules261891011/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules261891011/work/payloads/0000/tree" + time="2024-01-08T12:27:23Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:23Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59563->[::1]:53: read: connection refused" + time="2024-01-08T12:27:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59563->[::1]:53: read: connection refused" + time="2024-01-08T12:27:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52525->[::1]:53: read: connection refused" + time="2024-01-08T12:27:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52525->[::1]:53: read: connection refused" + time="2024-01-08T12:27:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:23Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48887->[::1]:53: read: connection refused" + time="2024-01-08T12:27:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48887->[::1]:53: read: connection refused" + time="2024-01-08T12:27:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59456->[::1]:53: read: connection refused" + time="2024-01-08T12:27:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59456->[::1]:53: read: connection refused" + time="2024-01-08T12:27:23Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:23Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules261891011/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules261891011/work/payloads/0000/tree" + time="2024-01-08T12:27:23Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:23Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:23Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:23Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules261891011/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules261891011/work/payloads/0000/tree" + time="2024-01-08T12:27:23Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:23Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:23Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:23Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:23Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules261891011/artifact_info file." + time="2024-01-08T12:27:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules261891011/artifact_info" + time="2024-01-08T12:27:23Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:23Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.69s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00 state_test.go:4717: Killed in ArtifactInstall_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:37Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:37Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:37Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:37Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48353->[::1]:53: read: connection refused" - time="2024-01-08T11:58:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48353->[::1]:53: read: connection refused" - time="2024-01-08T11:58:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44062->[::1]:53: read: connection refused" - time="2024-01-08T11:58:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44062->[::1]:53: read: connection refused" - time="2024-01-08T11:58:37Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:37Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:37Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:37Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules114633611/device_type" - time="2024-01-08T11:58:37Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:37Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:37Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:37Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:37Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:37Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules114633611/artifact_info file." - time="2024-01-08T11:58:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules114633611/artifact_info" - time="2024-01-08T11:58:37Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:37Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules114633611/artifact_info" - time="2024-01-08T11:58:37Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules114633611/device_type" - time="2024-01-08T11:58:37Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:37Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:37Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:37Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules114633611/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules114633611/work/payloads/0000/tree" - time="2024-01-08T11:58:37Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:37Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules114633611/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules114633611/work/payloads/0000/tree" - time="2024-01-08T11:58:37Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:37Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:37Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:37Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:37Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39496->[::1]:53: read: connection refused" - time="2024-01-08T11:58:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39496->[::1]:53: read: connection refused" - time="2024-01-08T11:58:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34799->[::1]:53: read: connection refused" - time="2024-01-08T11:58:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34799->[::1]:53: read: connection refused" - time="2024-01-08T11:58:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:37Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42356->[::1]:53: read: connection refused" - time="2024-01-08T11:58:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42356->[::1]:53: read: connection refused" + time="2024-01-08T12:27:23Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:23Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:23Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:23Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34896->[::1]:53: read: connection refused" + time="2024-01-08T12:27:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34896->[::1]:53: read: connection refused" + time="2024-01-08T12:27:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56362->[::1]:53: read: connection refused" + time="2024-01-08T12:27:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56362->[::1]:53: read: connection refused" + time="2024-01-08T12:27:23Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:23Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:23Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:23Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules782600552/device_type" + time="2024-01-08T12:27:23Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:23Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:23Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:23Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:23Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:23Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:23Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:24Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:24Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules782600552/artifact_info file." + time="2024-01-08T12:27:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules782600552/artifact_info" + time="2024-01-08T12:27:24Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:24Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules782600552/artifact_info" + time="2024-01-08T12:27:24Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules782600552/device_type" + time="2024-01-08T12:27:24Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:24Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:24Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:24Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules782600552/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules782600552/work/payloads/0000/tree" + time="2024-01-08T12:27:24Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:24Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules782600552/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules782600552/work/payloads/0000/tree" + time="2024-01-08T12:27:24Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:24Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:24Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:24Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:24Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43103->[::1]:53: read: connection refused" + time="2024-01-08T12:27:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43103->[::1]:53: read: connection refused" + time="2024-01-08T12:27:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36798->[::1]:53: read: connection refused" + time="2024-01-08T12:27:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36798->[::1]:53: read: connection refused" + time="2024-01-08T12:27:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:24Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51907->[::1]:53: read: connection refused" + time="2024-01-08T12:27:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51907->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 4 (*app.updateRollbackState) - time="2024-01-08T11:58:38Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:58:38Z" level=info msg="Handling loaded state: update-install" - time="2024-01-08T11:58:38Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:38Z" level=error msg="Mender shut down in state: update-install" - time="2024-01-08T11:58:38Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:38Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:38Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38426->[::1]:53: read: connection refused" - time="2024-01-08T11:58:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38426->[::1]:53: read: connection refused" - time="2024-01-08T11:58:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33246->[::1]:53: read: connection refused" - time="2024-01-08T11:58:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33246->[::1]:53: read: connection refused" - time="2024-01-08T11:58:38Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:38Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules114633611/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules114633611/work/payloads/0000/tree" - time="2024-01-08T11:58:38Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:38Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37588->[::1]:53: read: connection refused" - time="2024-01-08T11:58:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37588->[::1]:53: read: connection refused" - time="2024-01-08T11:58:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36539->[::1]:53: read: connection refused" - time="2024-01-08T11:58:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36539->[::1]:53: read: connection refused" - time="2024-01-08T11:58:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:38Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44615->[::1]:53: read: connection refused" - time="2024-01-08T11:58:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44615->[::1]:53: read: connection refused" - time="2024-01-08T11:58:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39063->[::1]:53: read: connection refused" - time="2024-01-08T11:58:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39063->[::1]:53: read: connection refused" - time="2024-01-08T11:58:38Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:38Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules114633611/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules114633611/work/payloads/0000/tree" - time="2024-01-08T11:58:38Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:38Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:38Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:38Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules114633611/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules114633611/work/payloads/0000/tree" - time="2024-01-08T11:58:38Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:38Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:38Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:38Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:38Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules114633611/artifact_info file." - time="2024-01-08T11:58:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules114633611/artifact_info" - time="2024-01-08T11:58:38Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:38Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.21s) + time="2024-01-08T12:27:24Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:27:24Z" level=info msg="Handling loaded state: update-install" + time="2024-01-08T12:27:24Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:24Z" level=error msg="Mender shut down in state: update-install" + time="2024-01-08T12:27:24Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:24Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:24Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37877->[::1]:53: read: connection refused" + time="2024-01-08T12:27:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37877->[::1]:53: read: connection refused" + time="2024-01-08T12:27:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42577->[::1]:53: read: connection refused" + time="2024-01-08T12:27:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42577->[::1]:53: read: connection refused" + time="2024-01-08T12:27:24Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:24Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules782600552/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules782600552/work/payloads/0000/tree" + time="2024-01-08T12:27:24Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:24Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47523->[::1]:53: read: connection refused" + time="2024-01-08T12:27:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47523->[::1]:53: read: connection refused" + time="2024-01-08T12:27:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50847->[::1]:53: read: connection refused" + time="2024-01-08T12:27:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50847->[::1]:53: read: connection refused" + time="2024-01-08T12:27:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:24Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39862->[::1]:53: read: connection refused" + time="2024-01-08T12:27:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39862->[::1]:53: read: connection refused" + time="2024-01-08T12:27:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57580->[::1]:53: read: connection refused" + time="2024-01-08T12:27:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57580->[::1]:53: read: connection refused" + time="2024-01-08T12:27:24Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:24Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules782600552/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules782600552/work/payloads/0000/tree" + time="2024-01-08T12:27:24Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:24Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:24Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:24Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules782600552/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules782600552/work/payloads/0000/tree" + time="2024-01-08T12:27:24Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:24Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:24Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:24Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:24Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules782600552/artifact_info file." + time="2024-01-08T12:27:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules782600552/artifact_info" + time="2024-01-08T12:27:24Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:24Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.19s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Enter_00 state_test.go:4717: Error in ArtifactReboot_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:38Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:38Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:38Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:38Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59468->[::1]:53: read: connection refused" - time="2024-01-08T11:58:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59468->[::1]:53: read: connection refused" - time="2024-01-08T11:58:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56952->[::1]:53: read: connection refused" - time="2024-01-08T11:58:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56952->[::1]:53: read: connection refused" - time="2024-01-08T11:58:38Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:38Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:38Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:38Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules026351312/device_type" - time="2024-01-08T11:58:38Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:38Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:38Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:38Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:38Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:38Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules026351312/artifact_info file." - time="2024-01-08T11:58:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules026351312/artifact_info" - time="2024-01-08T11:58:38Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:38Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules026351312/artifact_info" - time="2024-01-08T11:58:38Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules026351312/device_type" - time="2024-01-08T11:58:38Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:38Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:38Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:38Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules026351312/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules026351312/work/payloads/0000/tree" - time="2024-01-08T11:58:38Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:38Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules026351312/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules026351312/work/payloads/0000/tree" - time="2024-01-08T11:58:38Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:38Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:38Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:38Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:38Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45918->[::1]:53: read: connection refused" - time="2024-01-08T11:58:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45918->[::1]:53: read: connection refused" - time="2024-01-08T11:58:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42935->[::1]:53: read: connection refused" - time="2024-01-08T11:58:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42935->[::1]:53: read: connection refused" - time="2024-01-08T11:58:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:38Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44299->[::1]:53: read: connection refused" - time="2024-01-08T11:58:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44299->[::1]:53: read: connection refused" - time="2024-01-08T11:58:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43697->[::1]:53: read: connection refused" - time="2024-01-08T11:58:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43697->[::1]:53: read: connection refused" - time="2024-01-08T11:58:38Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules026351312/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules026351312/work/payloads/0000/tree" - time="2024-01-08T11:58:38Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules026351312/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules026351312/work/payloads/0000/tree" - time="2024-01-08T11:58:38Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:38Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:58:38Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:58:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:38Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44280->[::1]:53: read: connection refused" - time="2024-01-08T11:58:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44280->[::1]:53: read: connection refused" - time="2024-01-08T11:58:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37545->[::1]:53: read: connection refused" - time="2024-01-08T11:58:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37545->[::1]:53: read: connection refused" - time="2024-01-08T11:58:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:38Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58689->[::1]:53: read: connection refused" - time="2024-01-08T11:58:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58689->[::1]:53: read: connection refused" - time="2024-01-08T11:58:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39239->[::1]:53: read: connection refused" - time="2024-01-08T11:58:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39239->[::1]:53: read: connection refused" - time="2024-01-08T11:58:38Z" level=error msg="transient error: error calling enter script for (error) reboot state: error running enter state script(s) for ArtifactReboot_Enter state: statescript: error executing 'ArtifactReboot_Enter_00': 1 : exit status 1" - time="2024-01-08T11:58:38Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:38Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:38Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46861->[::1]:53: read: connection refused" - time="2024-01-08T11:58:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46861->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34580->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34580->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:39Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32778->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32778->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34144->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34144->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:39Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules026351312/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules026351312/work/payloads/0000/tree" - time="2024-01-08T11:58:39Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-08T11:58:39Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:58:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:39Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33836->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33836->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51868->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51868->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:39Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55063->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55063->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49123->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49123->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:58:39Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:58:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules026351312/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules026351312/work/payloads/0000/tree" - time="2024-01-08T11:58:39Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:39Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:58:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules026351312/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules026351312/work/payloads/0000/tree" - time="2024-01-08T11:58:39Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:39Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-08T11:58:39Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:39Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49110->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49110->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34953->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34953->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:39Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49766->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49766->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51453->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51453->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:39Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules026351312/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules026351312/work/payloads/0000/tree" - time="2024-01-08T11:58:39Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:39Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:39Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:39Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules026351312/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules026351312/work/payloads/0000/tree" - time="2024-01-08T11:58:39Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:39Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:39Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:39Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:39Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules026351312/artifact_info file." - time="2024-01-08T11:58:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules026351312/artifact_info" - time="2024-01-08T11:58:39Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:39Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.88s) + time="2024-01-08T12:27:24Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:24Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:24Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:24Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59482->[::1]:53: read: connection refused" + time="2024-01-08T12:27:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59482->[::1]:53: read: connection refused" + time="2024-01-08T12:27:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45753->[::1]:53: read: connection refused" + time="2024-01-08T12:27:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45753->[::1]:53: read: connection refused" + time="2024-01-08T12:27:24Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:24Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:24Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:24Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules056337009/device_type" + time="2024-01-08T12:27:24Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:24Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:24Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:24Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:25Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:25Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:25Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:25Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:25Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:25Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:25Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:25Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules056337009/artifact_info file." + time="2024-01-08T12:27:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules056337009/artifact_info" + time="2024-01-08T12:27:25Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:25Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules056337009/artifact_info" + time="2024-01-08T12:27:25Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules056337009/device_type" + time="2024-01-08T12:27:25Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:25Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:25Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:25Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules056337009/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules056337009/work/payloads/0000/tree" + time="2024-01-08T12:27:25Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:25Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules056337009/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules056337009/work/payloads/0000/tree" + time="2024-01-08T12:27:25Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:25Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:25Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:25Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:25Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58033->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58033->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51597->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51597->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:25Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49500->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49500->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38729->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38729->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules056337009/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules056337009/work/payloads/0000/tree" + time="2024-01-08T12:27:25Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules056337009/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules056337009/work/payloads/0000/tree" + time="2024-01-08T12:27:25Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:25Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:25Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:25Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58999->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58999->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36710->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36710->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:25Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50823->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50823->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52493->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52493->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=error msg="transient error: error calling enter script for (error) reboot state: error running enter state script(s) for ArtifactReboot_Enter state: statescript: error executing 'ArtifactReboot_Enter_00': 1 : exit status 1" + time="2024-01-08T12:27:25Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:25Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:25Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42694->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42694->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46355->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46355->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:25Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34235->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34235->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54192->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54192->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:25Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules056337009/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules056337009/work/payloads/0000/tree" + time="2024-01-08T12:27:25Z" level=debug msg="Will try to rollback reboot the device" + time="2024-01-08T12:27:25Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:25Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37225->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37225->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49305->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49305->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:25Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54375->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54375->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59551->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59551->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:25Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules056337009/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules056337009/work/payloads/0000/tree" + time="2024-01-08T12:27:25Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:25Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules056337009/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules056337009/work/payloads/0000/tree" + time="2024-01-08T12:27:25Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:25Z" level=debug msg="Handling state after rollback reboot" + time="2024-01-08T12:27:25Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:25Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35815->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35815->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47184->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47184->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:25Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59682->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59682->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55504->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55504->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:25Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules056337009/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules056337009/work/payloads/0000/tree" + time="2024-01-08T12:27:25Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:25Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:25Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:25Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules056337009/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules056337009/work/payloads/0000/tree" + time="2024-01-08T12:27:25Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:25Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:25Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:25Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:25Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules056337009/artifact_info file." + time="2024-01-08T12:27:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules056337009/artifact_info" + time="2024-01-08T12:27:25Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:25Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.89s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Enter_00 state_test.go:4717: Killed in ArtifactReboot_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:39Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:39Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:39Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:39Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41062->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41062->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39602->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39602->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:39Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:39Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:39Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules030301177/device_type" - time="2024-01-08T11:58:39Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:39Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:39Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:39Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:39Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:39Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules030301177/artifact_info file." - time="2024-01-08T11:58:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules030301177/artifact_info" - time="2024-01-08T11:58:39Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:39Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules030301177/artifact_info" - time="2024-01-08T11:58:39Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules030301177/device_type" - time="2024-01-08T11:58:39Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:39Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:39Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:39Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules030301177/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules030301177/work/payloads/0000/tree" - time="2024-01-08T11:58:39Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:39Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules030301177/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules030301177/work/payloads/0000/tree" - time="2024-01-08T11:58:39Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:39Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:39Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:39Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:39Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59674->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59674->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44370->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44370->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:39Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33100->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33100->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55629->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55629->[::1]:53: read: connection refused" - time="2024-01-08T11:58:39Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules030301177/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules030301177/work/payloads/0000/tree" - time="2024-01-08T11:58:40Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules030301177/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules030301177/work/payloads/0000/tree" - time="2024-01-08T11:58:40Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:40Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:58:40Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:58:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:40Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39615->[::1]:53: read: connection refused" - time="2024-01-08T11:58:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39615->[::1]:53: read: connection refused" - time="2024-01-08T11:58:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38627->[::1]:53: read: connection refused" - time="2024-01-08T11:58:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38627->[::1]:53: read: connection refused" - time="2024-01-08T11:58:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:40Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37482->[::1]:53: read: connection refused" - time="2024-01-08T11:58:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37482->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:25Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:25Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:25Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35169->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35169->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36150->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36150->[::1]:53: read: connection refused" + time="2024-01-08T12:27:25Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:25Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:25Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:25Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:25Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules037452462/device_type" + time="2024-01-08T12:27:25Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:25Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:25Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:26Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:26Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:26Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:26Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:26Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:26Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules037452462/artifact_info file." + time="2024-01-08T12:27:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules037452462/artifact_info" + time="2024-01-08T12:27:26Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:26Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules037452462/artifact_info" + time="2024-01-08T12:27:26Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules037452462/device_type" + time="2024-01-08T12:27:26Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:26Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:26Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:26Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules037452462/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules037452462/work/payloads/0000/tree" + time="2024-01-08T12:27:26Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:26Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules037452462/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules037452462/work/payloads/0000/tree" + time="2024-01-08T12:27:26Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:26Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:26Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:26Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:26Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48724->[::1]:53: read: connection refused" + time="2024-01-08T12:27:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48724->[::1]:53: read: connection refused" + time="2024-01-08T12:27:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38488->[::1]:53: read: connection refused" + time="2024-01-08T12:27:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38488->[::1]:53: read: connection refused" + time="2024-01-08T12:27:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:26Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49887->[::1]:53: read: connection refused" + time="2024-01-08T12:27:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49887->[::1]:53: read: connection refused" + time="2024-01-08T12:27:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53282->[::1]:53: read: connection refused" + time="2024-01-08T12:27:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53282->[::1]:53: read: connection refused" + time="2024-01-08T12:27:26Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules037452462/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules037452462/work/payloads/0000/tree" + time="2024-01-08T12:27:26Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules037452462/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules037452462/work/payloads/0000/tree" + time="2024-01-08T12:27:26Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:26Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:26Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:26Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40504->[::1]:53: read: connection refused" + time="2024-01-08T12:27:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40504->[::1]:53: read: connection refused" + time="2024-01-08T12:27:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41926->[::1]:53: read: connection refused" + time="2024-01-08T12:27:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41926->[::1]:53: read: connection refused" + time="2024-01-08T12:27:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:26Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47348->[::1]:53: read: connection refused" + time="2024-01-08T12:27:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47348->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 5 (*app.updateVerifyRebootState) - time="2024-01-08T11:58:40Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:58:40Z" level=info msg="Handling loaded state: reboot" - time="2024-01-08T11:58:40Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:40Z" level=info msg="State transition: init [none] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:40Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-08T11:58:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules030301177/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules030301177/work/payloads/0000/tree" - time="2024-01-08T11:58:40Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:40Z" level=debug msg="Handling state after reboot" - time="2024-01-08T11:58:40Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-08T11:58:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:40Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55294->[::1]:53: read: connection refused" - time="2024-01-08T11:58:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55294->[::1]:53: read: connection refused" - time="2024-01-08T11:58:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41961->[::1]:53: read: connection refused" - time="2024-01-08T11:58:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41961->[::1]:53: read: connection refused" - time="2024-01-08T11:58:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:40Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38569->[::1]:53: read: connection refused" - time="2024-01-08T11:58:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38569->[::1]:53: read: connection refused" - time="2024-01-08T11:58:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52209->[::1]:53: read: connection refused" - time="2024-01-08T11:58:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52209->[::1]:53: read: connection refused" - time="2024-01-08T11:58:40Z" level=debug msg="Handle update commit state" - time="2024-01-08T11:58:40Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2024-01-08T11:58:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules030301177/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules030301177/work/payloads/0000/tree" - time="2024-01-08T11:58:40Z" level=debug msg="Committing new artifact name: artifact-name" - time="2024-01-08T11:58:40Z" level=debug msg="Committing new artifact group name: " - time="2024-01-08T11:58:40Z" level=debug msg="Committing new artifact type-info provides" - time="2024-01-08T11:58:40Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2024-01-08T11:58:40Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2024-01-08T11:58:40Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2024-01-08T11:58:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:40Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:40Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:40Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules030301177/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules030301177/work/payloads/0000/tree" - time="2024-01-08T11:58:40Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" - time="2024-01-08T11:58:40Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:40Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:40Z" level=debug msg="Returning artifact name artifact-name from database." + time="2024-01-08T12:27:26Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:27:26Z" level=info msg="Handling loaded state: reboot" + time="2024-01-08T12:27:26Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:26Z" level=info msg="State transition: init [none] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:26Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2024-01-08T12:27:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules037452462/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules037452462/work/payloads/0000/tree" + time="2024-01-08T12:27:26Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:26Z" level=debug msg="Handling state after reboot" + time="2024-01-08T12:27:26Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2024-01-08T12:27:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:26Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46938->[::1]:53: read: connection refused" + time="2024-01-08T12:27:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46938->[::1]:53: read: connection refused" + time="2024-01-08T12:27:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42082->[::1]:53: read: connection refused" + time="2024-01-08T12:27:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42082->[::1]:53: read: connection refused" + time="2024-01-08T12:27:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:26Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56049->[::1]:53: read: connection refused" + time="2024-01-08T12:27:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56049->[::1]:53: read: connection refused" + time="2024-01-08T12:27:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36961->[::1]:53: read: connection refused" + time="2024-01-08T12:27:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36961->[::1]:53: read: connection refused" + time="2024-01-08T12:27:26Z" level=debug msg="Handle update commit state" + time="2024-01-08T12:27:26Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2024-01-08T12:27:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules037452462/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules037452462/work/payloads/0000/tree" + time="2024-01-08T12:27:26Z" level=debug msg="Committing new artifact name: artifact-name" + time="2024-01-08T12:27:26Z" level=debug msg="Committing new artifact group name: " + time="2024-01-08T12:27:26Z" level=debug msg="Committing new artifact type-info provides" + time="2024-01-08T12:27:26Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2024-01-08T12:27:26Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2024-01-08T12:27:26Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2024-01-08T12:27:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:26Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:26Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:26Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules037452462/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules037452462/work/payloads/0000/tree" + time="2024-01-08T12:27:26Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" + time="2024-01-08T12:27:26Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:26Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:26Z" level=debug msg="Returning artifact name artifact-name from database." --- PASS: TestStateTransitionsWithUpdateModules (0.19s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Enter_00 state_test.go:4717: Error in ArtifactRollback_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:40Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:40Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:40Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:40Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60295->[::1]:53: read: connection refused" - time="2024-01-08T11:58:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60295->[::1]:53: read: connection refused" - time="2024-01-08T11:58:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47054->[::1]:53: read: connection refused" - time="2024-01-08T11:58:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47054->[::1]:53: read: connection refused" - time="2024-01-08T11:58:40Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:40Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:40Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:40Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules225991894/device_type" - time="2024-01-08T11:58:40Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:40Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:40Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:40Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:40Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:40Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules225991894/artifact_info file." - time="2024-01-08T11:58:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules225991894/artifact_info" - time="2024-01-08T11:58:40Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:40Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules225991894/artifact_info" - time="2024-01-08T11:58:40Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules225991894/device_type" - time="2024-01-08T11:58:40Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:40Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:40Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:40Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules225991894/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules225991894/work/payloads/0000/tree" - time="2024-01-08T11:58:40Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:40Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules225991894/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules225991894/work/payloads/0000/tree" - time="2024-01-08T11:58:40Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:40Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:40Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:40Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:40Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36921->[::1]:53: read: connection refused" - time="2024-01-08T11:58:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36921->[::1]:53: read: connection refused" - time="2024-01-08T11:58:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52974->[::1]:53: read: connection refused" - time="2024-01-08T11:58:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52974->[::1]:53: read: connection refused" - time="2024-01-08T11:58:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:40Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49390->[::1]:53: read: connection refused" - time="2024-01-08T11:58:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49390->[::1]:53: read: connection refused" - time="2024-01-08T11:58:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56778->[::1]:53: read: connection refused" - time="2024-01-08T11:58:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56778->[::1]:53: read: connection refused" - time="2024-01-08T11:58:40Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules225991894/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules225991894/work/payloads/0000/tree" - time="2024-01-08T11:58:40Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules225991894/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules225991894/work/payloads/0000/tree" - time="2024-01-08T11:58:41Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:41Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:58:41Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:58:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:41Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51657->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51657->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48033->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48033->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:41Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46275->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46275->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46328->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46328->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=debug msg="Handling reboot state" - time="2024-01-08T11:58:41Z" level=info msg="Rebooting device(s)" - time="2024-01-08T11:58:41Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-08T11:58:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules225991894/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules225991894/work/payloads/0000/tree" - time="2024-01-08T11:58:41Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:41Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-08T11:58:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules225991894/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules225991894/work/payloads/0000/tree" - time="2024-01-08T11:58:41Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:41Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:41Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:41Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:41Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44568->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44568->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47803->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47803->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:41Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60666->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60666->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollback_Enter_00': 1: exit status 1" - time="2024-01-08T11:58:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44650->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44650->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:41Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules225991894/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules225991894/work/payloads/0000/tree" - time="2024-01-08T11:58:41Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-08T11:58:41Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:58:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:41Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46525->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46525->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52521->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52521->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:41Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36861->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36861->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60864->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60864->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:58:41Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:58:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules225991894/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules225991894/work/payloads/0000/tree" - time="2024-01-08T11:58:41Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:41Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:58:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules225991894/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules225991894/work/payloads/0000/tree" - time="2024-01-08T11:58:41Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:41Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-08T11:58:41Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:41Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47048->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47048->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55875->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55875->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:41Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46316->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46316->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59973->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59973->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:41Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules225991894/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules225991894/work/payloads/0000/tree" - time="2024-01-08T11:58:41Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:41Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:41Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:41Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules225991894/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules225991894/work/payloads/0000/tree" - time="2024-01-08T11:58:41Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:41Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:41Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:41Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:41Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules225991894/artifact_info file." - time="2024-01-08T11:58:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules225991894/artifact_info" - time="2024-01-08T11:58:41Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:41Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.84s) + time="2024-01-08T12:27:26Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:26Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:26Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:26Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:26Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51981->[::1]:53: read: connection refused" + time="2024-01-08T12:27:26Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51981->[::1]:53: read: connection refused" + time="2024-01-08T12:27:26Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50627->[::1]:53: read: connection refused" + time="2024-01-08T12:27:26Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50627->[::1]:53: read: connection refused" + time="2024-01-08T12:27:26Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:26Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:26Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:26Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:26Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules133305391/device_type" + time="2024-01-08T12:27:26Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:26Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:26Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:26Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:26Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:26Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:26Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:27Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:27Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:27Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:27Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:27Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:27Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:27Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:27Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules133305391/artifact_info file." + time="2024-01-08T12:27:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules133305391/artifact_info" + time="2024-01-08T12:27:27Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:27Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules133305391/artifact_info" + time="2024-01-08T12:27:27Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules133305391/device_type" + time="2024-01-08T12:27:27Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:27Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:27Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:27Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133305391/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules133305391/work/payloads/0000/tree" + time="2024-01-08T12:27:27Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:27Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133305391/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules133305391/work/payloads/0000/tree" + time="2024-01-08T12:27:27Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:27Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:27Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:27Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:27Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54209->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54209->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49539->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49539->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:27Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33784->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33784->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35128->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35128->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133305391/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules133305391/work/payloads/0000/tree" + time="2024-01-08T12:27:27Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133305391/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules133305391/work/payloads/0000/tree" + time="2024-01-08T12:27:27Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:27Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:27Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:27Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57989->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57989->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54092->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54092->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:27Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40920->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40920->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39066->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39066->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=debug msg="Handling reboot state" + time="2024-01-08T12:27:27Z" level=info msg="Rebooting device(s)" + time="2024-01-08T12:27:27Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2024-01-08T12:27:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133305391/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules133305391/work/payloads/0000/tree" + time="2024-01-08T12:27:27Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:27Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2024-01-08T12:27:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133305391/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules133305391/work/payloads/0000/tree" + time="2024-01-08T12:27:27Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:27Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:27Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:27Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:27Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45041->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45041->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53329->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53329->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:27Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47477->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47477->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollback_Enter_00': 1: exit status 1" + time="2024-01-08T12:27:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60914->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60914->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:27Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133305391/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules133305391/work/payloads/0000/tree" + time="2024-01-08T12:27:27Z" level=debug msg="Will try to rollback reboot the device" + time="2024-01-08T12:27:27Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:27Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34283->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34283->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49910->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49910->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:27Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47379->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47379->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49721->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49721->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:27Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133305391/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133305391/work/payloads/0000/tree" + time="2024-01-08T12:27:27Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:27Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133305391/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules133305391/work/payloads/0000/tree" + time="2024-01-08T12:27:27Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:27Z" level=debug msg="Handling state after rollback reboot" + time="2024-01-08T12:27:27Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:27Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45779->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45779->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58523->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58523->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:27Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46318->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46318->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57414->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57414->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:27Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133305391/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules133305391/work/payloads/0000/tree" + time="2024-01-08T12:27:27Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:27Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:27Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:27Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules133305391/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules133305391/work/payloads/0000/tree" + time="2024-01-08T12:27:27Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:27Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:27Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:27Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:27Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules133305391/artifact_info file." + time="2024-01-08T12:27:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules133305391/artifact_info" + time="2024-01-08T12:27:27Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:27Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.94s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Enter_00 state_test.go:4717: Killed in ArtifactRollback_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:41Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:41Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:41Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:41Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53403->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53403->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44472->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44472->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:41Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:41Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:41Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules528571255/device_type" - time="2024-01-08T11:58:41Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:41Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:41Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:41Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:41Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:41Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules528571255/artifact_info file." - time="2024-01-08T11:58:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules528571255/artifact_info" - time="2024-01-08T11:58:41Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:41Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules528571255/artifact_info" - time="2024-01-08T11:58:41Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules528571255/device_type" - time="2024-01-08T11:58:41Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:41Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:41Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:41Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules528571255/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules528571255/work/payloads/0000/tree" - time="2024-01-08T11:58:41Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:41Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules528571255/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules528571255/work/payloads/0000/tree" - time="2024-01-08T11:58:41Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:41Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:41Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:41Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:41Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46759->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46759->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43315->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43315->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:41Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50199->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50199->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39196->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39196->[::1]:53: read: connection refused" - time="2024-01-08T11:58:41Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules528571255/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules528571255/work/payloads/0000/tree" - time="2024-01-08T11:58:42Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules528571255/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules528571255/work/payloads/0000/tree" - time="2024-01-08T11:58:42Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:42Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:58:42Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:58:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:42Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33031->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33031->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44588->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44588->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:42Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53010->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53010->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54650->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54650->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=debug msg="Handling reboot state" - time="2024-01-08T11:58:42Z" level=info msg="Rebooting device(s)" - time="2024-01-08T11:58:42Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-08T11:58:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules528571255/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules528571255/work/payloads/0000/tree" - time="2024-01-08T11:58:42Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:42Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-08T11:58:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules528571255/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules528571255/work/payloads/0000/tree" - time="2024-01-08T11:58:42Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:42Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:42Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:42Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:42Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39890->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39890->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40570->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40570->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:42Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34405->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34405->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:27Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:27Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:27Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44141->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44141->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36182->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36182->[::1]:53: read: connection refused" + time="2024-01-08T12:27:27Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:27Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:27Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:27Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:27Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules453370948/device_type" + time="2024-01-08T12:27:27Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:27Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:27Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:28Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:28Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:28Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:28Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:28Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:28Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:28Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:28Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:28Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules453370948/artifact_info file." + time="2024-01-08T12:27:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules453370948/artifact_info" + time="2024-01-08T12:27:28Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:28Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules453370948/artifact_info" + time="2024-01-08T12:27:28Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:28Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules453370948/device_type" + time="2024-01-08T12:27:28Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:28Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:28Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:28Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules453370948/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules453370948/work/payloads/0000/tree" + time="2024-01-08T12:27:28Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:28Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules453370948/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules453370948/work/payloads/0000/tree" + time="2024-01-08T12:27:28Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:28Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:28Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:28Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:28Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38257->[::1]:53: read: connection refused" + time="2024-01-08T12:27:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38257->[::1]:53: read: connection refused" + time="2024-01-08T12:27:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56621->[::1]:53: read: connection refused" + time="2024-01-08T12:27:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56621->[::1]:53: read: connection refused" + time="2024-01-08T12:27:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:28Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47057->[::1]:53: read: connection refused" + time="2024-01-08T12:27:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47057->[::1]:53: read: connection refused" + time="2024-01-08T12:27:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38726->[::1]:53: read: connection refused" + time="2024-01-08T12:27:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38726->[::1]:53: read: connection refused" + time="2024-01-08T12:27:28Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules453370948/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules453370948/work/payloads/0000/tree" + time="2024-01-08T12:27:28Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules453370948/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules453370948/work/payloads/0000/tree" + time="2024-01-08T12:27:28Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:28Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:28Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:28Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47013->[::1]:53: read: connection refused" + time="2024-01-08T12:27:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47013->[::1]:53: read: connection refused" + time="2024-01-08T12:27:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36473->[::1]:53: read: connection refused" + time="2024-01-08T12:27:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36473->[::1]:53: read: connection refused" + time="2024-01-08T12:27:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:28Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37174->[::1]:53: read: connection refused" + time="2024-01-08T12:27:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37174->[::1]:53: read: connection refused" + time="2024-01-08T12:27:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39002->[::1]:53: read: connection refused" + time="2024-01-08T12:27:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39002->[::1]:53: read: connection refused" + time="2024-01-08T12:27:28Z" level=debug msg="Handling reboot state" + time="2024-01-08T12:27:28Z" level=info msg="Rebooting device(s)" + time="2024-01-08T12:27:28Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2024-01-08T12:27:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules453370948/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules453370948/work/payloads/0000/tree" + time="2024-01-08T12:27:28Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:28Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2024-01-08T12:27:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules453370948/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules453370948/work/payloads/0000/tree" + time="2024-01-08T12:27:28Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:28Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:28Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:28Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:28Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36343->[::1]:53: read: connection refused" + time="2024-01-08T12:27:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36343->[::1]:53: read: connection refused" + time="2024-01-08T12:27:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52456->[::1]:53: read: connection refused" + time="2024-01-08T12:27:28Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52456->[::1]:53: read: connection refused" + time="2024-01-08T12:27:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:28Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52558->[::1]:53: read: connection refused" + time="2024-01-08T12:27:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52558->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 7 (*app.updateRollbackState) - time="2024-01-08T11:58:42Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:58:42Z" level=info msg="Handling loaded state: rollback" - time="2024-01-08T11:58:42Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:42Z" level=error msg="Mender shut down in state: rollback" - time="2024-01-08T11:58:42Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:42Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:42Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43022->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43022->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55753->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55753->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:42Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules528571255/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules528571255/work/payloads/0000/tree" - time="2024-01-08T11:58:42Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-08T11:58:42Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:58:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:42Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44248->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44248->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38225->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38225->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:42Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55407->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55407->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53822->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53822->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:58:42Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:58:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules528571255/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules528571255/work/payloads/0000/tree" - time="2024-01-08T11:58:42Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:42Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:58:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules528571255/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules528571255/work/payloads/0000/tree" - time="2024-01-08T11:58:42Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:42Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-08T11:58:42Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:42Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52096->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52096->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44991->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44991->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:42Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44819->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44819->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39968->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39968->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:42Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules528571255/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules528571255/work/payloads/0000/tree" - time="2024-01-08T11:58:42Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:42Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:42Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:42Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules528571255/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules528571255/work/payloads/0000/tree" - time="2024-01-08T11:58:42Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:42Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:42Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:42Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:42Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules528571255/artifact_info file." - time="2024-01-08T11:58:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules528571255/artifact_info" - time="2024-01-08T11:58:42Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:42Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.27s) + time="2024-01-08T12:27:28Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:27:28Z" level=info msg="Handling loaded state: rollback" + time="2024-01-08T12:27:28Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:28Z" level=error msg="Mender shut down in state: rollback" + time="2024-01-08T12:27:28Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:28Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:28Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:28Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53520->[::1]:53: read: connection refused" + time="2024-01-08T12:27:28Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53520->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37521->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37521->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:29Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules453370948/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules453370948/work/payloads/0000/tree" + time="2024-01-08T12:27:29Z" level=debug msg="Will try to rollback reboot the device" + time="2024-01-08T12:27:29Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:29Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45227->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45227->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39353->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39353->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57907->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57907->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41866->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41866->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules453370948/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules453370948/work/payloads/0000/tree" + time="2024-01-08T12:27:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules453370948/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules453370948/work/payloads/0000/tree" + time="2024-01-08T12:27:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:29Z" level=debug msg="Handling state after rollback reboot" + time="2024-01-08T12:27:29Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:29Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47914->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47914->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34714->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34714->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:29Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37410->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37410->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41984->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41984->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:29Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules453370948/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules453370948/work/payloads/0000/tree" + time="2024-01-08T12:27:29Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:29Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:29Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:29Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules453370948/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules453370948/work/payloads/0000/tree" + time="2024-01-08T12:27:29Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:29Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:29Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:29Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:29Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules453370948/artifact_info file." + time="2024-01-08T12:27:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules453370948/artifact_info" + time="2024-01-08T12:27:29Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:29Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.22s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Enter_00 state_test.go:4717: Error in ArtifactRollbackReboot_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:42Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:42Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:42Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:42Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42815->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42815->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34560->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34560->[::1]:53: read: connection refused" - time="2024-01-08T11:58:42Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:42Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:42Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:42Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules744703276/device_type" - time="2024-01-08T11:58:42Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:42Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:42Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:42Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:42Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:43Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:43Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules744703276/artifact_info file." - time="2024-01-08T11:58:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules744703276/artifact_info" - time="2024-01-08T11:58:43Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:43Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules744703276/artifact_info" - time="2024-01-08T11:58:43Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules744703276/device_type" - time="2024-01-08T11:58:43Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:43Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:43Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:43Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules744703276/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules744703276/work/payloads/0000/tree" - time="2024-01-08T11:58:43Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:43Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules744703276/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules744703276/work/payloads/0000/tree" - time="2024-01-08T11:58:43Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:43Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:43Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:43Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:43Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52605->[::1]:53: read: connection refused" - time="2024-01-08T11:58:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52605->[::1]:53: read: connection refused" - time="2024-01-08T11:58:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45989->[::1]:53: read: connection refused" - time="2024-01-08T11:58:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45989->[::1]:53: read: connection refused" - time="2024-01-08T11:58:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:43Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36773->[::1]:53: read: connection refused" - time="2024-01-08T11:58:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36773->[::1]:53: read: connection refused" - time="2024-01-08T11:58:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43869->[::1]:53: read: connection refused" - time="2024-01-08T11:58:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43869->[::1]:53: read: connection refused" - time="2024-01-08T11:58:43Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules744703276/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules744703276/work/payloads/0000/tree" - time="2024-01-08T11:58:43Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules744703276/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules744703276/work/payloads/0000/tree" - time="2024-01-08T11:58:43Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:43Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:58:43Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:58:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:43Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55309->[::1]:53: read: connection refused" - time="2024-01-08T11:58:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55309->[::1]:53: read: connection refused" - time="2024-01-08T11:58:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38762->[::1]:53: read: connection refused" - time="2024-01-08T11:58:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38762->[::1]:53: read: connection refused" - time="2024-01-08T11:58:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:43Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60827->[::1]:53: read: connection refused" - time="2024-01-08T11:58:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60827->[::1]:53: read: connection refused" - time="2024-01-08T11:58:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46295->[::1]:53: read: connection refused" - time="2024-01-08T11:58:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46295->[::1]:53: read: connection refused" - time="2024-01-08T11:58:43Z" level=debug msg="Handling reboot state" - time="2024-01-08T11:58:43Z" level=info msg="Rebooting device(s)" - time="2024-01-08T11:58:43Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-08T11:58:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules744703276/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules744703276/work/payloads/0000/tree" - time="2024-01-08T11:58:43Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:43Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-08T11:58:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules744703276/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules744703276/work/payloads/0000/tree" - time="2024-01-08T11:58:43Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:43Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:43Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:43Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:43Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35402->[::1]:53: read: connection refused" - time="2024-01-08T11:58:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35402->[::1]:53: read: connection refused" - time="2024-01-08T11:58:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43658->[::1]:53: read: connection refused" - time="2024-01-08T11:58:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43658->[::1]:53: read: connection refused" - time="2024-01-08T11:58:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:43Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49486->[::1]:53: read: connection refused" - time="2024-01-08T11:58:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49486->[::1]:53: read: connection refused" - time="2024-01-08T11:58:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37342->[::1]:53: read: connection refused" - time="2024-01-08T11:58:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37342->[::1]:53: read: connection refused" - time="2024-01-08T11:58:43Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:43Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules744703276/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules744703276/work/payloads/0000/tree" - time="2024-01-08T11:58:43Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-08T11:58:43Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:58:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:43Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38833->[::1]:53: read: connection refused" - time="2024-01-08T11:58:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38833->[::1]:53: read: connection refused" - time="2024-01-08T11:58:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58262->[::1]:53: read: connection refused" - time="2024-01-08T11:58:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58262->[::1]:53: read: connection refused" - time="2024-01-08T11:58:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:43Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33109->[::1]:53: read: connection refused" - time="2024-01-08T11:58:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33109->[::1]:53: read: connection refused" - time="2024-01-08T11:58:43Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollbackReboot_Enter_00': 1: exit status 1" - time="2024-01-08T11:58:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43256->[::1]:53: read: connection refused" - time="2024-01-08T11:58:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43256->[::1]:53: read: connection refused" - time="2024-01-08T11:58:43Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:58:43Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:58:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules744703276/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules744703276/work/payloads/0000/tree" - time="2024-01-08T11:58:44Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:44Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:58:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules744703276/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules744703276/work/payloads/0000/tree" - time="2024-01-08T11:58:44Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:44Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-08T11:58:44Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:44Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46713->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46713->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41968->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41968->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:44Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42105->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42105->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47731->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47731->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:44Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules744703276/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules744703276/work/payloads/0000/tree" - time="2024-01-08T11:58:44Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:44Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:44Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:44Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules744703276/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules744703276/work/payloads/0000/tree" - time="2024-01-08T11:58:44Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:44Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:44Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:44Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:44Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules744703276/artifact_info file." - time="2024-01-08T11:58:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules744703276/artifact_info" - time="2024-01-08T11:58:44Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:44Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (1.39s) + time="2024-01-08T12:27:29Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:29Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:29Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:29Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38043->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38043->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57208->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57208->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:29Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:29Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:29Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules601974397/device_type" + time="2024-01-08T12:27:29Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:29Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:29Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:29Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:29Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:29Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:29Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:29Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:29Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:29Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:29Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:29Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:29Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:29Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:29Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:29Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules601974397/artifact_info file." + time="2024-01-08T12:27:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules601974397/artifact_info" + time="2024-01-08T12:27:29Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:29Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules601974397/artifact_info" + time="2024-01-08T12:27:29Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:29Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules601974397/device_type" + time="2024-01-08T12:27:29Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:29Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:29Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:29Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules601974397/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules601974397/work/payloads/0000/tree" + time="2024-01-08T12:27:29Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:29Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules601974397/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules601974397/work/payloads/0000/tree" + time="2024-01-08T12:27:29Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:29Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:29Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:29Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:29Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51313->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51313->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53870->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53870->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:29Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57351->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57351->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43685->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43685->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules601974397/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules601974397/work/payloads/0000/tree" + time="2024-01-08T12:27:29Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules601974397/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules601974397/work/payloads/0000/tree" + time="2024-01-08T12:27:29Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:29Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:29Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:29Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45589->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45589->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48616->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48616->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:29Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55708->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55708->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46804->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46804->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=debug msg="Handling reboot state" + time="2024-01-08T12:27:29Z" level=info msg="Rebooting device(s)" + time="2024-01-08T12:27:29Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2024-01-08T12:27:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules601974397/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules601974397/work/payloads/0000/tree" + time="2024-01-08T12:27:29Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:29Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2024-01-08T12:27:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules601974397/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules601974397/work/payloads/0000/tree" + time="2024-01-08T12:27:29Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:29Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:29Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:29Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:29Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57941->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57941->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45731->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45731->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:29Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58071->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58071->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42110->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42110->[::1]:53: read: connection refused" + time="2024-01-08T12:27:29Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:29Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules601974397/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules601974397/work/payloads/0000/tree" + time="2024-01-08T12:27:30Z" level=debug msg="Will try to rollback reboot the device" + time="2024-01-08T12:27:30Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:30Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51505->[::1]:53: read: connection refused" + time="2024-01-08T12:27:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51505->[::1]:53: read: connection refused" + time="2024-01-08T12:27:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38028->[::1]:53: read: connection refused" + time="2024-01-08T12:27:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38028->[::1]:53: read: connection refused" + time="2024-01-08T12:27:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:30Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48871->[::1]:53: read: connection refused" + time="2024-01-08T12:27:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48871->[::1]:53: read: connection refused" + time="2024-01-08T12:27:30Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollbackReboot_Enter_00': 1: exit status 1" + time="2024-01-08T12:27:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50387->[::1]:53: read: connection refused" + time="2024-01-08T12:27:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50387->[::1]:53: read: connection refused" + time="2024-01-08T12:27:30Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:30Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules601974397/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules601974397/work/payloads/0000/tree" + time="2024-01-08T12:27:30Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:30Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules601974397/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules601974397/work/payloads/0000/tree" + time="2024-01-08T12:27:30Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:30Z" level=debug msg="Handling state after rollback reboot" + time="2024-01-08T12:27:30Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:30Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45281->[::1]:53: read: connection refused" + time="2024-01-08T12:27:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45281->[::1]:53: read: connection refused" + time="2024-01-08T12:27:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55861->[::1]:53: read: connection refused" + time="2024-01-08T12:27:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55861->[::1]:53: read: connection refused" + time="2024-01-08T12:27:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:30Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44973->[::1]:53: read: connection refused" + time="2024-01-08T12:27:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44973->[::1]:53: read: connection refused" + time="2024-01-08T12:27:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44914->[::1]:53: read: connection refused" + time="2024-01-08T12:27:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44914->[::1]:53: read: connection refused" + time="2024-01-08T12:27:30Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:30Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules601974397/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules601974397/work/payloads/0000/tree" + time="2024-01-08T12:27:30Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:30Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:30Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:30Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules601974397/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules601974397/work/payloads/0000/tree" + time="2024-01-08T12:27:30Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:30Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:30Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:30Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:30Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules601974397/artifact_info file." + time="2024-01-08T12:27:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules601974397/artifact_info" + time="2024-01-08T12:27:30Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:30Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.85s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Enter_00 state_test.go:4717: Killed in ArtifactRollbackReboot_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:44Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:44Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:44Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:44Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51367->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51367->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44369->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44369->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:44Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:44Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:44Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules063640965/device_type" - time="2024-01-08T11:58:44Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:44Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:44Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:44Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:44Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:44Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules063640965/artifact_info file." - time="2024-01-08T11:58:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules063640965/artifact_info" - time="2024-01-08T11:58:44Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:44Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules063640965/artifact_info" - time="2024-01-08T11:58:44Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules063640965/device_type" - time="2024-01-08T11:58:44Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:44Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:44Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:44Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063640965/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules063640965/work/payloads/0000/tree" - time="2024-01-08T11:58:44Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:44Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063640965/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules063640965/work/payloads/0000/tree" - time="2024-01-08T11:58:44Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:44Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:44Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:44Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:44Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41236->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41236->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58269->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58269->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:44Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38312->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38312->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38244->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38244->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063640965/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules063640965/work/payloads/0000/tree" - time="2024-01-08T11:58:44Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063640965/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules063640965/work/payloads/0000/tree" - time="2024-01-08T11:58:44Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:44Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:58:44Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:58:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:44Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55556->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55556->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50916->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50916->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:44Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59250->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59250->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56223->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56223->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=debug msg="Handling reboot state" - time="2024-01-08T11:58:44Z" level=info msg="Rebooting device(s)" - time="2024-01-08T11:58:44Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-08T11:58:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063640965/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules063640965/work/payloads/0000/tree" - time="2024-01-08T11:58:44Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:44Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-08T11:58:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063640965/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules063640965/work/payloads/0000/tree" - time="2024-01-08T11:58:44Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:44Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:44Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:44Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:44Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36941->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36941->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44790->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44790->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:44Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59638->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59638->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43376->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43376->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:44Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063640965/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules063640965/work/payloads/0000/tree" - time="2024-01-08T11:58:44Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-08T11:58:44Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:58:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:44Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33938->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33938->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43956->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43956->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:44Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60325->[::1]:53: read: connection refused" - time="2024-01-08T11:58:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60325->[::1]:53: read: connection refused" + time="2024-01-08T12:27:30Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:30Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:30Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:30Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38662->[::1]:53: read: connection refused" + time="2024-01-08T12:27:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38662->[::1]:53: read: connection refused" + time="2024-01-08T12:27:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57778->[::1]:53: read: connection refused" + time="2024-01-08T12:27:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57778->[::1]:53: read: connection refused" + time="2024-01-08T12:27:30Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:30Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:30Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:30Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules241794474/device_type" + time="2024-01-08T12:27:30Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:30Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:30Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:30Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:31Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:31Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:31Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:31Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules241794474/artifact_info file." + time="2024-01-08T12:27:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules241794474/artifact_info" + time="2024-01-08T12:27:31Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:31Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules241794474/artifact_info" + time="2024-01-08T12:27:31Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules241794474/device_type" + time="2024-01-08T12:27:31Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:31Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:31Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:31Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules241794474/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules241794474/work/payloads/0000/tree" + time="2024-01-08T12:27:31Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:31Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules241794474/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules241794474/work/payloads/0000/tree" + time="2024-01-08T12:27:31Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:31Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:31Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:31Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:31Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48655->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48655->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53800->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53800->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:31Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58394->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58394->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48496->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48496->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules241794474/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules241794474/work/payloads/0000/tree" + time="2024-01-08T12:27:31Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules241794474/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules241794474/work/payloads/0000/tree" + time="2024-01-08T12:27:31Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:31Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:31Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:31Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60372->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60372->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50618->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50618->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:31Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41572->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41572->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40673->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40673->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=debug msg="Handling reboot state" + time="2024-01-08T12:27:31Z" level=info msg="Rebooting device(s)" + time="2024-01-08T12:27:31Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2024-01-08T12:27:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules241794474/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules241794474/work/payloads/0000/tree" + time="2024-01-08T12:27:31Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:31Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2024-01-08T12:27:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules241794474/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules241794474/work/payloads/0000/tree" + time="2024-01-08T12:27:31Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:31Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:31Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:31Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:31Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55495->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55495->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35125->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35125->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:31Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55851->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55851->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51192->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51192->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:31Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules241794474/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules241794474/work/payloads/0000/tree" + time="2024-01-08T12:27:31Z" level=debug msg="Will try to rollback reboot the device" + time="2024-01-08T12:27:31Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:31Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52464->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52464->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56768->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56768->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:31Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54349->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54349->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 8 (*app.updateVerifyRollbackRebootState) - time="2024-01-08T11:58:45Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:58:45Z" level=info msg="Handling loaded state: rollback-reboot" - time="2024-01-08T11:58:45Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:45Z" level=info msg="Mender shut down in state: rollback-reboot" - time="2024-01-08T11:58:45Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:45Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:45Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:58:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063640965/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules063640965/work/payloads/0000/tree" - time="2024-01-08T11:58:45Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:45Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-08T11:58:45Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:45Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54464->[::1]:53: read: connection refused" - time="2024-01-08T11:58:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54464->[::1]:53: read: connection refused" - time="2024-01-08T11:58:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39729->[::1]:53: read: connection refused" - time="2024-01-08T11:58:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39729->[::1]:53: read: connection refused" - time="2024-01-08T11:58:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:45Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44211->[::1]:53: read: connection refused" - time="2024-01-08T11:58:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44211->[::1]:53: read: connection refused" - time="2024-01-08T11:58:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41632->[::1]:53: read: connection refused" - time="2024-01-08T11:58:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41632->[::1]:53: read: connection refused" - time="2024-01-08T11:58:45Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:45Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063640965/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules063640965/work/payloads/0000/tree" - time="2024-01-08T11:58:45Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:45Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:45Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:45Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063640965/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules063640965/work/payloads/0000/tree" - time="2024-01-08T11:58:45Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:45Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:45Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:45Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:45Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules063640965/artifact_info file." - time="2024-01-08T11:58:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules063640965/artifact_info" - time="2024-01-08T11:58:45Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:45Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.17s) + time="2024-01-08T12:27:31Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:27:31Z" level=info msg="Handling loaded state: rollback-reboot" + time="2024-01-08T12:27:31Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:31Z" level=info msg="Mender shut down in state: rollback-reboot" + time="2024-01-08T12:27:31Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:31Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:31Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules241794474/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules241794474/work/payloads/0000/tree" + time="2024-01-08T12:27:31Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:31Z" level=debug msg="Handling state after rollback reboot" + time="2024-01-08T12:27:31Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:31Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55452->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55452->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46921->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46921->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:31Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35458->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35458->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55648->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55648->[::1]:53: read: connection refused" + time="2024-01-08T12:27:31Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:31Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules241794474/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules241794474/work/payloads/0000/tree" + time="2024-01-08T12:27:31Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:31Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:31Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:31Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules241794474/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules241794474/work/payloads/0000/tree" + time="2024-01-08T12:27:31Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:31Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:31Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:31Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:31Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules241794474/artifact_info file." + time="2024-01-08T12:27:31Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules241794474/artifact_info" + time="2024-01-08T12:27:31Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:31Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.15s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Enter_00 state_test.go:4717: Error in ArtifactFailure_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:45Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:45Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:45Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:45Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45644->[::1]:53: read: connection refused" - time="2024-01-08T11:58:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45644->[::1]:53: read: connection refused" - time="2024-01-08T11:58:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58712->[::1]:53: read: connection refused" - time="2024-01-08T11:58:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58712->[::1]:53: read: connection refused" - time="2024-01-08T11:58:45Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:45Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:45Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:45Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules063221586/device_type" - time="2024-01-08T11:58:45Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:45Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:45Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:45Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:45Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:45Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules063221586/artifact_info file." - time="2024-01-08T11:58:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules063221586/artifact_info" - time="2024-01-08T11:58:45Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:45Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules063221586/artifact_info" - time="2024-01-08T11:58:45Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules063221586/device_type" - time="2024-01-08T11:58:45Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:45Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:45Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:45Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063221586/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules063221586/work/payloads/0000/tree" - time="2024-01-08T11:58:45Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:45Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063221586/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules063221586/work/payloads/0000/tree" - time="2024-01-08T11:58:45Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:45Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:45Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:45Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:45Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38724->[::1]:53: read: connection refused" - time="2024-01-08T11:58:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38724->[::1]:53: read: connection refused" - time="2024-01-08T11:58:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37564->[::1]:53: read: connection refused" - time="2024-01-08T11:58:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37564->[::1]:53: read: connection refused" - time="2024-01-08T11:58:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:45Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60382->[::1]:53: read: connection refused" - time="2024-01-08T11:58:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60382->[::1]:53: read: connection refused" - time="2024-01-08T11:58:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45552->[::1]:53: read: connection refused" - time="2024-01-08T11:58:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45552->[::1]:53: read: connection refused" - time="2024-01-08T11:58:45Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063221586/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules063221586/work/payloads/0000/tree" - time="2024-01-08T11:58:45Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:45Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:45Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:45Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:45Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55623->[::1]:53: read: connection refused" - time="2024-01-08T11:58:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55623->[::1]:53: read: connection refused" - time="2024-01-08T11:58:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57717->[::1]:53: read: connection refused" - time="2024-01-08T11:58:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57717->[::1]:53: read: connection refused" - time="2024-01-08T11:58:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:45Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39198->[::1]:53: read: connection refused" - time="2024-01-08T11:58:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39198->[::1]:53: read: connection refused" - time="2024-01-08T11:58:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54527->[::1]:53: read: connection refused" - time="2024-01-08T11:58:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54527->[::1]:53: read: connection refused" - time="2024-01-08T11:58:45Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:45Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063221586/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules063221586/work/payloads/0000/tree" - time="2024-01-08T11:58:45Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:45Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36322->[::1]:53: read: connection refused" - time="2024-01-08T11:58:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36322->[::1]:53: read: connection refused" - time="2024-01-08T11:58:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44841->[::1]:53: read: connection refused" - time="2024-01-08T11:58:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44841->[::1]:53: read: connection refused" - time="2024-01-08T11:58:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:45Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39613->[::1]:53: read: connection refused" - time="2024-01-08T11:58:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39613->[::1]:53: read: connection refused" - time="2024-01-08T11:58:46Z" level=error msg="statescript: Ignoring error executing 'ArtifactFailure_Enter_00': 1: exit status 1" - time="2024-01-08T11:58:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39963->[::1]:53: read: connection refused" - time="2024-01-08T11:58:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39963->[::1]:53: read: connection refused" - time="2024-01-08T11:58:46Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:46Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063221586/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules063221586/work/payloads/0000/tree" - time="2024-01-08T11:58:46Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:46Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:46Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:46Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules063221586/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules063221586/work/payloads/0000/tree" - time="2024-01-08T11:58:46Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:46Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:46Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:46Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:46Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules063221586/artifact_info file." - time="2024-01-08T11:58:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules063221586/artifact_info" - time="2024-01-08T11:58:46Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:46Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.66s) + time="2024-01-08T12:27:32Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:32Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:32Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:32Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51761->[::1]:53: read: connection refused" + time="2024-01-08T12:27:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51761->[::1]:53: read: connection refused" + time="2024-01-08T12:27:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43214->[::1]:53: read: connection refused" + time="2024-01-08T12:27:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43214->[::1]:53: read: connection refused" + time="2024-01-08T12:27:32Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:32Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:32Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:32Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules227336923/device_type" + time="2024-01-08T12:27:32Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:32Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:32Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:32Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:32Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:32Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules227336923/artifact_info file." + time="2024-01-08T12:27:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules227336923/artifact_info" + time="2024-01-08T12:27:32Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:32Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules227336923/artifact_info" + time="2024-01-08T12:27:32Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules227336923/device_type" + time="2024-01-08T12:27:32Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:32Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:32Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules227336923/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules227336923/work/payloads/0000/tree" + time="2024-01-08T12:27:32Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:32Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules227336923/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules227336923/work/payloads/0000/tree" + time="2024-01-08T12:27:32Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:32Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:32Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:32Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:32Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38073->[::1]:53: read: connection refused" + time="2024-01-08T12:27:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38073->[::1]:53: read: connection refused" + time="2024-01-08T12:27:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48478->[::1]:53: read: connection refused" + time="2024-01-08T12:27:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48478->[::1]:53: read: connection refused" + time="2024-01-08T12:27:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:32Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42520->[::1]:53: read: connection refused" + time="2024-01-08T12:27:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42520->[::1]:53: read: connection refused" + time="2024-01-08T12:27:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53568->[::1]:53: read: connection refused" + time="2024-01-08T12:27:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53568->[::1]:53: read: connection refused" + time="2024-01-08T12:27:32Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules227336923/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules227336923/work/payloads/0000/tree" + time="2024-01-08T12:27:32Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:32Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:32Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:32Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:32Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43222->[::1]:53: read: connection refused" + time="2024-01-08T12:27:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43222->[::1]:53: read: connection refused" + time="2024-01-08T12:27:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52198->[::1]:53: read: connection refused" + time="2024-01-08T12:27:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52198->[::1]:53: read: connection refused" + time="2024-01-08T12:27:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:32Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39238->[::1]:53: read: connection refused" + time="2024-01-08T12:27:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39238->[::1]:53: read: connection refused" + time="2024-01-08T12:27:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33754->[::1]:53: read: connection refused" + time="2024-01-08T12:27:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33754->[::1]:53: read: connection refused" + time="2024-01-08T12:27:32Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:32Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules227336923/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules227336923/work/payloads/0000/tree" + time="2024-01-08T12:27:32Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:32Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43573->[::1]:53: read: connection refused" + time="2024-01-08T12:27:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43573->[::1]:53: read: connection refused" + time="2024-01-08T12:27:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36723->[::1]:53: read: connection refused" + time="2024-01-08T12:27:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36723->[::1]:53: read: connection refused" + time="2024-01-08T12:27:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:32Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46683->[::1]:53: read: connection refused" + time="2024-01-08T12:27:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46683->[::1]:53: read: connection refused" + time="2024-01-08T12:27:32Z" level=error msg="statescript: Ignoring error executing 'ArtifactFailure_Enter_00': 1: exit status 1" + time="2024-01-08T12:27:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54872->[::1]:53: read: connection refused" + time="2024-01-08T12:27:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54872->[::1]:53: read: connection refused" + time="2024-01-08T12:27:32Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:32Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules227336923/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules227336923/work/payloads/0000/tree" + time="2024-01-08T12:27:32Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:32Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:32Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:32Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules227336923/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules227336923/work/payloads/0000/tree" + time="2024-01-08T12:27:32Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:32Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:32Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:32Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:32Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules227336923/artifact_info file." + time="2024-01-08T12:27:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules227336923/artifact_info" + time="2024-01-08T12:27:32Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:32Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.60s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Enter_00 state_test.go:4717: Killed in ArtifactFailure_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:46Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:46Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:46Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:46Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36676->[::1]:53: read: connection refused" - time="2024-01-08T11:58:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36676->[::1]:53: read: connection refused" - time="2024-01-08T11:58:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49318->[::1]:53: read: connection refused" - time="2024-01-08T11:58:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49318->[::1]:53: read: connection refused" - time="2024-01-08T11:58:46Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:46Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:46Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:46Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules196204451/device_type" - time="2024-01-08T11:58:46Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:46Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:46Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:46Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:46Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:46Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules196204451/artifact_info file." - time="2024-01-08T11:58:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules196204451/artifact_info" - time="2024-01-08T11:58:46Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:46Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules196204451/artifact_info" - time="2024-01-08T11:58:46Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules196204451/device_type" - time="2024-01-08T11:58:46Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:46Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:46Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:46Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules196204451/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules196204451/work/payloads/0000/tree" - time="2024-01-08T11:58:46Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:46Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules196204451/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules196204451/work/payloads/0000/tree" - time="2024-01-08T11:58:46Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:46Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:46Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:46Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:46Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45297->[::1]:53: read: connection refused" - time="2024-01-08T11:58:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45297->[::1]:53: read: connection refused" - time="2024-01-08T11:58:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39388->[::1]:53: read: connection refused" - time="2024-01-08T11:58:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39388->[::1]:53: read: connection refused" - time="2024-01-08T11:58:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:46Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41735->[::1]:53: read: connection refused" - time="2024-01-08T11:58:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41735->[::1]:53: read: connection refused" - time="2024-01-08T11:58:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59799->[::1]:53: read: connection refused" - time="2024-01-08T11:58:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59799->[::1]:53: read: connection refused" - time="2024-01-08T11:58:46Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules196204451/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules196204451/work/payloads/0000/tree" - time="2024-01-08T11:58:46Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:46Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:46Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:46Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:46Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57647->[::1]:53: read: connection refused" - time="2024-01-08T11:58:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57647->[::1]:53: read: connection refused" - time="2024-01-08T11:58:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42015->[::1]:53: read: connection refused" - time="2024-01-08T11:58:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42015->[::1]:53: read: connection refused" - time="2024-01-08T11:58:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:46Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59715->[::1]:53: read: connection refused" - time="2024-01-08T11:58:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59715->[::1]:53: read: connection refused" - time="2024-01-08T11:58:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53314->[::1]:53: read: connection refused" - time="2024-01-08T11:58:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53314->[::1]:53: read: connection refused" - time="2024-01-08T11:58:46Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:46Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules196204451/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules196204451/work/payloads/0000/tree" - time="2024-01-08T11:58:46Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:46Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33397->[::1]:53: read: connection refused" - time="2024-01-08T11:58:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33397->[::1]:53: read: connection refused" - time="2024-01-08T11:58:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46078->[::1]:53: read: connection refused" - time="2024-01-08T11:58:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46078->[::1]:53: read: connection refused" - time="2024-01-08T11:58:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:46Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45822->[::1]:53: read: connection refused" - time="2024-01-08T11:58:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45822->[::1]:53: read: connection refused" + time="2024-01-08T12:27:32Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:32Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:32Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:32Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:32Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43908->[::1]:53: read: connection refused" + time="2024-01-08T12:27:32Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43908->[::1]:53: read: connection refused" + time="2024-01-08T12:27:32Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36440->[::1]:53: read: connection refused" + time="2024-01-08T12:27:32Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36440->[::1]:53: read: connection refused" + time="2024-01-08T12:27:32Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:32Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:32Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:32Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:32Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules602339936/device_type" + time="2024-01-08T12:27:32Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:32Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:32Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:32Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:32Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:33Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:33Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules602339936/artifact_info file." + time="2024-01-08T12:27:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules602339936/artifact_info" + time="2024-01-08T12:27:33Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:33Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules602339936/artifact_info" + time="2024-01-08T12:27:33Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules602339936/device_type" + time="2024-01-08T12:27:33Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:33Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:33Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:33Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules602339936/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules602339936/work/payloads/0000/tree" + time="2024-01-08T12:27:33Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:33Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules602339936/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules602339936/work/payloads/0000/tree" + time="2024-01-08T12:27:33Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:33Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:33Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:33Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:33Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38919->[::1]:53: read: connection refused" + time="2024-01-08T12:27:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38919->[::1]:53: read: connection refused" + time="2024-01-08T12:27:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45189->[::1]:53: read: connection refused" + time="2024-01-08T12:27:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45189->[::1]:53: read: connection refused" + time="2024-01-08T12:27:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:33Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44084->[::1]:53: read: connection refused" + time="2024-01-08T12:27:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44084->[::1]:53: read: connection refused" + time="2024-01-08T12:27:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54294->[::1]:53: read: connection refused" + time="2024-01-08T12:27:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54294->[::1]:53: read: connection refused" + time="2024-01-08T12:27:33Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules602339936/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules602339936/work/payloads/0000/tree" + time="2024-01-08T12:27:33Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:33Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:33Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:33Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:33Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45374->[::1]:53: read: connection refused" + time="2024-01-08T12:27:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45374->[::1]:53: read: connection refused" + time="2024-01-08T12:27:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59332->[::1]:53: read: connection refused" + time="2024-01-08T12:27:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59332->[::1]:53: read: connection refused" + time="2024-01-08T12:27:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:33Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38356->[::1]:53: read: connection refused" + time="2024-01-08T12:27:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38356->[::1]:53: read: connection refused" + time="2024-01-08T12:27:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58943->[::1]:53: read: connection refused" + time="2024-01-08T12:27:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58943->[::1]:53: read: connection refused" + time="2024-01-08T12:27:33Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:33Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules602339936/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules602339936/work/payloads/0000/tree" + time="2024-01-08T12:27:33Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:33Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55024->[::1]:53: read: connection refused" + time="2024-01-08T12:27:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55024->[::1]:53: read: connection refused" + time="2024-01-08T12:27:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58610->[::1]:53: read: connection refused" + time="2024-01-08T12:27:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58610->[::1]:53: read: connection refused" + time="2024-01-08T12:27:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:33Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46709->[::1]:53: read: connection refused" + time="2024-01-08T12:27:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46709->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 6 (*app.updateErrorState) - time="2024-01-08T11:58:47Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:58:47Z" level=info msg="Handling loaded state: update-error" - time="2024-01-08T11:58:47Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:47Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-08T11:58:47Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:47Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:47Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59802->[::1]:53: read: connection refused" - time="2024-01-08T11:58:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59802->[::1]:53: read: connection refused" - time="2024-01-08T11:58:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40395->[::1]:53: read: connection refused" - time="2024-01-08T11:58:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40395->[::1]:53: read: connection refused" - time="2024-01-08T11:58:47Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:47Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules196204451/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules196204451/work/payloads/0000/tree" - time="2024-01-08T11:58:47Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:47Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:47Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:47Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules196204451/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules196204451/work/payloads/0000/tree" - time="2024-01-08T11:58:47Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:47Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:47Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:47Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules196204451/artifact_info file." - time="2024-01-08T11:58:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules196204451/artifact_info" - time="2024-01-08T11:58:47Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:47Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.13s) + time="2024-01-08T12:27:33Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:27:33Z" level=info msg="Handling loaded state: update-error" + time="2024-01-08T12:27:33Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:33Z" level=error msg="Mender shut down in state: update-error" + time="2024-01-08T12:27:33Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:33Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:33Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43141->[::1]:53: read: connection refused" + time="2024-01-08T12:27:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43141->[::1]:53: read: connection refused" + time="2024-01-08T12:27:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48653->[::1]:53: read: connection refused" + time="2024-01-08T12:27:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48653->[::1]:53: read: connection refused" + time="2024-01-08T12:27:33Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:33Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules602339936/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules602339936/work/payloads/0000/tree" + time="2024-01-08T12:27:33Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:33Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:33Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:33Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules602339936/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules602339936/work/payloads/0000/tree" + time="2024-01-08T12:27:33Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:33Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:33Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:33Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:33Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules602339936/artifact_info file." + time="2024-01-08T12:27:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules602339936/artifact_info" + time="2024-01-08T12:27:33Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:33Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.08s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00 state_test.go:4717: Error in ArtifactCommit_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:47Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:47Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:47Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:47Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39510->[::1]:53: read: connection refused" - time="2024-01-08T11:58:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39510->[::1]:53: read: connection refused" - time="2024-01-08T11:58:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40400->[::1]:53: read: connection refused" - time="2024-01-08T11:58:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40400->[::1]:53: read: connection refused" - time="2024-01-08T11:58:47Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:47Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:47Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:47Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules183761096/device_type" - time="2024-01-08T11:58:47Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:47Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:47Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:47Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:47Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules183761096/artifact_info file." - time="2024-01-08T11:58:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules183761096/artifact_info" - time="2024-01-08T11:58:47Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:47Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules183761096/artifact_info" - time="2024-01-08T11:58:47Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules183761096/device_type" - time="2024-01-08T11:58:47Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:47Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:47Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:47Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules183761096/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules183761096/work/payloads/0000/tree" - time="2024-01-08T11:58:47Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:47Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules183761096/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules183761096/work/payloads/0000/tree" - time="2024-01-08T11:58:47Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:47Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:47Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:47Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:47Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45734->[::1]:53: read: connection refused" - time="2024-01-08T11:58:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45734->[::1]:53: read: connection refused" - time="2024-01-08T11:58:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48665->[::1]:53: read: connection refused" - time="2024-01-08T11:58:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48665->[::1]:53: read: connection refused" - time="2024-01-08T11:58:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:47Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34261->[::1]:53: read: connection refused" - time="2024-01-08T11:58:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34261->[::1]:53: read: connection refused" - time="2024-01-08T11:58:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59172->[::1]:53: read: connection refused" - time="2024-01-08T11:58:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59172->[::1]:53: read: connection refused" - time="2024-01-08T11:58:47Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules183761096/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules183761096/work/payloads/0000/tree" - time="2024-01-08T11:58:47Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules183761096/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules183761096/work/payloads/0000/tree" - time="2024-01-08T11:58:47Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:47Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:58:47Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:58:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:47Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53298->[::1]:53: read: connection refused" - time="2024-01-08T11:58:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53298->[::1]:53: read: connection refused" - time="2024-01-08T11:58:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59106->[::1]:53: read: connection refused" - time="2024-01-08T11:58:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59106->[::1]:53: read: connection refused" - time="2024-01-08T11:58:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:47Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57923->[::1]:53: read: connection refused" - time="2024-01-08T11:58:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57923->[::1]:53: read: connection refused" - time="2024-01-08T11:58:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58816->[::1]:53: read: connection refused" - time="2024-01-08T11:58:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58816->[::1]:53: read: connection refused" - time="2024-01-08T11:58:47Z" level=debug msg="Handling reboot state" - time="2024-01-08T11:58:47Z" level=info msg="Rebooting device(s)" - time="2024-01-08T11:58:47Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-08T11:58:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules183761096/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules183761096/work/payloads/0000/tree" - time="2024-01-08T11:58:48Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:48Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-08T11:58:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules183761096/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules183761096/work/payloads/0000/tree" - time="2024-01-08T11:58:48Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:48Z" level=debug msg="Handling state after reboot" - time="2024-01-08T11:58:48Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-08T11:58:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:48Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49340->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49340->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58509->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58509->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:48Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56867->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56867->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54520->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54520->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=error msg="transient error: error calling enter script for (error) update-commit state: error running enter state script(s) for ArtifactCommit_Enter state: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" - time="2024-01-08T11:58:48Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:48Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:48Z" level=debug msg="Executing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57887->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57887->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56684->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56684->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:48Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48578->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48578->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36390->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36390->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:48Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules183761096/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules183761096/work/payloads/0000/tree" - time="2024-01-08T11:58:48Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-08T11:58:48Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:58:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:48Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46220->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46220->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33050->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33050->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:48Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58230->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58230->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54749->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54749->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:58:48Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:58:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules183761096/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules183761096/work/payloads/0000/tree" - time="2024-01-08T11:58:48Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:48Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:58:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules183761096/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules183761096/work/payloads/0000/tree" - time="2024-01-08T11:58:48Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:48Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-08T11:58:48Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:48Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39993->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39993->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53052->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53052->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:48Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55808->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55808->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38623->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38623->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:48Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules183761096/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules183761096/work/payloads/0000/tree" - time="2024-01-08T11:58:48Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:48Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:48Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:48Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules183761096/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules183761096/work/payloads/0000/tree" - time="2024-01-08T11:58:48Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:48Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:48Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:48Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules183761096/artifact_info file." - time="2024-01-08T11:58:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules183761096/artifact_info" - time="2024-01-08T11:58:48Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:48Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (1.12s) + time="2024-01-08T12:27:33Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:33Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:33Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:33Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:33Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36671->[::1]:53: read: connection refused" + time="2024-01-08T12:27:33Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36671->[::1]:53: read: connection refused" + time="2024-01-08T12:27:33Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33073->[::1]:53: read: connection refused" + time="2024-01-08T12:27:33Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33073->[::1]:53: read: connection refused" + time="2024-01-08T12:27:33Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:33Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:33Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:33Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules885050057/device_type" + time="2024-01-08T12:27:33Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:33Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:33Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:33Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:33Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:33Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:33Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:33Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:33Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:33Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:33Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:33Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules885050057/artifact_info file." + time="2024-01-08T12:27:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules885050057/artifact_info" + time="2024-01-08T12:27:33Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:33Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules885050057/artifact_info" + time="2024-01-08T12:27:33Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:33Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules885050057/device_type" + time="2024-01-08T12:27:33Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:33Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:34Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:34Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules885050057/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules885050057/work/payloads/0000/tree" + time="2024-01-08T12:27:34Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:34Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules885050057/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules885050057/work/payloads/0000/tree" + time="2024-01-08T12:27:34Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:34Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:34Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:34Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:34Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42279->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42279->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44523->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44523->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:34Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35439->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35439->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57752->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57752->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules885050057/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules885050057/work/payloads/0000/tree" + time="2024-01-08T12:27:34Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules885050057/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules885050057/work/payloads/0000/tree" + time="2024-01-08T12:27:34Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:34Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:34Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:34Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52140->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52140->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49357->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49357->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:34Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53056->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53056->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39655->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39655->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=debug msg="Handling reboot state" + time="2024-01-08T12:27:34Z" level=info msg="Rebooting device(s)" + time="2024-01-08T12:27:34Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2024-01-08T12:27:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules885050057/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules885050057/work/payloads/0000/tree" + time="2024-01-08T12:27:34Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:34Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2024-01-08T12:27:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules885050057/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules885050057/work/payloads/0000/tree" + time="2024-01-08T12:27:34Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:34Z" level=debug msg="Handling state after reboot" + time="2024-01-08T12:27:34Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2024-01-08T12:27:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:34Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57462->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57462->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39118->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39118->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:34Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39158->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39158->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56389->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56389->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="transient error: error calling enter script for (error) update-commit state: error running enter state script(s) for ArtifactCommit_Enter state: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" + time="2024-01-08T12:27:34Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:34Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:34Z" level=debug msg="Executing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35333->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35333->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54068->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54068->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:34Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49664->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49664->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54341->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54341->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:34Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules885050057/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules885050057/work/payloads/0000/tree" + time="2024-01-08T12:27:34Z" level=debug msg="Will try to rollback reboot the device" + time="2024-01-08T12:27:34Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:34Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33806->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33806->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42037->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42037->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:34Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40789->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40789->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52689->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52689->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:34Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules885050057/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules885050057/work/payloads/0000/tree" + time="2024-01-08T12:27:34Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:34Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules885050057/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules885050057/work/payloads/0000/tree" + time="2024-01-08T12:27:34Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:34Z" level=debug msg="Handling state after rollback reboot" + time="2024-01-08T12:27:34Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:34Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33723->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33723->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32918->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32918->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:34Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56545->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56545->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48873->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48873->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:34Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules885050057/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules885050057/work/payloads/0000/tree" + time="2024-01-08T12:27:34Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:34Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:34Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:34Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:34Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules885050057/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules885050057/work/payloads/0000/tree" + time="2024-01-08T12:27:34Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:34Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:34Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:34Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:34Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules885050057/artifact_info file." + time="2024-01-08T12:27:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules885050057/artifact_info" + time="2024-01-08T12:27:34Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:34Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.94s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00 state_test.go:4717: Killed in ArtifactCommit_Enter_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:48Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:48Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:48Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:48Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35460->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35460->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39021->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39021->[::1]:53: read: connection refused" - time="2024-01-08T11:58:48Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:48Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:48Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:48Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules277067601/device_type" - time="2024-01-08T11:58:48Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:48Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:48Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:48Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:48Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules277067601/artifact_info file." - time="2024-01-08T11:58:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules277067601/artifact_info" - time="2024-01-08T11:58:48Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:48Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules277067601/artifact_info" - time="2024-01-08T11:58:48Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules277067601/device_type" - time="2024-01-08T11:58:48Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:48Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:48Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:48Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules277067601/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules277067601/work/payloads/0000/tree" - time="2024-01-08T11:58:49Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:49Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules277067601/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules277067601/work/payloads/0000/tree" - time="2024-01-08T11:58:49Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:49Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:49Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:49Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:49Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49624->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49624->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42413->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42413->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:49Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57217->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57217->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43960->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43960->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules277067601/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules277067601/work/payloads/0000/tree" - time="2024-01-08T11:58:49Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules277067601/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules277067601/work/payloads/0000/tree" - time="2024-01-08T11:58:49Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:49Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:58:49Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:58:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:49Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48937->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48937->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50284->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50284->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:49Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34395->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34395->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33871->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33871->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=debug msg="Handling reboot state" - time="2024-01-08T11:58:49Z" level=info msg="Rebooting device(s)" - time="2024-01-08T11:58:49Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-08T11:58:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules277067601/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules277067601/work/payloads/0000/tree" - time="2024-01-08T11:58:49Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:49Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-08T11:58:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules277067601/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules277067601/work/payloads/0000/tree" - time="2024-01-08T11:58:49Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:49Z" level=debug msg="Handling state after reboot" - time="2024-01-08T11:58:49Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-08T11:58:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:49Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52177->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52177->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42975->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42975->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:49Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36953->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36953->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:34Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:34Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:34Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:34Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41962->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41962->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45080->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45080->[::1]:53: read: connection refused" + time="2024-01-08T12:27:34Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:34Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:34Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:34Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules671471078/device_type" + time="2024-01-08T12:27:34Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:34Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:34Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:34Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:34Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:34Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:34Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:34Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:34Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:34Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:34Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:34Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules671471078/artifact_info file." + time="2024-01-08T12:27:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules671471078/artifact_info" + time="2024-01-08T12:27:34Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:34Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules671471078/artifact_info" + time="2024-01-08T12:27:34Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:34Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules671471078/device_type" + time="2024-01-08T12:27:34Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:34Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:35Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:35Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules671471078/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules671471078/work/payloads/0000/tree" + time="2024-01-08T12:27:35Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:35Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules671471078/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules671471078/work/payloads/0000/tree" + time="2024-01-08T12:27:35Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:35Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:35Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:35Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:35Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36400->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36400->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38044->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38044->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:35Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36240->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36240->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49537->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49537->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules671471078/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules671471078/work/payloads/0000/tree" + time="2024-01-08T12:27:35Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules671471078/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules671471078/work/payloads/0000/tree" + time="2024-01-08T12:27:35Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:35Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:35Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:35Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43284->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43284->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32861->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32861->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:35Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50151->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50151->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42092->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42092->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=debug msg="Handling reboot state" + time="2024-01-08T12:27:35Z" level=info msg="Rebooting device(s)" + time="2024-01-08T12:27:35Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2024-01-08T12:27:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules671471078/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules671471078/work/payloads/0000/tree" + time="2024-01-08T12:27:35Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:35Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2024-01-08T12:27:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules671471078/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules671471078/work/payloads/0000/tree" + time="2024-01-08T12:27:35Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:35Z" level=debug msg="Handling state after reboot" + time="2024-01-08T12:27:35Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2024-01-08T12:27:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:35Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46273->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46273->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34548->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34548->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:35Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33799->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33799->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 8 (*app.updateRollbackState) - time="2024-01-08T11:58:49Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:58:49Z" level=info msg="Handling loaded state: update-commit" - time="2024-01-08T11:58:49Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:49Z" level=error msg="Mender shut down in state: update-commit" - time="2024-01-08T11:58:49Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:49Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:49Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48808->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48808->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56755->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56755->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:49Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules277067601/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules277067601/work/payloads/0000/tree" - time="2024-01-08T11:58:49Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-08T11:58:49Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:58:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:49Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53333->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53333->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50374->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50374->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49434->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49434->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55159->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55159->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:58:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:58:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules277067601/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules277067601/work/payloads/0000/tree" - time="2024-01-08T11:58:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:58:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules277067601/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules277067601/work/payloads/0000/tree" - time="2024-01-08T11:58:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:49Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-08T11:58:49Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47904->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47904->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58382->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58382->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:49Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46100->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46100->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37469->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37469->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:49Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules277067601/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules277067601/work/payloads/0000/tree" - time="2024-01-08T11:58:49Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:49Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:49Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:49Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules277067601/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules277067601/work/payloads/0000/tree" - time="2024-01-08T11:58:49Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:49Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:49Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:49Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:49Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules277067601/artifact_info file." - time="2024-01-08T11:58:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules277067601/artifact_info" - time="2024-01-08T11:58:49Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:49Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.30s) + time="2024-01-08T12:27:35Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:27:35Z" level=info msg="Handling loaded state: update-commit" + time="2024-01-08T12:27:35Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:35Z" level=error msg="Mender shut down in state: update-commit" + time="2024-01-08T12:27:35Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:35Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:35Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59404->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59404->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55771->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55771->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:35Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules671471078/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules671471078/work/payloads/0000/tree" + time="2024-01-08T12:27:35Z" level=debug msg="Will try to rollback reboot the device" + time="2024-01-08T12:27:35Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:35Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60593->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60593->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51045->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51045->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:35Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57943->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57943->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44535->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44535->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:35Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules671471078/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules671471078/work/payloads/0000/tree" + time="2024-01-08T12:27:35Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:35Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules671471078/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules671471078/work/payloads/0000/tree" + time="2024-01-08T12:27:35Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:35Z" level=debug msg="Handling state after rollback reboot" + time="2024-01-08T12:27:35Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:35Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38575->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38575->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45642->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45642->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:35Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59419->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59419->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57495->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57495->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:35Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules671471078/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules671471078/work/payloads/0000/tree" + time="2024-01-08T12:27:35Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:35Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:35Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:35Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:35Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules671471078/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules671471078/work/payloads/0000/tree" + time="2024-01-08T12:27:35Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:35Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:35Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:35Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:35Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules671471078/artifact_info file." + time="2024-01-08T12:27:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules671471078/artifact_info" + time="2024-01-08T12:27:35Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:35Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.26s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00,_no_reboot state_test.go:4717: Error in ArtifactCommit_Enter_00, no reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:49Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:49Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:49Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:49Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49827->[::1]:53: read: connection refused" - time="2024-01-08T11:58:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49827->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47968->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47968->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:50Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:50Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:50Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules951636750/device_type" - time="2024-01-08T11:58:50Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:50Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:50Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:50Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:50Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:50Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules951636750/artifact_info file." - time="2024-01-08T11:58:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules951636750/artifact_info" - time="2024-01-08T11:58:50Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:50Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules951636750/artifact_info" - time="2024-01-08T11:58:50Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules951636750/device_type" - time="2024-01-08T11:58:50Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:50Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:50Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules951636750/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules951636750/work/payloads/0000/tree" - time="2024-01-08T11:58:50Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules951636750/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules951636750/work/payloads/0000/tree" - time="2024-01-08T11:58:50Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:50Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:50Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:50Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:50Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33025->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33025->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39810->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39810->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:50Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34644->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34644->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56191->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56191->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules951636750/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules951636750/work/payloads/0000/tree" - time="2024-01-08T11:58:50Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules951636750/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules951636750/work/payloads/0000/tree" - time="2024-01-08T11:58:50Z" level=debug msg="Update module output: No" - time="2024-01-08T11:58:50Z" level=debug msg="Module does not need reboot" - time="2024-01-08T11:58:50Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-08T11:58:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:50Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60414->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60414->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59719->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59719->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:50Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42890->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42890->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56177->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56177->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=error msg="transient error: error calling enter script for (error) update-commit state: error running enter state script(s) for ArtifactCommit_Enter state: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" - time="2024-01-08T11:58:50Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:50Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:50Z" level=debug msg="Executing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34129->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34129->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38992->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38992->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:50Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45357->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45357->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59904->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59904->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:50Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules951636750/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules951636750/work/payloads/0000/tree" - time="2024-01-08T11:58:50Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:50Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43713->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43713->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46788->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46788->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:50Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34429->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34429->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46747->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46747->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:50Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules951636750/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules951636750/work/payloads/0000/tree" - time="2024-01-08T11:58:50Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:50Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:50Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:50Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules951636750/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules951636750/work/payloads/0000/tree" - time="2024-01-08T11:58:50Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:50Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:50Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:50Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:50Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules951636750/artifact_info file." - time="2024-01-08T11:58:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules951636750/artifact_info" - time="2024-01-08T11:58:50Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:50Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.63s) + time="2024-01-08T12:27:35Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:35Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:35Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:35Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:35Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56649->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56649->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49056->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49056->[::1]:53: read: connection refused" + time="2024-01-08T12:27:35Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:35Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:35Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:35Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:35Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules041929671/device_type" + time="2024-01-08T12:27:35Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:35Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:35Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:35Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:35Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:35Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:35Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:35Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:35Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:35Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:36Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:36Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules041929671/artifact_info file." + time="2024-01-08T12:27:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules041929671/artifact_info" + time="2024-01-08T12:27:36Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:36Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules041929671/artifact_info" + time="2024-01-08T12:27:36Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules041929671/device_type" + time="2024-01-08T12:27:36Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:36Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:36Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:36Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules041929671/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules041929671/work/payloads/0000/tree" + time="2024-01-08T12:27:36Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:36Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules041929671/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules041929671/work/payloads/0000/tree" + time="2024-01-08T12:27:36Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:36Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:36Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:36Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:36Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35464->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35464->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53608->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53608->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:36Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48288->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48288->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38873->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38873->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules041929671/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules041929671/work/payloads/0000/tree" + time="2024-01-08T12:27:36Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules041929671/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules041929671/work/payloads/0000/tree" + time="2024-01-08T12:27:36Z" level=debug msg="Update module output: No" + time="2024-01-08T12:27:36Z" level=debug msg="Module does not need reboot" + time="2024-01-08T12:27:36Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" + time="2024-01-08T12:27:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:36Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53090->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53090->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39115->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39115->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:36Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57918->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57918->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58024->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58024->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=error msg="transient error: error calling enter script for (error) update-commit state: error running enter state script(s) for ArtifactCommit_Enter state: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" + time="2024-01-08T12:27:36Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:36Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:36Z" level=debug msg="Executing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41853->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41853->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49725->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49725->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:36Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45510->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45510->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45828->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45828->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:36Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules041929671/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules041929671/work/payloads/0000/tree" + time="2024-01-08T12:27:36Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:36Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55612->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55612->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43193->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43193->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:36Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35980->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35980->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37184->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37184->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:36Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules041929671/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules041929671/work/payloads/0000/tree" + time="2024-01-08T12:27:36Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:36Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:36Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:36Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules041929671/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules041929671/work/payloads/0000/tree" + time="2024-01-08T12:27:36Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:36Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:36Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:36Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:36Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules041929671/artifact_info file." + time="2024-01-08T12:27:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules041929671/artifact_info" + time="2024-01-08T12:27:36Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:36Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.82s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00,_no_reboot state_test.go:4717: Killed in ArtifactCommit_Enter_00, no reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:50Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:50Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:50Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:50Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46624->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46624->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37369->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37369->[::1]:53: read: connection refused" - time="2024-01-08T11:58:50Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:50Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:50Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:50Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules466353167/device_type" - time="2024-01-08T11:58:50Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:50Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:50Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:50Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:50Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:50Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules466353167/artifact_info file." - time="2024-01-08T11:58:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules466353167/artifact_info" - time="2024-01-08T11:58:50Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:50Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules466353167/artifact_info" - time="2024-01-08T11:58:50Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules466353167/device_type" - time="2024-01-08T11:58:50Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:50Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:50Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:50Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules466353167/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules466353167/work/payloads/0000/tree" - time="2024-01-08T11:58:50Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules466353167/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules466353167/work/payloads/0000/tree" - time="2024-01-08T11:58:51Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:51Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:51Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:51Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:51Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32887->[::1]:53: read: connection refused" - time="2024-01-08T11:58:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32887->[::1]:53: read: connection refused" - time="2024-01-08T11:58:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42518->[::1]:53: read: connection refused" - time="2024-01-08T11:58:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42518->[::1]:53: read: connection refused" - time="2024-01-08T11:58:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:51Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42443->[::1]:53: read: connection refused" - time="2024-01-08T11:58:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42443->[::1]:53: read: connection refused" - time="2024-01-08T11:58:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51217->[::1]:53: read: connection refused" - time="2024-01-08T11:58:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51217->[::1]:53: read: connection refused" - time="2024-01-08T11:58:51Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules466353167/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules466353167/work/payloads/0000/tree" - time="2024-01-08T11:58:51Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules466353167/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules466353167/work/payloads/0000/tree" - time="2024-01-08T11:58:51Z" level=debug msg="Update module output: No" - time="2024-01-08T11:58:51Z" level=debug msg="Module does not need reboot" - time="2024-01-08T11:58:51Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-08T11:58:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:51Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34386->[::1]:53: read: connection refused" - time="2024-01-08T11:58:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34386->[::1]:53: read: connection refused" - time="2024-01-08T11:58:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49901->[::1]:53: read: connection refused" - time="2024-01-08T11:58:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49901->[::1]:53: read: connection refused" - time="2024-01-08T11:58:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:51Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38583->[::1]:53: read: connection refused" - time="2024-01-08T11:58:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38583->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:36Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:36Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:36Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35770->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35770->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38005->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38005->[::1]:53: read: connection refused" + time="2024-01-08T12:27:36Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:36Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:36Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:36Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules219057084/device_type" + time="2024-01-08T12:27:36Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:36Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:36Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:36Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:37Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:37Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules219057084/artifact_info file." + time="2024-01-08T12:27:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules219057084/artifact_info" + time="2024-01-08T12:27:37Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:37Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules219057084/artifact_info" + time="2024-01-08T12:27:37Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules219057084/device_type" + time="2024-01-08T12:27:37Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:37Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:37Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:37Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules219057084/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules219057084/work/payloads/0000/tree" + time="2024-01-08T12:27:37Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:37Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules219057084/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules219057084/work/payloads/0000/tree" + time="2024-01-08T12:27:37Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:37Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:37Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:37Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:37Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40996->[::1]:53: read: connection refused" + time="2024-01-08T12:27:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40996->[::1]:53: read: connection refused" + time="2024-01-08T12:27:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42315->[::1]:53: read: connection refused" + time="2024-01-08T12:27:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42315->[::1]:53: read: connection refused" + time="2024-01-08T12:27:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:37Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49973->[::1]:53: read: connection refused" + time="2024-01-08T12:27:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49973->[::1]:53: read: connection refused" + time="2024-01-08T12:27:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38096->[::1]:53: read: connection refused" + time="2024-01-08T12:27:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38096->[::1]:53: read: connection refused" + time="2024-01-08T12:27:37Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules219057084/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules219057084/work/payloads/0000/tree" + time="2024-01-08T12:27:37Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules219057084/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules219057084/work/payloads/0000/tree" + time="2024-01-08T12:27:37Z" level=debug msg="Update module output: No" + time="2024-01-08T12:27:37Z" level=debug msg="Module does not need reboot" + time="2024-01-08T12:27:37Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" + time="2024-01-08T12:27:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:37Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57385->[::1]:53: read: connection refused" + time="2024-01-08T12:27:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57385->[::1]:53: read: connection refused" + time="2024-01-08T12:27:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58887->[::1]:53: read: connection refused" + time="2024-01-08T12:27:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58887->[::1]:53: read: connection refused" + time="2024-01-08T12:27:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:37Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56973->[::1]:53: read: connection refused" + time="2024-01-08T12:27:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56973->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 5 (*app.updateRollbackState) - time="2024-01-08T11:58:51Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:58:51Z" level=info msg="Handling loaded state: update-commit" - time="2024-01-08T11:58:51Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:51Z" level=error msg="Mender shut down in state: update-commit" - time="2024-01-08T11:58:51Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:51Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:51Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59384->[::1]:53: read: connection refused" - time="2024-01-08T11:58:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59384->[::1]:53: read: connection refused" - time="2024-01-08T11:58:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44007->[::1]:53: read: connection refused" - time="2024-01-08T11:58:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44007->[::1]:53: read: connection refused" - time="2024-01-08T11:58:51Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:51Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules466353167/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules466353167/work/payloads/0000/tree" - time="2024-01-08T11:58:51Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:51Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49866->[::1]:53: read: connection refused" - time="2024-01-08T11:58:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49866->[::1]:53: read: connection refused" - time="2024-01-08T11:58:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56308->[::1]:53: read: connection refused" - time="2024-01-08T11:58:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56308->[::1]:53: read: connection refused" - time="2024-01-08T11:58:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56193->[::1]:53: read: connection refused" - time="2024-01-08T11:58:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56193->[::1]:53: read: connection refused" - time="2024-01-08T11:58:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44551->[::1]:53: read: connection refused" - time="2024-01-08T11:58:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44551->[::1]:53: read: connection refused" - time="2024-01-08T11:58:51Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:51Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules466353167/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules466353167/work/payloads/0000/tree" - time="2024-01-08T11:58:51Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:51Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:51Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:51Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules466353167/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules466353167/work/payloads/0000/tree" - time="2024-01-08T11:58:51Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:51Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:51Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:51Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules466353167/artifact_info file." - time="2024-01-08T11:58:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules466353167/artifact_info" - time="2024-01-08T11:58:51Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:51Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.19s) + time="2024-01-08T12:27:37Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:27:37Z" level=info msg="Handling loaded state: update-commit" + time="2024-01-08T12:27:37Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:37Z" level=error msg="Mender shut down in state: update-commit" + time="2024-01-08T12:27:37Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:37Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:37Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42981->[::1]:53: read: connection refused" + time="2024-01-08T12:27:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42981->[::1]:53: read: connection refused" + time="2024-01-08T12:27:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37126->[::1]:53: read: connection refused" + time="2024-01-08T12:27:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37126->[::1]:53: read: connection refused" + time="2024-01-08T12:27:37Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:37Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules219057084/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules219057084/work/payloads/0000/tree" + time="2024-01-08T12:27:37Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:37Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53742->[::1]:53: read: connection refused" + time="2024-01-08T12:27:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53742->[::1]:53: read: connection refused" + time="2024-01-08T12:27:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49978->[::1]:53: read: connection refused" + time="2024-01-08T12:27:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49978->[::1]:53: read: connection refused" + time="2024-01-08T12:27:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:37Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51310->[::1]:53: read: connection refused" + time="2024-01-08T12:27:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51310->[::1]:53: read: connection refused" + time="2024-01-08T12:27:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34587->[::1]:53: read: connection refused" + time="2024-01-08T12:27:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34587->[::1]:53: read: connection refused" + time="2024-01-08T12:27:37Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:37Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules219057084/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules219057084/work/payloads/0000/tree" + time="2024-01-08T12:27:37Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:37Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:37Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:37Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules219057084/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules219057084/work/payloads/0000/tree" + time="2024-01-08T12:27:37Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:37Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:37Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:37Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:37Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules219057084/artifact_info file." + time="2024-01-08T12:27:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules219057084/artifact_info" + time="2024-01-08T12:27:37Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:37Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.16s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_Download_Leave_00_state,_no_rollback state_test.go:4717: Error in Download_Leave_00 state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:51Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:51Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:51Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:51Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46031->[::1]:53: read: connection refused" - time="2024-01-08T11:58:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46031->[::1]:53: read: connection refused" - time="2024-01-08T11:58:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59789->[::1]:53: read: connection refused" - time="2024-01-08T11:58:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59789->[::1]:53: read: connection refused" - time="2024-01-08T11:58:51Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:51Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:51Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:51Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules496564132/device_type" - time="2024-01-08T11:58:51Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:51Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:51Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:51Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:51Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules496564132/artifact_info file." - time="2024-01-08T11:58:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules496564132/artifact_info" - time="2024-01-08T11:58:51Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:51Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules496564132/artifact_info" - time="2024-01-08T11:58:51Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules496564132/device_type" - time="2024-01-08T11:58:51Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:51Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:51Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:51Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules496564132/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules496564132/work/payloads/0000/tree" - time="2024-01-08T11:58:51Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:51Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules496564132/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules496564132/work/payloads/0000/tree" - time="2024-01-08T11:58:51Z" level=debug msg="Update module output: No" - time="2024-01-08T11:58:51Z" level=debug msg="Module does not support rollback" - time="2024-01-08T11:58:51Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:51Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:51Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39202->[::1]:53: read: connection refused" - time="2024-01-08T11:58:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39202->[::1]:53: read: connection refused" - time="2024-01-08T11:58:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50492->[::1]:53: read: connection refused" - time="2024-01-08T11:58:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50492->[::1]:53: read: connection refused" - time="2024-01-08T11:58:51Z" level=error msg="transient error: error executing leave script for update-after-store state: error running leave state script(s) for Download_Leave state: statescript: error executing 'Download_Leave_00': 1 : exit status 1" - time="2024-01-08T11:58:51Z" level=info msg="State transition: update-after-store [Download_Leave] -> cleanup [Error]" - time="2024-01-08T11:58:51Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:51Z" level=debug msg="Executing script: Download_Error_00" - time="2024-01-08T11:58:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:51Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:51Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules496564132/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules496564132/work/payloads/0000/tree" - time="2024-01-08T11:58:52Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:52Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:52Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:52Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:52Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules496564132/artifact_info file." - time="2024-01-08T11:58:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules496564132/artifact_info" - time="2024-01-08T11:58:52Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:52Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.37s) + time="2024-01-08T12:27:37Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:37Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:37Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:37Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35001->[::1]:53: read: connection refused" + time="2024-01-08T12:27:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35001->[::1]:53: read: connection refused" + time="2024-01-08T12:27:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40279->[::1]:53: read: connection refused" + time="2024-01-08T12:27:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40279->[::1]:53: read: connection refused" + time="2024-01-08T12:27:37Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:37Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:37Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:37Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:37Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules581799765/device_type" + time="2024-01-08T12:27:37Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:37Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:37Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:37Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:37Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:37Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:37Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:37Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:37Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:37Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:38Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:38Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules581799765/artifact_info file." + time="2024-01-08T12:27:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules581799765/artifact_info" + time="2024-01-08T12:27:38Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:38Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules581799765/artifact_info" + time="2024-01-08T12:27:38Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules581799765/device_type" + time="2024-01-08T12:27:38Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:38Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:38Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:38Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules581799765/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules581799765/work/payloads/0000/tree" + time="2024-01-08T12:27:38Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:38Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules581799765/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules581799765/work/payloads/0000/tree" + time="2024-01-08T12:27:38Z" level=debug msg="Update module output: No" + time="2024-01-08T12:27:38Z" level=debug msg="Module does not support rollback" + time="2024-01-08T12:27:38Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:38Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:38Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33534->[::1]:53: read: connection refused" + time="2024-01-08T12:27:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33534->[::1]:53: read: connection refused" + time="2024-01-08T12:27:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37879->[::1]:53: read: connection refused" + time="2024-01-08T12:27:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37879->[::1]:53: read: connection refused" + time="2024-01-08T12:27:38Z" level=error msg="transient error: error executing leave script for update-after-store state: error running leave state script(s) for Download_Leave state: statescript: error executing 'Download_Leave_00': 1 : exit status 1" + time="2024-01-08T12:27:38Z" level=info msg="State transition: update-after-store [Download_Leave] -> cleanup [Error]" + time="2024-01-08T12:27:38Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:38Z" level=debug msg="Executing script: Download_Error_00" + time="2024-01-08T12:27:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:38Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:38Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules581799765/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules581799765/work/payloads/0000/tree" + time="2024-01-08T12:27:38Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:38Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:38Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:38Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:38Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules581799765/artifact_info file." + time="2024-01-08T12:27:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules581799765/artifact_info" + time="2024-01-08T12:27:38Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:38Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.51s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_Download_Leave_00_state,_no_rollback state_test.go:4717: Killed in Download_Leave_00 state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:52Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:52Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:52Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:52Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53263->[::1]:53: read: connection refused" - time="2024-01-08T11:58:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53263->[::1]:53: read: connection refused" - time="2024-01-08T11:58:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52710->[::1]:53: read: connection refused" - time="2024-01-08T11:58:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52710->[::1]:53: read: connection refused" - time="2024-01-08T11:58:52Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:52Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:52Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:52Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules209003357/device_type" - time="2024-01-08T11:58:52Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:52Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:52Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:52Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:52Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:52Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules209003357/artifact_info file." - time="2024-01-08T11:58:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules209003357/artifact_info" - time="2024-01-08T11:58:52Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:52Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules209003357/artifact_info" - time="2024-01-08T11:58:52Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules209003357/device_type" - time="2024-01-08T11:58:52Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:52Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:52Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:52Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules209003357/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules209003357/work/payloads/0000/tree" - time="2024-01-08T11:58:52Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules209003357/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules209003357/work/payloads/0000/tree" - time="2024-01-08T11:58:52Z" level=debug msg="Update module output: No" - time="2024-01-08T11:58:52Z" level=debug msg="Module does not support rollback" - time="2024-01-08T11:58:52Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:52Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:52Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34001->[::1]:53: read: connection refused" - time="2024-01-08T11:58:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34001->[::1]:53: read: connection refused" + time="2024-01-08T12:27:38Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:38Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:38Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:38Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55147->[::1]:53: read: connection refused" + time="2024-01-08T12:27:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55147->[::1]:53: read: connection refused" + time="2024-01-08T12:27:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41953->[::1]:53: read: connection refused" + time="2024-01-08T12:27:38Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41953->[::1]:53: read: connection refused" + time="2024-01-08T12:27:38Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:38Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:38Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:38Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules430131042/device_type" + time="2024-01-08T12:27:38Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:38Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:38Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:38Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:38Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:38Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:38Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:38Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:38Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:38Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:38Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:38Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules430131042/artifact_info file." + time="2024-01-08T12:27:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules430131042/artifact_info" + time="2024-01-08T12:27:38Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:38Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules430131042/artifact_info" + time="2024-01-08T12:27:38Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules430131042/device_type" + time="2024-01-08T12:27:38Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:38Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:38Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:38Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules430131042/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules430131042/work/payloads/0000/tree" + time="2024-01-08T12:27:38Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:38Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules430131042/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules430131042/work/payloads/0000/tree" + time="2024-01-08T12:27:38Z" level=debug msg="Update module output: No" + time="2024-01-08T12:27:38Z" level=debug msg="Module does not support rollback" + time="2024-01-08T12:27:38Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:38Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:38Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:38Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41942->[::1]:53: read: connection refused" + time="2024-01-08T12:27:38Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41942->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 4 (*app.updateCleanupState) - time="2024-01-08T11:58:52Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:58:52Z" level=info msg="Handling loaded state: update-after-store" - time="2024-01-08T11:58:52Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:52Z" level=error msg="Mender shut down in state: update-after-store" - time="2024-01-08T11:58:52Z" level=info msg="State transition: init [none] -> cleanup [Error]" - time="2024-01-08T11:58:52Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:52Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:52Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules209003357/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules209003357/work/payloads/0000/tree" - time="2024-01-08T11:58:52Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:52Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:52Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:52Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:52Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules209003357/artifact_info file." - time="2024-01-08T11:58:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules209003357/artifact_info" - time="2024-01-08T11:58:52Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:52Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.04s) + time="2024-01-08T12:27:38Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:27:38Z" level=info msg="Handling loaded state: update-after-store" + time="2024-01-08T12:27:38Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:38Z" level=error msg="Mender shut down in state: update-after-store" + time="2024-01-08T12:27:38Z" level=info msg="State transition: init [none] -> cleanup [Error]" + time="2024-01-08T12:27:38Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:38Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:38Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules430131042/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules430131042/work/payloads/0000/tree" + time="2024-01-08T12:27:38Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:38Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:38Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:38Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:38Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:38Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules430131042/artifact_info file." + time="2024-01-08T12:27:38Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules430131042/artifact_info" + time="2024-01-08T12:27:38Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:38Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.03s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00_state,_no_rollback state_test.go:4717: Error in ArtifactInstall_Leave_00 state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:52Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:52Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:52Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:52Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33553->[::1]:53: read: connection refused" - time="2024-01-08T11:58:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33553->[::1]:53: read: connection refused" - time="2024-01-08T11:58:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55328->[::1]:53: read: connection refused" - time="2024-01-08T11:58:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55328->[::1]:53: read: connection refused" - time="2024-01-08T11:58:52Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:52Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:52Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:52Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules389618186/device_type" - time="2024-01-08T11:58:52Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:52Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:52Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:52Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:52Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:52Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:52Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:53Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:53Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules389618186/artifact_info file." - time="2024-01-08T11:58:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules389618186/artifact_info" - time="2024-01-08T11:58:53Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:53Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules389618186/artifact_info" - time="2024-01-08T11:58:53Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules389618186/device_type" - time="2024-01-08T11:58:53Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:53Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:53Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:53Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389618186/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules389618186/work/payloads/0000/tree" - time="2024-01-08T11:58:53Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:53Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389618186/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules389618186/work/payloads/0000/tree" - time="2024-01-08T11:58:53Z" level=debug msg="Update module output: No" - time="2024-01-08T11:58:53Z" level=debug msg="Module does not support rollback" - time="2024-01-08T11:58:53Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:53Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:53Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58378->[::1]:53: read: connection refused" - time="2024-01-08T11:58:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58378->[::1]:53: read: connection refused" - time="2024-01-08T11:58:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46535->[::1]:53: read: connection refused" - time="2024-01-08T11:58:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46535->[::1]:53: read: connection refused" - time="2024-01-08T11:58:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:53Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48821->[::1]:53: read: connection refused" - time="2024-01-08T11:58:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48821->[::1]:53: read: connection refused" - time="2024-01-08T11:58:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46579->[::1]:53: read: connection refused" - time="2024-01-08T11:58:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46579->[::1]:53: read: connection refused" - time="2024-01-08T11:58:53Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389618186/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules389618186/work/payloads/0000/tree" - time="2024-01-08T11:58:53Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389618186/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules389618186/work/payloads/0000/tree" - time="2024-01-08T11:58:53Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:53Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:58:53Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:58:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:53Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44477->[::1]:53: read: connection refused" - time="2024-01-08T11:58:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44477->[::1]:53: read: connection refused" - time="2024-01-08T11:58:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53816->[::1]:53: read: connection refused" - time="2024-01-08T11:58:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53816->[::1]:53: read: connection refused" - time="2024-01-08T11:58:53Z" level=error msg="transient error: error executing leave script for update-install state: error running leave state script(s) for ArtifactInstall state: statescript: error executing 'ArtifactInstall_Leave_00': 1 : exit status 1" - time="2024-01-08T11:58:53Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2024-01-08T11:58:53Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:53Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:53Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52574->[::1]:53: read: connection refused" - time="2024-01-08T11:58:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52574->[::1]:53: read: connection refused" - time="2024-01-08T11:58:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35079->[::1]:53: read: connection refused" - time="2024-01-08T11:58:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35079->[::1]:53: read: connection refused" - time="2024-01-08T11:58:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:53Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47126->[::1]:53: read: connection refused" - time="2024-01-08T11:58:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47126->[::1]:53: read: connection refused" - time="2024-01-08T11:58:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47592->[::1]:53: read: connection refused" - time="2024-01-08T11:58:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47592->[::1]:53: read: connection refused" - time="2024-01-08T11:58:53Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:53Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389618186/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules389618186/work/payloads/0000/tree" - time="2024-01-08T11:58:53Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:53Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:53Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:53Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules389618186/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules389618186/work/payloads/0000/tree" - time="2024-01-08T11:58:53Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:53Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:53Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:53Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:53Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.58s) + time="2024-01-08T12:27:39Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:39Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:39Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:39Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57583->[::1]:53: read: connection refused" + time="2024-01-08T12:27:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57583->[::1]:53: read: connection refused" + time="2024-01-08T12:27:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39177->[::1]:53: read: connection refused" + time="2024-01-08T12:27:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39177->[::1]:53: read: connection refused" + time="2024-01-08T12:27:39Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:39Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:39Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:39Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules006013683/device_type" + time="2024-01-08T12:27:39Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:39Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:39Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:39Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:39Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:39Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:39Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:39Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:39Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:39Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:39Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:39Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules006013683/artifact_info file." + time="2024-01-08T12:27:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules006013683/artifact_info" + time="2024-01-08T12:27:39Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:39Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules006013683/artifact_info" + time="2024-01-08T12:27:39Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules006013683/device_type" + time="2024-01-08T12:27:39Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:39Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:39Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:39Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules006013683/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules006013683/work/payloads/0000/tree" + time="2024-01-08T12:27:39Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:39Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules006013683/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules006013683/work/payloads/0000/tree" + time="2024-01-08T12:27:39Z" level=debug msg="Update module output: No" + time="2024-01-08T12:27:39Z" level=debug msg="Module does not support rollback" + time="2024-01-08T12:27:39Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:39Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:39Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49064->[::1]:53: read: connection refused" + time="2024-01-08T12:27:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49064->[::1]:53: read: connection refused" + time="2024-01-08T12:27:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49944->[::1]:53: read: connection refused" + time="2024-01-08T12:27:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49944->[::1]:53: read: connection refused" + time="2024-01-08T12:27:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:39Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53067->[::1]:53: read: connection refused" + time="2024-01-08T12:27:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53067->[::1]:53: read: connection refused" + time="2024-01-08T12:27:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33388->[::1]:53: read: connection refused" + time="2024-01-08T12:27:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33388->[::1]:53: read: connection refused" + time="2024-01-08T12:27:39Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules006013683/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules006013683/work/payloads/0000/tree" + time="2024-01-08T12:27:39Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules006013683/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules006013683/work/payloads/0000/tree" + time="2024-01-08T12:27:39Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:39Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:39Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:39Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33129->[::1]:53: read: connection refused" + time="2024-01-08T12:27:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33129->[::1]:53: read: connection refused" + time="2024-01-08T12:27:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38979->[::1]:53: read: connection refused" + time="2024-01-08T12:27:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38979->[::1]:53: read: connection refused" + time="2024-01-08T12:27:39Z" level=error msg="transient error: error executing leave script for update-install state: error running leave state script(s) for ArtifactInstall state: statescript: error executing 'ArtifactInstall_Leave_00': 1 : exit status 1" + time="2024-01-08T12:27:39Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2024-01-08T12:27:39Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:39Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:39Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49713->[::1]:53: read: connection refused" + time="2024-01-08T12:27:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49713->[::1]:53: read: connection refused" + time="2024-01-08T12:27:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44672->[::1]:53: read: connection refused" + time="2024-01-08T12:27:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44672->[::1]:53: read: connection refused" + time="2024-01-08T12:27:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:39Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43275->[::1]:53: read: connection refused" + time="2024-01-08T12:27:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43275->[::1]:53: read: connection refused" + time="2024-01-08T12:27:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42271->[::1]:53: read: connection refused" + time="2024-01-08T12:27:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42271->[::1]:53: read: connection refused" + time="2024-01-08T12:27:39Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:39Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules006013683/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules006013683/work/payloads/0000/tree" + time="2024-01-08T12:27:39Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:39Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:39Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:39Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules006013683/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules006013683/work/payloads/0000/tree" + time="2024-01-08T12:27:39Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:39Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:39Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:39Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:39Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.82s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00_state,_no_rollback state_test.go:4717: Killed in ArtifactInstall_Leave_00 state, no rollback state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:53Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:53Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:53Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:53Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39522->[::1]:53: read: connection refused" - time="2024-01-08T11:58:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39522->[::1]:53: read: connection refused" - time="2024-01-08T11:58:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36662->[::1]:53: read: connection refused" - time="2024-01-08T11:58:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36662->[::1]:53: read: connection refused" - time="2024-01-08T11:58:53Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:53Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:53Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:53Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules719525051/device_type" - time="2024-01-08T11:58:53Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:53Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:53Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:53Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:53Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:53Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules719525051/artifact_info file." - time="2024-01-08T11:58:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules719525051/artifact_info" - time="2024-01-08T11:58:53Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:53Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules719525051/artifact_info" - time="2024-01-08T11:58:53Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules719525051/device_type" - time="2024-01-08T11:58:53Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:53Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:53Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:53Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules719525051/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules719525051/work/payloads/0000/tree" - time="2024-01-08T11:58:53Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:53Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules719525051/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules719525051/work/payloads/0000/tree" - time="2024-01-08T11:58:53Z" level=debug msg="Update module output: No" - time="2024-01-08T11:58:53Z" level=debug msg="Module does not support rollback" - time="2024-01-08T11:58:53Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:53Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:53Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59586->[::1]:53: read: connection refused" - time="2024-01-08T11:58:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59586->[::1]:53: read: connection refused" - time="2024-01-08T11:58:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39357->[::1]:53: read: connection refused" - time="2024-01-08T11:58:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39357->[::1]:53: read: connection refused" - time="2024-01-08T11:58:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:53Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56778->[::1]:53: read: connection refused" - time="2024-01-08T11:58:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56778->[::1]:53: read: connection refused" - time="2024-01-08T11:58:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50447->[::1]:53: read: connection refused" - time="2024-01-08T11:58:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50447->[::1]:53: read: connection refused" - time="2024-01-08T11:58:53Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules719525051/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules719525051/work/payloads/0000/tree" - time="2024-01-08T11:58:54Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules719525051/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules719525051/work/payloads/0000/tree" - time="2024-01-08T11:58:54Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:54Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:58:54Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:58:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:54Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38434->[::1]:53: read: connection refused" - time="2024-01-08T11:58:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38434->[::1]:53: read: connection refused" + time="2024-01-08T12:27:40Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:40Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:40Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:40Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58498->[::1]:53: read: connection refused" + time="2024-01-08T12:27:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58498->[::1]:53: read: connection refused" + time="2024-01-08T12:27:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40383->[::1]:53: read: connection refused" + time="2024-01-08T12:27:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40383->[::1]:53: read: connection refused" + time="2024-01-08T12:27:40Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:40Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:40Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:40Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules279570520/device_type" + time="2024-01-08T12:27:40Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:40Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:40Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:40Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:40Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:40Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:40Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:40Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:40Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:40Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:40Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:40Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules279570520/artifact_info file." + time="2024-01-08T12:27:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules279570520/artifact_info" + time="2024-01-08T12:27:40Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:40Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules279570520/artifact_info" + time="2024-01-08T12:27:40Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:40Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules279570520/device_type" + time="2024-01-08T12:27:40Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:40Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:40Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:40Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules279570520/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules279570520/work/payloads/0000/tree" + time="2024-01-08T12:27:40Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:40Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules279570520/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules279570520/work/payloads/0000/tree" + time="2024-01-08T12:27:40Z" level=debug msg="Update module output: No" + time="2024-01-08T12:27:40Z" level=debug msg="Module does not support rollback" + time="2024-01-08T12:27:40Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:40Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:40Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46042->[::1]:53: read: connection refused" + time="2024-01-08T12:27:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46042->[::1]:53: read: connection refused" + time="2024-01-08T12:27:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52069->[::1]:53: read: connection refused" + time="2024-01-08T12:27:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52069->[::1]:53: read: connection refused" + time="2024-01-08T12:27:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:40Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49522->[::1]:53: read: connection refused" + time="2024-01-08T12:27:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49522->[::1]:53: read: connection refused" + time="2024-01-08T12:27:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58099->[::1]:53: read: connection refused" + time="2024-01-08T12:27:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58099->[::1]:53: read: connection refused" + time="2024-01-08T12:27:40Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules279570520/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules279570520/work/payloads/0000/tree" + time="2024-01-08T12:27:40Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules279570520/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules279570520/work/payloads/0000/tree" + time="2024-01-08T12:27:40Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:40Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:40Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:40Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56308->[::1]:53: read: connection refused" + time="2024-01-08T12:27:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56308->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 5 (*app.updateErrorState) - time="2024-01-08T11:58:54Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:58:54Z" level=info msg="Handling loaded state: update-install" - time="2024-01-08T11:58:54Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:54Z" level=error msg="Mender shut down in state: update-install" - time="2024-01-08T11:58:54Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2024-01-08T11:58:54Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:54Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:54Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45671->[::1]:53: read: connection refused" - time="2024-01-08T11:58:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45671->[::1]:53: read: connection refused" - time="2024-01-08T11:58:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46649->[::1]:53: read: connection refused" - time="2024-01-08T11:58:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46649->[::1]:53: read: connection refused" - time="2024-01-08T11:58:54Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:54Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules719525051/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules719525051/work/payloads/0000/tree" - time="2024-01-08T11:58:54Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:54Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:54Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:54Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules719525051/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules719525051/work/payloads/0000/tree" - time="2024-01-08T11:58:54Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:54Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:54Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:54Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:54Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.11s) + time="2024-01-08T12:27:40Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:27:40Z" level=info msg="Handling loaded state: update-install" + time="2024-01-08T12:27:40Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:40Z" level=error msg="Mender shut down in state: update-install" + time="2024-01-08T12:27:40Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2024-01-08T12:27:40Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:40Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:40Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50612->[::1]:53: read: connection refused" + time="2024-01-08T12:27:40Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50612->[::1]:53: read: connection refused" + time="2024-01-08T12:27:40Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39639->[::1]:53: read: connection refused" + time="2024-01-08T12:27:40Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39639->[::1]:53: read: connection refused" + time="2024-01-08T12:27:40Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:40Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules279570520/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules279570520/work/payloads/0000/tree" + time="2024-01-08T12:27:40Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:40Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:40Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:40Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules279570520/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules279570520/work/payloads/0000/tree" + time="2024-01-08T12:27:40Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:40Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:40Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:40Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:40Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:40Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.09s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00 state_test.go:4717: Error in ArtifactInstall_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:54Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:54Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:54Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:54Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42175->[::1]:53: read: connection refused" - time="2024-01-08T11:58:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42175->[::1]:53: read: connection refused" - time="2024-01-08T11:58:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43932->[::1]:53: read: connection refused" - time="2024-01-08T11:58:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43932->[::1]:53: read: connection refused" - time="2024-01-08T11:58:54Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:54Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:54Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:54Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules696224704/device_type" - time="2024-01-08T11:58:54Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:54Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:54Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:54Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:54Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:54Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:54Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:54Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:54Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:54Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:54Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:54Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:54Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:54Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:54Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:54Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:54Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:54Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:54Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:54Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:54Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:54Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:54Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:54Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules696224704/artifact_info file." - time="2024-01-08T11:58:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules696224704/artifact_info" - time="2024-01-08T11:58:54Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:54Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules696224704/artifact_info" - time="2024-01-08T11:58:54Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules696224704/device_type" - time="2024-01-08T11:58:54Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:54Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:54Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:54Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules696224704/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules696224704/work/payloads/0000/tree" - time="2024-01-08T11:58:54Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:54Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules696224704/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules696224704/work/payloads/0000/tree" - time="2024-01-08T11:58:54Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:54Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:54Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:54Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:54Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50877->[::1]:53: read: connection refused" - time="2024-01-08T11:58:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50877->[::1]:53: read: connection refused" - time="2024-01-08T11:58:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57682->[::1]:53: read: connection refused" - time="2024-01-08T11:58:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57682->[::1]:53: read: connection refused" - time="2024-01-08T11:58:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:54Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54318->[::1]:53: read: connection refused" - time="2024-01-08T11:58:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54318->[::1]:53: read: connection refused" - time="2024-01-08T11:58:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34865->[::1]:53: read: connection refused" - time="2024-01-08T11:58:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34865->[::1]:53: read: connection refused" - time="2024-01-08T11:58:54Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules696224704/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules696224704/work/payloads/0000/tree" - time="2024-01-08T11:58:54Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules696224704/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules696224704/work/payloads/0000/tree" - time="2024-01-08T11:58:54Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:54Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:58:54Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:58:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:54Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58090->[::1]:53: read: connection refused" - time="2024-01-08T11:58:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58090->[::1]:53: read: connection refused" - time="2024-01-08T11:58:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55817->[::1]:53: read: connection refused" - time="2024-01-08T11:58:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55817->[::1]:53: read: connection refused" - time="2024-01-08T11:58:54Z" level=error msg="transient error: error executing leave script for update-install state: error running leave state script(s) for ArtifactInstall state: statescript: error executing 'ArtifactInstall_Leave_00': 1 : exit status 1" - time="2024-01-08T11:58:54Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:54Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:54Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36043->[::1]:53: read: connection refused" - time="2024-01-08T11:58:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36043->[::1]:53: read: connection refused" - time="2024-01-08T11:58:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53612->[::1]:53: read: connection refused" - time="2024-01-08T11:58:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53612->[::1]:53: read: connection refused" - time="2024-01-08T11:58:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:54Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53653->[::1]:53: read: connection refused" - time="2024-01-08T11:58:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53653->[::1]:53: read: connection refused" - time="2024-01-08T11:58:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49939->[::1]:53: read: connection refused" - time="2024-01-08T11:58:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49939->[::1]:53: read: connection refused" - time="2024-01-08T11:58:54Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:54Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules696224704/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules696224704/work/payloads/0000/tree" - time="2024-01-08T11:58:54Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-08T11:58:54Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:58:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:54Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40671->[::1]:53: read: connection refused" - time="2024-01-08T11:58:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40671->[::1]:53: read: connection refused" - time="2024-01-08T11:58:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35911->[::1]:53: read: connection refused" - time="2024-01-08T11:58:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35911->[::1]:53: read: connection refused" - time="2024-01-08T11:58:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:54Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33472->[::1]:53: read: connection refused" - time="2024-01-08T11:58:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33472->[::1]:53: read: connection refused" - time="2024-01-08T11:58:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37589->[::1]:53: read: connection refused" - time="2024-01-08T11:58:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37589->[::1]:53: read: connection refused" - time="2024-01-08T11:58:55Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:58:55Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:58:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules696224704/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules696224704/work/payloads/0000/tree" - time="2024-01-08T11:58:55Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:55Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:58:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules696224704/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules696224704/work/payloads/0000/tree" - time="2024-01-08T11:58:55Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:55Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-08T11:58:55Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:55Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50930->[::1]:53: read: connection refused" - time="2024-01-08T11:58:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50930->[::1]:53: read: connection refused" - time="2024-01-08T11:58:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54891->[::1]:53: read: connection refused" - time="2024-01-08T11:58:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54891->[::1]:53: read: connection refused" - time="2024-01-08T11:58:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:55Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47135->[::1]:53: read: connection refused" - time="2024-01-08T11:58:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47135->[::1]:53: read: connection refused" - time="2024-01-08T11:58:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54009->[::1]:53: read: connection refused" - time="2024-01-08T11:58:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54009->[::1]:53: read: connection refused" - time="2024-01-08T11:58:55Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:55Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules696224704/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules696224704/work/payloads/0000/tree" - time="2024-01-08T11:58:55Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:55Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:55Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:55Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules696224704/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules696224704/work/payloads/0000/tree" - time="2024-01-08T11:58:55Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:55Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:55Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:55Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:55Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules696224704/artifact_info file." - time="2024-01-08T11:58:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules696224704/artifact_info" - time="2024-01-08T11:58:55Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:55Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.73s) + time="2024-01-08T12:27:41Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:41Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:41Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:41Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44390->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44390->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36713->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36713->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:41Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:41Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:41Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules972721185/device_type" + time="2024-01-08T12:27:41Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:41Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:41Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:41Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:41Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:41Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:41Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:41Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:41Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:41Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:41Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:41Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules972721185/artifact_info file." + time="2024-01-08T12:27:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules972721185/artifact_info" + time="2024-01-08T12:27:41Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:41Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules972721185/artifact_info" + time="2024-01-08T12:27:41Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules972721185/device_type" + time="2024-01-08T12:27:41Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:41Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:41Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:41Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules972721185/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules972721185/work/payloads/0000/tree" + time="2024-01-08T12:27:41Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:41Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules972721185/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules972721185/work/payloads/0000/tree" + time="2024-01-08T12:27:41Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:41Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:41Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:41Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:41Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36551->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36551->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37564->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37564->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:41Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60164->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60164->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46959->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46959->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules972721185/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules972721185/work/payloads/0000/tree" + time="2024-01-08T12:27:41Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules972721185/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules972721185/work/payloads/0000/tree" + time="2024-01-08T12:27:41Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:41Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:41Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:41Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55328->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55328->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44503->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44503->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=error msg="transient error: error executing leave script for update-install state: error running leave state script(s) for ArtifactInstall state: statescript: error executing 'ArtifactInstall_Leave_00': 1 : exit status 1" + time="2024-01-08T12:27:41Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:41Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:41Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38156->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38156->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37534->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37534->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:41Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55231->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55231->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51304->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51304->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:41Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules972721185/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules972721185/work/payloads/0000/tree" + time="2024-01-08T12:27:41Z" level=debug msg="Will try to rollback reboot the device" + time="2024-01-08T12:27:41Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:41Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60055->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60055->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43421->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43421->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:41Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60573->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60573->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33354->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33354->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:41Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules972721185/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules972721185/work/payloads/0000/tree" + time="2024-01-08T12:27:41Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:41Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules972721185/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules972721185/work/payloads/0000/tree" + time="2024-01-08T12:27:41Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:41Z" level=debug msg="Handling state after rollback reboot" + time="2024-01-08T12:27:41Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:41Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49783->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49783->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35398->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35398->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:41Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53353->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53353->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43796->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43796->[::1]:53: read: connection refused" + time="2024-01-08T12:27:41Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:41Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules972721185/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules972721185/work/payloads/0000/tree" + time="2024-01-08T12:27:41Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:41Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:41Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:41Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules972721185/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules972721185/work/payloads/0000/tree" + time="2024-01-08T12:27:41Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:41Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:41Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:41Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:41Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:41Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules972721185/artifact_info file." + time="2024-01-08T12:27:41Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules972721185/artifact_info" + time="2024-01-08T12:27:41Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:41Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.80s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00 state_test.go:4717: Killed in ArtifactInstall_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:55Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:55Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:55Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:55Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49575->[::1]:53: read: connection refused" - time="2024-01-08T11:58:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49575->[::1]:53: read: connection refused" - time="2024-01-08T11:58:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54622->[::1]:53: read: connection refused" - time="2024-01-08T11:58:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54622->[::1]:53: read: connection refused" - time="2024-01-08T11:58:55Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:55Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:55Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:55Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules698324393/device_type" - time="2024-01-08T11:58:55Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:55Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:55Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:55Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:55Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:55Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:55Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:55Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:55Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:55Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:55Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:55Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:55Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:55Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:55Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:55Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:55Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:55Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:55Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:55Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:55Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:55Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:55Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:55Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules698324393/artifact_info file." - time="2024-01-08T11:58:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules698324393/artifact_info" - time="2024-01-08T11:58:55Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:55Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules698324393/artifact_info" - time="2024-01-08T11:58:55Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules698324393/device_type" - time="2024-01-08T11:58:55Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:55Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:55Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:55Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules698324393/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules698324393/work/payloads/0000/tree" - time="2024-01-08T11:58:55Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:55Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules698324393/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules698324393/work/payloads/0000/tree" - time="2024-01-08T11:58:55Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:55Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:55Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:55Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:55Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45186->[::1]:53: read: connection refused" - time="2024-01-08T11:58:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45186->[::1]:53: read: connection refused" - time="2024-01-08T11:58:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60914->[::1]:53: read: connection refused" - time="2024-01-08T11:58:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60914->[::1]:53: read: connection refused" - time="2024-01-08T11:58:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:55Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52816->[::1]:53: read: connection refused" - time="2024-01-08T11:58:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52816->[::1]:53: read: connection refused" - time="2024-01-08T11:58:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36598->[::1]:53: read: connection refused" - time="2024-01-08T11:58:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36598->[::1]:53: read: connection refused" - time="2024-01-08T11:58:55Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules698324393/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules698324393/work/payloads/0000/tree" - time="2024-01-08T11:58:55Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules698324393/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules698324393/work/payloads/0000/tree" - time="2024-01-08T11:58:55Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:55Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:58:55Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:58:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:55Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60100->[::1]:53: read: connection refused" - time="2024-01-08T11:58:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60100->[::1]:53: read: connection refused" + time="2024-01-08T12:27:42Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:42Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:42Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:42Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49381->[::1]:53: read: connection refused" + time="2024-01-08T12:27:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49381->[::1]:53: read: connection refused" + time="2024-01-08T12:27:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46225->[::1]:53: read: connection refused" + time="2024-01-08T12:27:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46225->[::1]:53: read: connection refused" + time="2024-01-08T12:27:42Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:42Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:42Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:42Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules816130078/device_type" + time="2024-01-08T12:27:42Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:42Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:42Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:42Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:42Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:42Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:42Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:42Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:42Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:42Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:42Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:42Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:42Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:42Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:42Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:42Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:42Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:42Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:42Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:42Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:42Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:42Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:42Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:42Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules816130078/artifact_info file." + time="2024-01-08T12:27:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules816130078/artifact_info" + time="2024-01-08T12:27:42Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:42Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules816130078/artifact_info" + time="2024-01-08T12:27:42Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules816130078/device_type" + time="2024-01-08T12:27:42Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:42Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:42Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:42Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules816130078/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules816130078/work/payloads/0000/tree" + time="2024-01-08T12:27:42Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:42Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules816130078/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules816130078/work/payloads/0000/tree" + time="2024-01-08T12:27:42Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:42Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:42Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:42Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:42Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39694->[::1]:53: read: connection refused" + time="2024-01-08T12:27:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39694->[::1]:53: read: connection refused" + time="2024-01-08T12:27:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60991->[::1]:53: read: connection refused" + time="2024-01-08T12:27:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60991->[::1]:53: read: connection refused" + time="2024-01-08T12:27:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:42Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43215->[::1]:53: read: connection refused" + time="2024-01-08T12:27:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43215->[::1]:53: read: connection refused" + time="2024-01-08T12:27:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35796->[::1]:53: read: connection refused" + time="2024-01-08T12:27:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35796->[::1]:53: read: connection refused" + time="2024-01-08T12:27:42Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules816130078/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules816130078/work/payloads/0000/tree" + time="2024-01-08T12:27:42Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules816130078/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules816130078/work/payloads/0000/tree" + time="2024-01-08T12:27:42Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:42Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:42Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:42Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43135->[::1]:53: read: connection refused" + time="2024-01-08T12:27:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43135->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 5 (*app.updateRollbackState) - time="2024-01-08T11:58:55Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:58:55Z" level=info msg="Handling loaded state: update-install" - time="2024-01-08T11:58:55Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:55Z" level=error msg="Mender shut down in state: update-install" - time="2024-01-08T11:58:55Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:55Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:55Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57674->[::1]:53: read: connection refused" - time="2024-01-08T11:58:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57674->[::1]:53: read: connection refused" - time="2024-01-08T11:58:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52507->[::1]:53: read: connection refused" - time="2024-01-08T11:58:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52507->[::1]:53: read: connection refused" - time="2024-01-08T11:58:55Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:55Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules698324393/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules698324393/work/payloads/0000/tree" - time="2024-01-08T11:58:55Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-08T11:58:55Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:58:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:55Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47095->[::1]:53: read: connection refused" - time="2024-01-08T11:58:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47095->[::1]:53: read: connection refused" - time="2024-01-08T11:58:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57837->[::1]:53: read: connection refused" - time="2024-01-08T11:58:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57837->[::1]:53: read: connection refused" - time="2024-01-08T11:58:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:55Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43397->[::1]:53: read: connection refused" - time="2024-01-08T11:58:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43397->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48658->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48658->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:58:56Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:58:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules698324393/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules698324393/work/payloads/0000/tree" - time="2024-01-08T11:58:56Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:56Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:58:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules698324393/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules698324393/work/payloads/0000/tree" - time="2024-01-08T11:58:56Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:56Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-08T11:58:56Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:56Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51866->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51866->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48326->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48326->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:56Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59568->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59568->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33277->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33277->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:56Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules698324393/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules698324393/work/payloads/0000/tree" - time="2024-01-08T11:58:56Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:56Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:56Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:56Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules698324393/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules698324393/work/payloads/0000/tree" - time="2024-01-08T11:58:56Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:56Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:56Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:56Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:56Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules698324393/artifact_info file." - time="2024-01-08T11:58:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules698324393/artifact_info" - time="2024-01-08T11:58:56Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:56Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.31s) + time="2024-01-08T12:27:42Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:27:42Z" level=info msg="Handling loaded state: update-install" + time="2024-01-08T12:27:42Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:42Z" level=error msg="Mender shut down in state: update-install" + time="2024-01-08T12:27:42Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:42Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:42Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56790->[::1]:53: read: connection refused" + time="2024-01-08T12:27:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56790->[::1]:53: read: connection refused" + time="2024-01-08T12:27:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52152->[::1]:53: read: connection refused" + time="2024-01-08T12:27:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52152->[::1]:53: read: connection refused" + time="2024-01-08T12:27:42Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:42Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules816130078/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules816130078/work/payloads/0000/tree" + time="2024-01-08T12:27:42Z" level=debug msg="Will try to rollback reboot the device" + time="2024-01-08T12:27:42Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:42Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42848->[::1]:53: read: connection refused" + time="2024-01-08T12:27:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42848->[::1]:53: read: connection refused" + time="2024-01-08T12:27:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57176->[::1]:53: read: connection refused" + time="2024-01-08T12:27:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57176->[::1]:53: read: connection refused" + time="2024-01-08T12:27:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:42Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39274->[::1]:53: read: connection refused" + time="2024-01-08T12:27:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39274->[::1]:53: read: connection refused" + time="2024-01-08T12:27:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49109->[::1]:53: read: connection refused" + time="2024-01-08T12:27:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49109->[::1]:53: read: connection refused" + time="2024-01-08T12:27:42Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:42Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules816130078/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules816130078/work/payloads/0000/tree" + time="2024-01-08T12:27:42Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:42Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules816130078/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules816130078/work/payloads/0000/tree" + time="2024-01-08T12:27:42Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:42Z" level=debug msg="Handling state after rollback reboot" + time="2024-01-08T12:27:42Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:42Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51117->[::1]:53: read: connection refused" + time="2024-01-08T12:27:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51117->[::1]:53: read: connection refused" + time="2024-01-08T12:27:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41770->[::1]:53: read: connection refused" + time="2024-01-08T12:27:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41770->[::1]:53: read: connection refused" + time="2024-01-08T12:27:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:42Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58757->[::1]:53: read: connection refused" + time="2024-01-08T12:27:42Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58757->[::1]:53: read: connection refused" + time="2024-01-08T12:27:42Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38153->[::1]:53: read: connection refused" + time="2024-01-08T12:27:42Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38153->[::1]:53: read: connection refused" + time="2024-01-08T12:27:42Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:42Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules816130078/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules816130078/work/payloads/0000/tree" + time="2024-01-08T12:27:42Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:42Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:42Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:42Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules816130078/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules816130078/work/payloads/0000/tree" + time="2024-01-08T12:27:42Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:42Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:42Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:42Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:42Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:42Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules816130078/artifact_info file." + time="2024-01-08T12:27:42Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules816130078/artifact_info" + time="2024-01-08T12:27:42Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:42Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.21s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Leave_00 state_test.go:4717: Error in ArtifactReboot_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:56Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:56Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:56Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:56Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53097->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53097->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60045->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60045->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:56Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:56Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:56Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules535027782/device_type" - time="2024-01-08T11:58:56Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:56Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:56Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:56Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:56Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:56Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:56Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:56Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:56Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:56Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:56Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:56Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:56Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:56Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:56Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:56Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:56Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:56Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:56Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:56Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:56Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:56Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:56Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:56Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules535027782/artifact_info file." - time="2024-01-08T11:58:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules535027782/artifact_info" - time="2024-01-08T11:58:56Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:56Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules535027782/artifact_info" - time="2024-01-08T11:58:56Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules535027782/device_type" - time="2024-01-08T11:58:56Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:56Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:56Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:56Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules535027782/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules535027782/work/payloads/0000/tree" - time="2024-01-08T11:58:56Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:56Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules535027782/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules535027782/work/payloads/0000/tree" - time="2024-01-08T11:58:56Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:56Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:56Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:56Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:56Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33224->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33224->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38853->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38853->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:56Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42084->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42084->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50456->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50456->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules535027782/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules535027782/work/payloads/0000/tree" - time="2024-01-08T11:58:56Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules535027782/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules535027782/work/payloads/0000/tree" - time="2024-01-08T11:58:56Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:56Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:58:56Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:58:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:56Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60552->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60552->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59064->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59064->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:56Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37976->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37976->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57382->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57382->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=debug msg="Handling reboot state" - time="2024-01-08T11:58:56Z" level=info msg="Rebooting device(s)" - time="2024-01-08T11:58:56Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-08T11:58:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules535027782/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules535027782/work/payloads/0000/tree" - time="2024-01-08T11:58:56Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:56Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-08T11:58:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules535027782/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules535027782/work/payloads/0000/tree" - time="2024-01-08T11:58:56Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:56Z" level=debug msg="Handling state after reboot" - time="2024-01-08T11:58:56Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-08T11:58:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:56Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43682->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43682->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48159->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48159->[::1]:53: read: connection refused" - time="2024-01-08T11:58:56Z" level=error msg="transient error: error executing leave script for after-reboot state: error running leave state script(s) for ArtifactReboot_Leave state: statescript: error executing 'ArtifactReboot_Leave_00': 1 : exit status 1" - time="2024-01-08T11:58:57Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:57Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:57Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39374->[::1]:53: read: connection refused" - time="2024-01-08T11:58:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39374->[::1]:53: read: connection refused" - time="2024-01-08T11:58:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50573->[::1]:53: read: connection refused" - time="2024-01-08T11:58:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50573->[::1]:53: read: connection refused" - time="2024-01-08T11:58:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:57Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54494->[::1]:53: read: connection refused" - time="2024-01-08T11:58:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54494->[::1]:53: read: connection refused" - time="2024-01-08T11:58:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42902->[::1]:53: read: connection refused" - time="2024-01-08T11:58:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42902->[::1]:53: read: connection refused" - time="2024-01-08T11:58:57Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:57Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules535027782/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules535027782/work/payloads/0000/tree" - time="2024-01-08T11:58:57Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-08T11:58:57Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:58:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:57Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38567->[::1]:53: read: connection refused" - time="2024-01-08T11:58:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38567->[::1]:53: read: connection refused" - time="2024-01-08T11:58:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36159->[::1]:53: read: connection refused" - time="2024-01-08T11:58:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36159->[::1]:53: read: connection refused" - time="2024-01-08T11:58:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:57Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50682->[::1]:53: read: connection refused" - time="2024-01-08T11:58:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50682->[::1]:53: read: connection refused" - time="2024-01-08T11:58:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48202->[::1]:53: read: connection refused" - time="2024-01-08T11:58:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48202->[::1]:53: read: connection refused" - time="2024-01-08T11:58:57Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:58:57Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:58:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules535027782/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules535027782/work/payloads/0000/tree" - time="2024-01-08T11:58:57Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:57Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:58:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules535027782/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules535027782/work/payloads/0000/tree" - time="2024-01-08T11:58:57Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:57Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-08T11:58:57Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:57Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38903->[::1]:53: read: connection refused" - time="2024-01-08T11:58:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38903->[::1]:53: read: connection refused" - time="2024-01-08T11:58:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56649->[::1]:53: read: connection refused" - time="2024-01-08T11:58:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56649->[::1]:53: read: connection refused" - time="2024-01-08T11:58:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:57Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41817->[::1]:53: read: connection refused" - time="2024-01-08T11:58:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41817->[::1]:53: read: connection refused" - time="2024-01-08T11:58:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53125->[::1]:53: read: connection refused" - time="2024-01-08T11:58:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53125->[::1]:53: read: connection refused" - time="2024-01-08T11:58:57Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:57Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules535027782/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules535027782/work/payloads/0000/tree" - time="2024-01-08T11:58:57Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:57Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:57Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:57Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules535027782/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules535027782/work/payloads/0000/tree" - time="2024-01-08T11:58:57Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:57Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:57Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:57Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:57Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules535027782/artifact_info file." - time="2024-01-08T11:58:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules535027782/artifact_info" - time="2024-01-08T11:58:57Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:57Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (1.06s) + time="2024-01-08T12:27:43Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:43Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:43Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:43Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48732->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48732->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41143->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41143->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:43Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:43Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:43Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules365534815/device_type" + time="2024-01-08T12:27:43Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:43Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:43Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:43Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:43Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:43Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:43Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:43Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:43Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:43Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:43Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:43Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules365534815/artifact_info file." + time="2024-01-08T12:27:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules365534815/artifact_info" + time="2024-01-08T12:27:43Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:43Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules365534815/artifact_info" + time="2024-01-08T12:27:43Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules365534815/device_type" + time="2024-01-08T12:27:43Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:43Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:43Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:43Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules365534815/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules365534815/work/payloads/0000/tree" + time="2024-01-08T12:27:43Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:43Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules365534815/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules365534815/work/payloads/0000/tree" + time="2024-01-08T12:27:43Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:43Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:43Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:43Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:43Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45231->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45231->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41105->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41105->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:43Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39306->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39306->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46483->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46483->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules365534815/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules365534815/work/payloads/0000/tree" + time="2024-01-08T12:27:43Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules365534815/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules365534815/work/payloads/0000/tree" + time="2024-01-08T12:27:43Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:43Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:43Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:43Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54957->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54957->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33590->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33590->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:43Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45383->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45383->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32852->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32852->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=debug msg="Handling reboot state" + time="2024-01-08T12:27:43Z" level=info msg="Rebooting device(s)" + time="2024-01-08T12:27:43Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2024-01-08T12:27:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules365534815/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules365534815/work/payloads/0000/tree" + time="2024-01-08T12:27:43Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:43Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2024-01-08T12:27:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules365534815/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules365534815/work/payloads/0000/tree" + time="2024-01-08T12:27:43Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:43Z" level=debug msg="Handling state after reboot" + time="2024-01-08T12:27:43Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2024-01-08T12:27:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:43Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51219->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51219->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53865->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53865->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="transient error: error executing leave script for after-reboot state: error running leave state script(s) for ArtifactReboot_Leave state: statescript: error executing 'ArtifactReboot_Leave_00': 1 : exit status 1" + time="2024-01-08T12:27:43Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:43Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:43Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49291->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49291->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37349->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37349->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:43Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44502->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44502->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56007->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56007->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:43Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules365534815/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules365534815/work/payloads/0000/tree" + time="2024-01-08T12:27:43Z" level=debug msg="Will try to rollback reboot the device" + time="2024-01-08T12:27:43Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:43Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42032->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42032->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32933->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32933->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:43Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47134->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47134->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43921->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43921->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:43Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules365534815/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules365534815/work/payloads/0000/tree" + time="2024-01-08T12:27:43Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:43Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules365534815/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules365534815/work/payloads/0000/tree" + time="2024-01-08T12:27:43Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:43Z" level=debug msg="Handling state after rollback reboot" + time="2024-01-08T12:27:43Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:43Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41810->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41810->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35989->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35989->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:43Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44887->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44887->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59052->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59052->[::1]:53: read: connection refused" + time="2024-01-08T12:27:43Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:43Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules365534815/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules365534815/work/payloads/0000/tree" + time="2024-01-08T12:27:43Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:43Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:43Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:43Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules365534815/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules365534815/work/payloads/0000/tree" + time="2024-01-08T12:27:43Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:43Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:43Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:43Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:43Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:43Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules365534815/artifact_info file." + time="2024-01-08T12:27:43Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules365534815/artifact_info" + time="2024-01-08T12:27:43Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:43Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.90s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Leave_00 state_test.go:4717: Killed in ArtifactReboot_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:57Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:57Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:57Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:57Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33272->[::1]:53: read: connection refused" - time="2024-01-08T11:58:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33272->[::1]:53: read: connection refused" - time="2024-01-08T11:58:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45786->[::1]:53: read: connection refused" - time="2024-01-08T11:58:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45786->[::1]:53: read: connection refused" - time="2024-01-08T11:58:57Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:57Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:57Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:57Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules454685095/device_type" - time="2024-01-08T11:58:57Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:57Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:57Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:57Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:57Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:57Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:57Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:57Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:57Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:57Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:57Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:57Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:57Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:57Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:57Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:57Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:57Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:57Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:57Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:57Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:57Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:57Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:57Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:57Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules454685095/artifact_info file." - time="2024-01-08T11:58:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules454685095/artifact_info" - time="2024-01-08T11:58:57Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:57Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules454685095/artifact_info" - time="2024-01-08T11:58:57Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:57Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules454685095/device_type" - time="2024-01-08T11:58:57Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:57Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:57Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:57Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules454685095/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules454685095/work/payloads/0000/tree" - time="2024-01-08T11:58:57Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:57Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules454685095/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules454685095/work/payloads/0000/tree" - time="2024-01-08T11:58:57Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:57Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:57Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:57Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:57Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58193->[::1]:53: read: connection refused" - time="2024-01-08T11:58:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58193->[::1]:53: read: connection refused" - time="2024-01-08T11:58:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42678->[::1]:53: read: connection refused" - time="2024-01-08T11:58:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42678->[::1]:53: read: connection refused" - time="2024-01-08T11:58:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:57Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55605->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55605->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43145->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43145->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules454685095/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules454685095/work/payloads/0000/tree" - time="2024-01-08T11:58:58Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules454685095/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules454685095/work/payloads/0000/tree" - time="2024-01-08T11:58:58Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:58Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:58:58Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:58:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:58Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37355->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37355->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58628->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58628->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:58Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43971->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43971->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54315->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54315->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=debug msg="Handling reboot state" - time="2024-01-08T11:58:58Z" level=info msg="Rebooting device(s)" - time="2024-01-08T11:58:58Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-08T11:58:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules454685095/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules454685095/work/payloads/0000/tree" - time="2024-01-08T11:58:58Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:58Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-08T11:58:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules454685095/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules454685095/work/payloads/0000/tree" - time="2024-01-08T11:58:58Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:58Z" level=debug msg="Handling state after reboot" - time="2024-01-08T11:58:58Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-08T11:58:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:58Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35225->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35225->[::1]:53: read: connection refused" + time="2024-01-08T12:27:44Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:44Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:44Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:44Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35915->[::1]:53: read: connection refused" + time="2024-01-08T12:27:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35915->[::1]:53: read: connection refused" + time="2024-01-08T12:27:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59286->[::1]:53: read: connection refused" + time="2024-01-08T12:27:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59286->[::1]:53: read: connection refused" + time="2024-01-08T12:27:44Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:44Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:44Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:44Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules677641780/device_type" + time="2024-01-08T12:27:44Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:44Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:44Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:44Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:44Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:44Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:44Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:44Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:44Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:44Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:44Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:44Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules677641780/artifact_info file." + time="2024-01-08T12:27:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules677641780/artifact_info" + time="2024-01-08T12:27:44Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:44Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules677641780/artifact_info" + time="2024-01-08T12:27:44Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:44Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules677641780/device_type" + time="2024-01-08T12:27:44Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:44Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:44Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:44Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules677641780/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules677641780/work/payloads/0000/tree" + time="2024-01-08T12:27:44Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:44Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules677641780/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules677641780/work/payloads/0000/tree" + time="2024-01-08T12:27:44Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:44Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:44Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:44Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:44Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47513->[::1]:53: read: connection refused" + time="2024-01-08T12:27:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47513->[::1]:53: read: connection refused" + time="2024-01-08T12:27:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48237->[::1]:53: read: connection refused" + time="2024-01-08T12:27:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48237->[::1]:53: read: connection refused" + time="2024-01-08T12:27:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:44Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42635->[::1]:53: read: connection refused" + time="2024-01-08T12:27:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42635->[::1]:53: read: connection refused" + time="2024-01-08T12:27:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48054->[::1]:53: read: connection refused" + time="2024-01-08T12:27:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48054->[::1]:53: read: connection refused" + time="2024-01-08T12:27:44Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules677641780/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules677641780/work/payloads/0000/tree" + time="2024-01-08T12:27:44Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules677641780/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules677641780/work/payloads/0000/tree" + time="2024-01-08T12:27:44Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:44Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:44Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:44Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46876->[::1]:53: read: connection refused" + time="2024-01-08T12:27:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46876->[::1]:53: read: connection refused" + time="2024-01-08T12:27:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53950->[::1]:53: read: connection refused" + time="2024-01-08T12:27:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53950->[::1]:53: read: connection refused" + time="2024-01-08T12:27:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:44Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50013->[::1]:53: read: connection refused" + time="2024-01-08T12:27:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50013->[::1]:53: read: connection refused" + time="2024-01-08T12:27:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52430->[::1]:53: read: connection refused" + time="2024-01-08T12:27:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52430->[::1]:53: read: connection refused" + time="2024-01-08T12:27:44Z" level=debug msg="Handling reboot state" + time="2024-01-08T12:27:44Z" level=info msg="Rebooting device(s)" + time="2024-01-08T12:27:44Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2024-01-08T12:27:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules677641780/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules677641780/work/payloads/0000/tree" + time="2024-01-08T12:27:44Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:44Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2024-01-08T12:27:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules677641780/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules677641780/work/payloads/0000/tree" + time="2024-01-08T12:27:44Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:44Z" level=debug msg="Handling state after reboot" + time="2024-01-08T12:27:44Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2024-01-08T12:27:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:44Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52190->[::1]:53: read: connection refused" + time="2024-01-08T12:27:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52190->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 8 (*app.updateRollbackState) - time="2024-01-08T11:58:58Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:58:58Z" level=info msg="Handling loaded state: after-reboot" - time="2024-01-08T11:58:58Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:58Z" level=error msg="Mender shut down in state: after-reboot" - time="2024-01-08T11:58:58Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:58Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:58Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40132->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40132->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47934->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47934->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:58Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules454685095/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules454685095/work/payloads/0000/tree" - time="2024-01-08T11:58:58Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-08T11:58:58Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:58:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:58Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44938->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44938->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42027->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42027->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:58Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33599->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33599->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53774->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53774->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:58:58Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:58:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules454685095/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules454685095/work/payloads/0000/tree" - time="2024-01-08T11:58:58Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:58Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:58:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules454685095/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules454685095/work/payloads/0000/tree" - time="2024-01-08T11:58:58Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:58Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-08T11:58:58Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:58Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51281->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51281->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46274->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46274->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:58Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37232->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37232->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48700->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48700->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:58Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules454685095/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules454685095/work/payloads/0000/tree" - time="2024-01-08T11:58:58Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:58Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:58Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:58Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules454685095/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules454685095/work/payloads/0000/tree" - time="2024-01-08T11:58:58Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:58Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:58Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:58Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:58Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules454685095/artifact_info file." - time="2024-01-08T11:58:58Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules454685095/artifact_info" - time="2024-01-08T11:58:58Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:58Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.38s) + time="2024-01-08T12:27:44Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:27:44Z" level=info msg="Handling loaded state: after-reboot" + time="2024-01-08T12:27:44Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:44Z" level=error msg="Mender shut down in state: after-reboot" + time="2024-01-08T12:27:44Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:44Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:44Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38324->[::1]:53: read: connection refused" + time="2024-01-08T12:27:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38324->[::1]:53: read: connection refused" + time="2024-01-08T12:27:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34956->[::1]:53: read: connection refused" + time="2024-01-08T12:27:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34956->[::1]:53: read: connection refused" + time="2024-01-08T12:27:44Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:44Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules677641780/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules677641780/work/payloads/0000/tree" + time="2024-01-08T12:27:44Z" level=debug msg="Will try to rollback reboot the device" + time="2024-01-08T12:27:44Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:44Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60521->[::1]:53: read: connection refused" + time="2024-01-08T12:27:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60521->[::1]:53: read: connection refused" + time="2024-01-08T12:27:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59182->[::1]:53: read: connection refused" + time="2024-01-08T12:27:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59182->[::1]:53: read: connection refused" + time="2024-01-08T12:27:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:44Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39557->[::1]:53: read: connection refused" + time="2024-01-08T12:27:44Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39557->[::1]:53: read: connection refused" + time="2024-01-08T12:27:44Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51021->[::1]:53: read: connection refused" + time="2024-01-08T12:27:44Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51021->[::1]:53: read: connection refused" + time="2024-01-08T12:27:44Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:44Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules677641780/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules677641780/work/payloads/0000/tree" + time="2024-01-08T12:27:44Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:44Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules677641780/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules677641780/work/payloads/0000/tree" + time="2024-01-08T12:27:44Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:44Z" level=debug msg="Handling state after rollback reboot" + time="2024-01-08T12:27:44Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:44Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:44Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49850->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49850->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52292->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52292->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:45Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47064->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47064->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40204->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40204->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:45Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules677641780/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules677641780/work/payloads/0000/tree" + time="2024-01-08T12:27:45Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:45Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:45Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:45Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules677641780/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules677641780/work/payloads/0000/tree" + time="2024-01-08T12:27:45Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:45Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:45Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:45Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:45Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules677641780/artifact_info file." + time="2024-01-08T12:27:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules677641780/artifact_info" + time="2024-01-08T12:27:45Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:45Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.26s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Leave_00 state_test.go:4717: Error in ArtifactRollback_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:58:58Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:58:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:58Z" level=debug msg="Handle update check state" - time="2024-01-08T11:58:58Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:58:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:58Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:58:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42269->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42269->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45334->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45334->[::1]:53: read: connection refused" - time="2024-01-08T11:58:58Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:58:58Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:58:58Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:58:58Z" level=debug msg="Handling update install state" - time="2024-01-08T11:58:58Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules901811996/device_type" - time="2024-01-08T11:58:58Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:58Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:58Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:58:59Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:58:59Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:58:59Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:59Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:59Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:59Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:59Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:59Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:59Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:58:59Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:58:59Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:58:59Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:59Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:59Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:58:59Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:58:59Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:58:59Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:59Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:58:59Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:59Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:58:59Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules901811996/artifact_info file." - time="2024-01-08T11:58:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules901811996/artifact_info" - time="2024-01-08T11:58:59Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:59Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:58:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules901811996/artifact_info" - time="2024-01-08T11:58:59Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules901811996/device_type" - time="2024-01-08T11:58:59Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:58:59Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:58:59Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:58:59Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:58:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules901811996/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules901811996/work/payloads/0000/tree" - time="2024-01-08T11:58:59Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:58:59Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:58:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules901811996/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules901811996/work/payloads/0000/tree" - time="2024-01-08T11:58:59Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:59Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:58:59Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:58:59Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:58:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:59Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:58:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38721->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38721->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60678->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60678->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:59Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:58:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59951->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59951->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49198->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49198->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:58:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules901811996/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules901811996/work/payloads/0000/tree" - time="2024-01-08T11:58:59Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:58:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules901811996/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules901811996/work/payloads/0000/tree" - time="2024-01-08T11:58:59Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:58:59Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:58:59Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:58:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:59Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:58:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40290->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40290->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58957->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58957->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:59Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:58:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49673->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49673->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51690->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51690->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=debug msg="Handling reboot state" - time="2024-01-08T11:58:59Z" level=info msg="Rebooting device(s)" - time="2024-01-08T11:58:59Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-08T11:58:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules901811996/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules901811996/work/payloads/0000/tree" - time="2024-01-08T11:58:59Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:58:59Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-08T11:58:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules901811996/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules901811996/work/payloads/0000/tree" - time="2024-01-08T11:58:59Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:59Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:58:59Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-08T11:58:59Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:58:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:59Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-08T11:58:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33837->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33837->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53193->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53193->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:59Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:58:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33245->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33245->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37035->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37035->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=info msg="Performing rollback" - time="2024-01-08T11:58:59Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:58:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules901811996/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules901811996/work/payloads/0000/tree" - time="2024-01-08T11:58:59Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-08T11:58:59Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:58:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:59Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:58:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57393->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57393->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollback_Leave_00': 1: exit status 1" - time="2024-01-08T11:58:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39940->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39940->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:59Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:58:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53029->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53029->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60290->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60290->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:58:59Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:58:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules901811996/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules901811996/work/payloads/0000/tree" - time="2024-01-08T11:58:59Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:59Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:58:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules901811996/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules901811996/work/payloads/0000/tree" - time="2024-01-08T11:58:59Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:58:59Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-08T11:58:59Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-08T11:58:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:59Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:58:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39950->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39950->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51545->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51545->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:59Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:58:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35320->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35320->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48443->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48443->[::1]:53: read: connection refused" - time="2024-01-08T11:58:59Z" level=debug msg="Handle update error state" - time="2024-01-08T11:58:59Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:58:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules901811996/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules901811996/work/payloads/0000/tree" - time="2024-01-08T11:58:59Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:58:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:59Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:58:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:59Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:58:59Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:58:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules901811996/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules901811996/work/payloads/0000/tree" - time="2024-01-08T11:58:59Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:58:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:58:59Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:58:59Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:58:59Z" level=debug msg="Reporting complete" - time="2024-01-08T11:58:59Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules901811996/artifact_info file." - time="2024-01-08T11:58:59Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules901811996/artifact_info" - time="2024-01-08T11:58:59Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:58:59Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.87s) + time="2024-01-08T12:27:45Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:45Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:45Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:45Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36618->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36618->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54754->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54754->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:45Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:45Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:45Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules153561389/device_type" + time="2024-01-08T12:27:45Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:45Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:45Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:45Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:45Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:45Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:45Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:45Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:45Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:45Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:45Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:45Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules153561389/artifact_info file." + time="2024-01-08T12:27:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules153561389/artifact_info" + time="2024-01-08T12:27:45Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:45Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules153561389/artifact_info" + time="2024-01-08T12:27:45Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:45Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules153561389/device_type" + time="2024-01-08T12:27:45Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:45Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:45Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:45Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules153561389/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules153561389/work/payloads/0000/tree" + time="2024-01-08T12:27:45Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:45Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules153561389/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules153561389/work/payloads/0000/tree" + time="2024-01-08T12:27:45Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:45Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:45Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:45Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:45Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42634->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42634->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46880->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46880->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:45Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45298->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45298->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46255->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46255->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules153561389/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules153561389/work/payloads/0000/tree" + time="2024-01-08T12:27:45Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules153561389/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules153561389/work/payloads/0000/tree" + time="2024-01-08T12:27:45Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:45Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:45Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:45Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42245->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42245->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43021->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43021->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:45Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50617->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50617->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60289->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60289->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=debug msg="Handling reboot state" + time="2024-01-08T12:27:45Z" level=info msg="Rebooting device(s)" + time="2024-01-08T12:27:45Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2024-01-08T12:27:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules153561389/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules153561389/work/payloads/0000/tree" + time="2024-01-08T12:27:45Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:45Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2024-01-08T12:27:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules153561389/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules153561389/work/payloads/0000/tree" + time="2024-01-08T12:27:45Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:45Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:45Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:45Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:45Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42046->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42046->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49283->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49283->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:45Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50875->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50875->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44738->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44738->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:45Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules153561389/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules153561389/work/payloads/0000/tree" + time="2024-01-08T12:27:45Z" level=debug msg="Will try to rollback reboot the device" + time="2024-01-08T12:27:45Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:45Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48745->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48745->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollback_Leave_00': 1: exit status 1" + time="2024-01-08T12:27:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53558->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53558->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:45Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35084->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35084->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44190->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44190->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:45Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules153561389/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules153561389/work/payloads/0000/tree" + time="2024-01-08T12:27:45Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:45Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules153561389/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules153561389/work/payloads/0000/tree" + time="2024-01-08T12:27:45Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:45Z" level=debug msg="Handling state after rollback reboot" + time="2024-01-08T12:27:45Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:45Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57580->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57580->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46566->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46566->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:45Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:45Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37128->[::1]:53: read: connection refused" + time="2024-01-08T12:27:45Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37128->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44897->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44897->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:46Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules153561389/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules153561389/work/payloads/0000/tree" + time="2024-01-08T12:27:46Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:46Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:46Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:46Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules153561389/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules153561389/work/payloads/0000/tree" + time="2024-01-08T12:27:46Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:46Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:46Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:46Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:46Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules153561389/artifact_info file." + time="2024-01-08T12:27:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules153561389/artifact_info" + time="2024-01-08T12:27:46Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:46Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.79s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Leave_00 state_test.go:4717: Killed in ArtifactRollback_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:59:00Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:59:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:00Z" level=debug msg="Handle update check state" - time="2024-01-08T11:59:00Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:59:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:00Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:59:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33493->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33493->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57584->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57584->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:00Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:59:00Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:59:00Z" level=debug msg="Handling update install state" - time="2024-01-08T11:59:00Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules097498165/device_type" - time="2024-01-08T11:59:00Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:59:00Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:59:00Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:59:00Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:59:00Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:59:00Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:00Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:59:00Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:59:00Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:59:00Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:59:00Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:59:00Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:59:00Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:59:00Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:59:00Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:59:00Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:00Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:59:00Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:59:00Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:59:00Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:59:00Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:00Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:59:00Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:59:00Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules097498165/artifact_info file." - time="2024-01-08T11:59:00Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules097498165/artifact_info" - time="2024-01-08T11:59:00Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:00Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:59:00Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules097498165/artifact_info" - time="2024-01-08T11:59:00Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:00Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules097498165/device_type" - time="2024-01-08T11:59:00Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:59:00Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:59:00Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:59:00Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:59:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules097498165/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules097498165/work/payloads/0000/tree" - time="2024-01-08T11:59:00Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:59:00Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:59:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules097498165/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules097498165/work/payloads/0000/tree" - time="2024-01-08T11:59:00Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:59:00Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:59:00Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:59:00Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:59:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:00Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:59:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55367->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55367->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52517->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52517->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:00Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:59:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41675->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41675->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51548->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51548->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:59:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules097498165/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules097498165/work/payloads/0000/tree" - time="2024-01-08T11:59:00Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:59:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules097498165/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules097498165/work/payloads/0000/tree" - time="2024-01-08T11:59:00Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:59:00Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:59:00Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:59:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:00Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:59:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39651->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39651->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56835->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56835->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:00Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:59:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50980->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50980->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32898->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32898->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=debug msg="Handling reboot state" - time="2024-01-08T11:59:00Z" level=info msg="Rebooting device(s)" - time="2024-01-08T11:59:00Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-08T11:59:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules097498165/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules097498165/work/payloads/0000/tree" - time="2024-01-08T11:59:00Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:59:00Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-08T11:59:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules097498165/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules097498165/work/payloads/0000/tree" - time="2024-01-08T11:59:00Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:00Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:00Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-08T11:59:00Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:00Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-08T11:59:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42791->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42791->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59266->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59266->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:00Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:59:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52782->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52782->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60375->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60375->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=info msg="Performing rollback" - time="2024-01-08T11:59:00Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:59:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules097498165/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules097498165/work/payloads/0000/tree" - time="2024-01-08T11:59:00Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-08T11:59:00Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:00Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:59:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52806->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52806->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:46Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:46Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:46Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50874->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50874->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54160->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54160->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:46Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:46Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:46Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules231648794/device_type" + time="2024-01-08T12:27:46Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:46Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:46Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:46Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:46Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:46Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:46Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:46Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:46Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:46Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:46Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:46Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules231648794/artifact_info file." + time="2024-01-08T12:27:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules231648794/artifact_info" + time="2024-01-08T12:27:46Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:46Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules231648794/artifact_info" + time="2024-01-08T12:27:46Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:46Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules231648794/device_type" + time="2024-01-08T12:27:46Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:46Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:46Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:46Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules231648794/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules231648794/work/payloads/0000/tree" + time="2024-01-08T12:27:46Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:46Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules231648794/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules231648794/work/payloads/0000/tree" + time="2024-01-08T12:27:46Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:46Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:46Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:46Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:46Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47088->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47088->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42762->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42762->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:46Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46851->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46851->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39466->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39466->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules231648794/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules231648794/work/payloads/0000/tree" + time="2024-01-08T12:27:46Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules231648794/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules231648794/work/payloads/0000/tree" + time="2024-01-08T12:27:46Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:46Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:46Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:46Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50564->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50564->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39572->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39572->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:46Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50337->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50337->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34211->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34211->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=debug msg="Handling reboot state" + time="2024-01-08T12:27:46Z" level=info msg="Rebooting device(s)" + time="2024-01-08T12:27:46Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2024-01-08T12:27:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules231648794/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules231648794/work/payloads/0000/tree" + time="2024-01-08T12:27:46Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:46Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2024-01-08T12:27:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules231648794/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules231648794/work/payloads/0000/tree" + time="2024-01-08T12:27:46Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:46Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:46Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:46Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:46Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46896->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46896->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39119->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39119->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:46Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40596->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40596->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57490->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57490->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:46Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules231648794/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules231648794/work/payloads/0000/tree" + time="2024-01-08T12:27:46Z" level=debug msg="Will try to rollback reboot the device" + time="2024-01-08T12:27:46Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:46Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48652->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48652->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 8 (*app.updateRollbackState) - time="2024-01-08T11:59:00Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:59:00Z" level=info msg="Handling loaded state: rollback" - time="2024-01-08T11:59:00Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:00Z" level=error msg="Mender shut down in state: rollback" - time="2024-01-08T11:59:00Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" - time="2024-01-08T11:59:00Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:00Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:59:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36950->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36950->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37063->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37063->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=info msg="Performing rollback" - time="2024-01-08T11:59:00Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:59:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules097498165/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules097498165/work/payloads/0000/tree" - time="2024-01-08T11:59:00Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-08T11:59:00Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:00Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:59:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34799->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34799->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47243->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47243->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:00Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57105->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57105->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33350->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33350->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:00Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules097498165/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules097498165/work/payloads/0000/tree" - time="2024-01-08T11:59:00Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:00Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules097498165/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules097498165/work/payloads/0000/tree" - time="2024-01-08T11:59:00Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:00Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-08T11:59:00Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:00Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60222->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60222->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48730->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48730->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:00Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57440->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57440->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38563->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38563->[::1]:53: read: connection refused" - time="2024-01-08T11:59:00Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:00Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules097498165/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules097498165/work/payloads/0000/tree" - time="2024-01-08T11:59:00Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:59:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:00Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:59:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:01Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:59:01Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:59:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules097498165/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules097498165/work/payloads/0000/tree" - time="2024-01-08T11:59:01Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:59:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:01Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:59:01Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:59:01Z" level=debug msg="Reporting complete" - time="2024-01-08T11:59:01Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules097498165/artifact_info file." - time="2024-01-08T11:59:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules097498165/artifact_info" - time="2024-01-08T11:59:01Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:01Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.28s) + time="2024-01-08T12:27:46Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:27:46Z" level=info msg="Handling loaded state: rollback" + time="2024-01-08T12:27:46Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:46Z" level=error msg="Mender shut down in state: rollback" + time="2024-01-08T12:27:46Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:46Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:46Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56163->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56163->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55675->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55675->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:46Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules231648794/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules231648794/work/payloads/0000/tree" + time="2024-01-08T12:27:46Z" level=debug msg="Will try to rollback reboot the device" + time="2024-01-08T12:27:46Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:46Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52573->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52573->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47638->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47638->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:46Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:46Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49960->[::1]:53: read: connection refused" + time="2024-01-08T12:27:46Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49960->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43714->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43714->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:47Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules231648794/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules231648794/work/payloads/0000/tree" + time="2024-01-08T12:27:47Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:47Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules231648794/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules231648794/work/payloads/0000/tree" + time="2024-01-08T12:27:47Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:47Z" level=debug msg="Handling state after rollback reboot" + time="2024-01-08T12:27:47Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:47Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38051->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38051->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49114->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49114->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:47Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56859->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56859->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59277->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59277->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:47Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules231648794/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules231648794/work/payloads/0000/tree" + time="2024-01-08T12:27:47Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:47Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:47Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:47Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules231648794/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules231648794/work/payloads/0000/tree" + time="2024-01-08T12:27:47Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:47Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:47Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:47Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules231648794/artifact_info file." + time="2024-01-08T12:27:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules231648794/artifact_info" + time="2024-01-08T12:27:47Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:47Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.19s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Leave_00 state_test.go:4717: Error in ArtifactRollbackReboot_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:59:01Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:59:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:01Z" level=debug msg="Handle update check state" - time="2024-01-08T11:59:01Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:59:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:01Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:59:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45912->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45912->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46434->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46434->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:01Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:59:01Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:59:01Z" level=debug msg="Handling update install state" - time="2024-01-08T11:59:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules171488194/device_type" - time="2024-01-08T11:59:01Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:59:01Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:59:01Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:59:01Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:59:01Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:59:01Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:01Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:59:01Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:59:01Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:59:01Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:59:01Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:59:01Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:59:01Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:59:01Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:59:01Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:59:01Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:59:01Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:01Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:59:01Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:59:01Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:59:01Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:59:01Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:01Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:59:01Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules171488194/artifact_info file." - time="2024-01-08T11:59:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules171488194/artifact_info" - time="2024-01-08T11:59:01Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:01Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:59:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules171488194/artifact_info" - time="2024-01-08T11:59:01Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules171488194/device_type" - time="2024-01-08T11:59:01Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:59:01Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:59:01Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:59:01Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:59:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules171488194/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules171488194/work/payloads/0000/tree" - time="2024-01-08T11:59:01Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:59:01Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:59:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules171488194/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules171488194/work/payloads/0000/tree" - time="2024-01-08T11:59:01Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:59:01Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:59:01Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:59:01Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:59:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:01Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:59:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58260->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58260->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43325->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43325->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:01Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:59:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42021->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42021->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43760->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43760->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:59:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules171488194/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules171488194/work/payloads/0000/tree" - time="2024-01-08T11:59:01Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:59:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules171488194/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules171488194/work/payloads/0000/tree" - time="2024-01-08T11:59:01Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:59:01Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:59:01Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:59:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:01Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:59:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42775->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42775->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37649->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37649->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:01Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:59:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53062->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53062->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53265->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53265->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=debug msg="Handling reboot state" - time="2024-01-08T11:59:01Z" level=info msg="Rebooting device(s)" - time="2024-01-08T11:59:01Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-08T11:59:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules171488194/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules171488194/work/payloads/0000/tree" - time="2024-01-08T11:59:01Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:59:01Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-08T11:59:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules171488194/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules171488194/work/payloads/0000/tree" - time="2024-01-08T11:59:01Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:01Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:01Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-08T11:59:01Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:01Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-08T11:59:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53943->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53943->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53481->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53481->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:01Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:59:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50737->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50737->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36318->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36318->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=info msg="Performing rollback" - time="2024-01-08T11:59:01Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:59:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules171488194/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules171488194/work/payloads/0000/tree" - time="2024-01-08T11:59:01Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-08T11:59:01Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:01Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:59:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48918->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48918->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49019->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49019->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:01Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36929->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36929->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46564->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46564->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:01Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules171488194/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules171488194/work/payloads/0000/tree" - time="2024-01-08T11:59:01Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:01Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules171488194/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules171488194/work/payloads/0000/tree" - time="2024-01-08T11:59:01Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:01Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-08T11:59:01Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:01Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32791->[::1]:53: read: connection refused" - time="2024-01-08T11:59:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32791->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollbackReboot_Leave_00': 1: exit status 1" - time="2024-01-08T11:59:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50601->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50601->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:02Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48741->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48741->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57764->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57764->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:02Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules171488194/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules171488194/work/payloads/0000/tree" - time="2024-01-08T11:59:02Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:59:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:02Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:59:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:02Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:59:02Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:59:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules171488194/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules171488194/work/payloads/0000/tree" - time="2024-01-08T11:59:02Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:59:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:02Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:59:02Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:59:02Z" level=debug msg="Reporting complete" - time="2024-01-08T11:59:02Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules171488194/artifact_info file." - time="2024-01-08T11:59:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules171488194/artifact_info" - time="2024-01-08T11:59:02Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:02Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.87s) + time="2024-01-08T12:27:47Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:47Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:47Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:47Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38700->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38700->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42764->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42764->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:47Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:47Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:47Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules122057739/device_type" + time="2024-01-08T12:27:47Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:47Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:47Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:47Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:47Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:47Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:47Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:47Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:47Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:47Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:47Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules122057739/artifact_info file." + time="2024-01-08T12:27:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules122057739/artifact_info" + time="2024-01-08T12:27:47Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:47Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules122057739/artifact_info" + time="2024-01-08T12:27:47Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:47Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules122057739/device_type" + time="2024-01-08T12:27:47Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:47Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:47Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:47Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules122057739/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules122057739/work/payloads/0000/tree" + time="2024-01-08T12:27:47Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:47Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules122057739/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules122057739/work/payloads/0000/tree" + time="2024-01-08T12:27:47Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:47Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:47Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:47Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:47Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38057->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38057->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32791->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32791->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:47Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37083->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37083->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33168->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33168->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules122057739/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules122057739/work/payloads/0000/tree" + time="2024-01-08T12:27:47Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules122057739/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules122057739/work/payloads/0000/tree" + time="2024-01-08T12:27:47Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:47Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:47Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:47Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60828->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60828->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48368->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48368->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:47Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43446->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43446->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59851->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59851->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=debug msg="Handling reboot state" + time="2024-01-08T12:27:47Z" level=info msg="Rebooting device(s)" + time="2024-01-08T12:27:47Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2024-01-08T12:27:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules122057739/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules122057739/work/payloads/0000/tree" + time="2024-01-08T12:27:47Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:47Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2024-01-08T12:27:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules122057739/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules122057739/work/payloads/0000/tree" + time="2024-01-08T12:27:47Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:47Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:47Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:47Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:47Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52423->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52423->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53813->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53813->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:47Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36386->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36386->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33772->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33772->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:47Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules122057739/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules122057739/work/payloads/0000/tree" + time="2024-01-08T12:27:47Z" level=debug msg="Will try to rollback reboot the device" + time="2024-01-08T12:27:47Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:47Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56507->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56507->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52570->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52570->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:47Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52647->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52647->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48795->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48795->[::1]:53: read: connection refused" + time="2024-01-08T12:27:47Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:47Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules122057739/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules122057739/work/payloads/0000/tree" + time="2024-01-08T12:27:47Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:47Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules122057739/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules122057739/work/payloads/0000/tree" + time="2024-01-08T12:27:48Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:48Z" level=debug msg="Handling state after rollback reboot" + time="2024-01-08T12:27:48Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:48Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41412->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41412->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=error msg="statescript: Ignoring error executing 'ArtifactRollbackReboot_Leave_00': 1: exit status 1" + time="2024-01-08T12:27:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41717->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41717->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:48Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43297->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43297->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45816->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45816->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:48Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules122057739/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules122057739/work/payloads/0000/tree" + time="2024-01-08T12:27:48Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:48Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:48Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:48Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules122057739/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules122057739/work/payloads/0000/tree" + time="2024-01-08T12:27:48Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:48Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:48Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:48Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules122057739/artifact_info file." + time="2024-01-08T12:27:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules122057739/artifact_info" + time="2024-01-08T12:27:48Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:48Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.89s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Leave_00 state_test.go:4717: Killed in ArtifactRollbackReboot_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:59:02Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:59:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:02Z" level=debug msg="Handle update check state" - time="2024-01-08T11:59:02Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:59:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:02Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:59:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46547->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46547->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41994->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41994->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:02Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:59:02Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:59:02Z" level=debug msg="Handling update install state" - time="2024-01-08T11:59:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules857783507/device_type" - time="2024-01-08T11:59:02Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:59:02Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:59:02Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:59:02Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:59:02Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:59:02Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:59:02Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:02Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:59:02Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:59:02Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:59:02Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:59:02Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:59:02Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:59:02Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:59:02Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:59:02Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:59:02Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:02Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:59:02Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:59:02Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:59:02Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:02Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:59:02Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:59:02Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules857783507/artifact_info file." - time="2024-01-08T11:59:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules857783507/artifact_info" - time="2024-01-08T11:59:02Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:02Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:59:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules857783507/artifact_info" - time="2024-01-08T11:59:02Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:02Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules857783507/device_type" - time="2024-01-08T11:59:02Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:59:02Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:59:02Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:59:02Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:59:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules857783507/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules857783507/work/payloads/0000/tree" - time="2024-01-08T11:59:02Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:59:02Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:59:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules857783507/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules857783507/work/payloads/0000/tree" - time="2024-01-08T11:59:02Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:59:02Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:59:02Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:59:02Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:59:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:02Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:59:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44530->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44530->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38393->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38393->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:02Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:59:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42462->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42462->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45842->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45842->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:59:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules857783507/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules857783507/work/payloads/0000/tree" - time="2024-01-08T11:59:02Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:59:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules857783507/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules857783507/work/payloads/0000/tree" - time="2024-01-08T11:59:02Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:59:02Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:59:02Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:59:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:02Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:59:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47009->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47009->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53804->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53804->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:02Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:59:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43155->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43155->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43180->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43180->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=debug msg="Handling reboot state" - time="2024-01-08T11:59:02Z" level=info msg="Rebooting device(s)" - time="2024-01-08T11:59:02Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-08T11:59:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules857783507/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules857783507/work/payloads/0000/tree" - time="2024-01-08T11:59:02Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:59:02Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-08T11:59:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules857783507/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules857783507/work/payloads/0000/tree" - time="2024-01-08T11:59:02Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:02Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:02Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-08T11:59:02Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:02Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-08T11:59:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59945->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59945->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57057->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57057->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:02Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:59:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58656->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58656->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55821->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55821->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=info msg="Performing rollback" - time="2024-01-08T11:59:02Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:59:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules857783507/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules857783507/work/payloads/0000/tree" - time="2024-01-08T11:59:02Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-08T11:59:02Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:02Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:59:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46425->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46425->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56062->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56062->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:02Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40766->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40766->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40620->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40620->[::1]:53: read: connection refused" - time="2024-01-08T11:59:02Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:02Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules857783507/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules857783507/work/payloads/0000/tree" - time="2024-01-08T11:59:03Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:03Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules857783507/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules857783507/work/payloads/0000/tree" - time="2024-01-08T11:59:03Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:03Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-08T11:59:03Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:03Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46678->[::1]:53: read: connection refused" - time="2024-01-08T11:59:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46678->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:48Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:48Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:48Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39835->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39835->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45973->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45973->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:48Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:48Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:48Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules786376016/device_type" + time="2024-01-08T12:27:48Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:48Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:48Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:48Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:48Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:48Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:48Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:48Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:48Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:48Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:48Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules786376016/artifact_info file." + time="2024-01-08T12:27:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules786376016/artifact_info" + time="2024-01-08T12:27:48Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:48Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules786376016/artifact_info" + time="2024-01-08T12:27:48Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:48Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules786376016/device_type" + time="2024-01-08T12:27:48Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:48Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:48Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:48Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules786376016/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules786376016/work/payloads/0000/tree" + time="2024-01-08T12:27:48Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:48Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules786376016/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules786376016/work/payloads/0000/tree" + time="2024-01-08T12:27:48Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:48Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:48Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:48Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:48Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43347->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43347->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46180->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46180->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:48Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34930->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34930->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48875->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48875->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules786376016/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules786376016/work/payloads/0000/tree" + time="2024-01-08T12:27:48Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules786376016/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules786376016/work/payloads/0000/tree" + time="2024-01-08T12:27:48Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:48Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:48Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:48Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34797->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34797->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33420->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33420->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:48Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46701->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46701->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39730->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39730->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=debug msg="Handling reboot state" + time="2024-01-08T12:27:48Z" level=info msg="Rebooting device(s)" + time="2024-01-08T12:27:48Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2024-01-08T12:27:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules786376016/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules786376016/work/payloads/0000/tree" + time="2024-01-08T12:27:48Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:48Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2024-01-08T12:27:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules786376016/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules786376016/work/payloads/0000/tree" + time="2024-01-08T12:27:48Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:48Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:48Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:48Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:48Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35098->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35098->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49301->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49301->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:48Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52814->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52814->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42756->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42756->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:48Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules786376016/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules786376016/work/payloads/0000/tree" + time="2024-01-08T12:27:48Z" level=debug msg="Will try to rollback reboot the device" + time="2024-01-08T12:27:48Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:48Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:48Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:48Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53738->[::1]:53: read: connection refused" + time="2024-01-08T12:27:48Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53738->[::1]:53: read: connection refused" + time="2024-01-08T12:27:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48753->[::1]:53: read: connection refused" + time="2024-01-08T12:27:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48753->[::1]:53: read: connection refused" + time="2024-01-08T12:27:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51906->[::1]:53: read: connection refused" + time="2024-01-08T12:27:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51906->[::1]:53: read: connection refused" + time="2024-01-08T12:27:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54889->[::1]:53: read: connection refused" + time="2024-01-08T12:27:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54889->[::1]:53: read: connection refused" + time="2024-01-08T12:27:49Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules786376016/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules786376016/work/payloads/0000/tree" + time="2024-01-08T12:27:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules786376016/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules786376016/work/payloads/0000/tree" + time="2024-01-08T12:27:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:49Z" level=debug msg="Handling state after rollback reboot" + time="2024-01-08T12:27:49Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43365->[::1]:53: read: connection refused" + time="2024-01-08T12:27:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43365->[::1]:53: read: connection refused" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 11 (*app.updateVerifyRollbackRebootState) - time="2024-01-08T11:59:03Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:59:03Z" level=info msg="Handling loaded state: after-rollback-reboot" - time="2024-01-08T11:59:03Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:03Z" level=error msg="Mender shut down in state: after-rollback-reboot" - time="2024-01-08T11:59:03Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:03Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:03Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules857783507/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules857783507/work/payloads/0000/tree" - time="2024-01-08T11:59:03Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:03Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-08T11:59:03Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:03Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38066->[::1]:53: read: connection refused" - time="2024-01-08T11:59:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38066->[::1]:53: read: connection refused" - time="2024-01-08T11:59:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43771->[::1]:53: read: connection refused" - time="2024-01-08T11:59:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43771->[::1]:53: read: connection refused" - time="2024-01-08T11:59:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:03Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37506->[::1]:53: read: connection refused" - time="2024-01-08T11:59:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37506->[::1]:53: read: connection refused" - time="2024-01-08T11:59:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44307->[::1]:53: read: connection refused" - time="2024-01-08T11:59:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44307->[::1]:53: read: connection refused" - time="2024-01-08T11:59:03Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:03Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules857783507/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules857783507/work/payloads/0000/tree" - time="2024-01-08T11:59:03Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:59:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:03Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:59:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:03Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:59:03Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:59:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules857783507/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules857783507/work/payloads/0000/tree" - time="2024-01-08T11:59:03Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:59:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:03Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:59:03Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:59:03Z" level=debug msg="Reporting complete" - time="2024-01-08T11:59:03Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules857783507/artifact_info file." - time="2024-01-08T11:59:03Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules857783507/artifact_info" - time="2024-01-08T11:59:03Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:03Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.17s) + time="2024-01-08T12:27:49Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:27:49Z" level=info msg="Handling loaded state: after-rollback-reboot" + time="2024-01-08T12:27:49Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:49Z" level=error msg="Mender shut down in state: after-rollback-reboot" + time="2024-01-08T12:27:49Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:49Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules786376016/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules786376016/work/payloads/0000/tree" + time="2024-01-08T12:27:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:49Z" level=debug msg="Handling state after rollback reboot" + time="2024-01-08T12:27:49Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:49Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33173->[::1]:53: read: connection refused" + time="2024-01-08T12:27:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33173->[::1]:53: read: connection refused" + time="2024-01-08T12:27:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37018->[::1]:53: read: connection refused" + time="2024-01-08T12:27:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37018->[::1]:53: read: connection refused" + time="2024-01-08T12:27:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:49Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58679->[::1]:53: read: connection refused" + time="2024-01-08T12:27:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58679->[::1]:53: read: connection refused" + time="2024-01-08T12:27:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55969->[::1]:53: read: connection refused" + time="2024-01-08T12:27:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55969->[::1]:53: read: connection refused" + time="2024-01-08T12:27:49Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:49Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules786376016/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules786376016/work/payloads/0000/tree" + time="2024-01-08T12:27:49Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:49Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:49Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:49Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules786376016/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules786376016/work/payloads/0000/tree" + time="2024-01-08T12:27:49Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:49Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:49Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:49Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:49Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules786376016/artifact_info file." + time="2024-01-08T12:27:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules786376016/artifact_info" + time="2024-01-08T12:27:49Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:49Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.24s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Leave_00 state_test.go:4717: Error in ArtifactFailure_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:59:03Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:59:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:03Z" level=debug msg="Handle update check state" - time="2024-01-08T11:59:03Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:59:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:03Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:59:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55129->[::1]:53: read: connection refused" - time="2024-01-08T11:59:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55129->[::1]:53: read: connection refused" - time="2024-01-08T11:59:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55995->[::1]:53: read: connection refused" - time="2024-01-08T11:59:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55995->[::1]:53: read: connection refused" - time="2024-01-08T11:59:03Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:03Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:59:03Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:59:03Z" level=debug msg="Handling update install state" - time="2024-01-08T11:59:03Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules033223608/device_type" - time="2024-01-08T11:59:03Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:59:03Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:59:03Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:59:03Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:59:03Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:59:03Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:03Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:59:03Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:59:03Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:59:03Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:59:03Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:59:03Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:59:03Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:59:03Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:03Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:59:03Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:59:03Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:59:03Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:59:03Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:03Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:59:03Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:59:03Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:59:03Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:59:03Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules033223608/artifact_info file." - time="2024-01-08T11:59:03Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules033223608/artifact_info" - time="2024-01-08T11:59:03Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:03Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:59:03Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules033223608/artifact_info" - time="2024-01-08T11:59:03Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:03Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules033223608/device_type" - time="2024-01-08T11:59:03Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:59:03Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:59:03Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:59:03Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:59:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules033223608/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules033223608/work/payloads/0000/tree" - time="2024-01-08T11:59:03Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:59:03Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:59:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules033223608/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules033223608/work/payloads/0000/tree" - time="2024-01-08T11:59:03Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:59:03Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:59:03Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:59:03Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:59:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:03Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:59:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33446->[::1]:53: read: connection refused" - time="2024-01-08T11:59:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33446->[::1]:53: read: connection refused" - time="2024-01-08T11:59:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33570->[::1]:53: read: connection refused" - time="2024-01-08T11:59:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33570->[::1]:53: read: connection refused" - time="2024-01-08T11:59:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:03Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:59:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40141->[::1]:53: read: connection refused" - time="2024-01-08T11:59:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40141->[::1]:53: read: connection refused" - time="2024-01-08T11:59:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60387->[::1]:53: read: connection refused" - time="2024-01-08T11:59:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60387->[::1]:53: read: connection refused" - time="2024-01-08T11:59:03Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:59:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules033223608/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules033223608/work/payloads/0000/tree" - time="2024-01-08T11:59:03Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:03Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:03Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2024-01-08T11:59:03Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:03Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2024-01-08T11:59:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58758->[::1]:53: read: connection refused" - time="2024-01-08T11:59:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58758->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40628->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40628->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:04Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:59:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60881->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60881->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50855->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50855->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=info msg="Performing rollback" - time="2024-01-08T11:59:04Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:59:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules033223608/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules033223608/work/payloads/0000/tree" - time="2024-01-08T11:59:04Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:04Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:59:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36796->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36796->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49609->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49609->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:04Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54205->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54205->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53456->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53456->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:04Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules033223608/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules033223608/work/payloads/0000/tree" - time="2024-01-08T11:59:04Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:59:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:04Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:59:04Z" level=error msg="statescript: Ignoring error executing 'ArtifactFailure_Leave_00': 1: exit status 1" - time="2024-01-08T11:59:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:04Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:59:04Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:59:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules033223608/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules033223608/work/payloads/0000/tree" - time="2024-01-08T11:59:04Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:59:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:04Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:59:04Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:59:04Z" level=debug msg="Reporting complete" - time="2024-01-08T11:59:04Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules033223608/artifact_info file." - time="2024-01-08T11:59:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules033223608/artifact_info" - time="2024-01-08T11:59:04Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:04Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.67s) + time="2024-01-08T12:27:49Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:49Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:49Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:49Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:49Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47107->[::1]:53: read: connection refused" + time="2024-01-08T12:27:49Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47107->[::1]:53: read: connection refused" + time="2024-01-08T12:27:49Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37096->[::1]:53: read: connection refused" + time="2024-01-08T12:27:49Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37096->[::1]:53: read: connection refused" + time="2024-01-08T12:27:49Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:49Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:49Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:49Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules079219833/device_type" + time="2024-01-08T12:27:49Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:49Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:49Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:49Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:49Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:49Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:49Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:49Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:49Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:49Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:49Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:49Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules079219833/artifact_info file." + time="2024-01-08T12:27:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules079219833/artifact_info" + time="2024-01-08T12:27:49Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:49Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules079219833/artifact_info" + time="2024-01-08T12:27:49Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:49Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules079219833/device_type" + time="2024-01-08T12:27:49Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:49Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:49Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:50Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules079219833/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules079219833/work/payloads/0000/tree" + time="2024-01-08T12:27:50Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules079219833/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules079219833/work/payloads/0000/tree" + time="2024-01-08T12:27:50Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:50Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:50Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:50Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:50Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49591->[::1]:53: read: connection refused" + time="2024-01-08T12:27:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49591->[::1]:53: read: connection refused" + time="2024-01-08T12:27:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36813->[::1]:53: read: connection refused" + time="2024-01-08T12:27:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36813->[::1]:53: read: connection refused" + time="2024-01-08T12:27:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:50Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59397->[::1]:53: read: connection refused" + time="2024-01-08T12:27:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59397->[::1]:53: read: connection refused" + time="2024-01-08T12:27:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54484->[::1]:53: read: connection refused" + time="2024-01-08T12:27:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54484->[::1]:53: read: connection refused" + time="2024-01-08T12:27:50Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules079219833/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules079219833/work/payloads/0000/tree" + time="2024-01-08T12:27:50Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:50Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:50Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:50Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:50Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33808->[::1]:53: read: connection refused" + time="2024-01-08T12:27:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33808->[::1]:53: read: connection refused" + time="2024-01-08T12:27:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49575->[::1]:53: read: connection refused" + time="2024-01-08T12:27:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49575->[::1]:53: read: connection refused" + time="2024-01-08T12:27:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:50Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43351->[::1]:53: read: connection refused" + time="2024-01-08T12:27:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43351->[::1]:53: read: connection refused" + time="2024-01-08T12:27:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33589->[::1]:53: read: connection refused" + time="2024-01-08T12:27:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33589->[::1]:53: read: connection refused" + time="2024-01-08T12:27:50Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:50Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules079219833/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules079219833/work/payloads/0000/tree" + time="2024-01-08T12:27:50Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:50Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45033->[::1]:53: read: connection refused" + time="2024-01-08T12:27:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45033->[::1]:53: read: connection refused" + time="2024-01-08T12:27:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43539->[::1]:53: read: connection refused" + time="2024-01-08T12:27:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43539->[::1]:53: read: connection refused" + time="2024-01-08T12:27:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:50Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36064->[::1]:53: read: connection refused" + time="2024-01-08T12:27:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36064->[::1]:53: read: connection refused" + time="2024-01-08T12:27:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46148->[::1]:53: read: connection refused" + time="2024-01-08T12:27:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46148->[::1]:53: read: connection refused" + time="2024-01-08T12:27:50Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:50Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules079219833/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules079219833/work/payloads/0000/tree" + time="2024-01-08T12:27:50Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:50Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:50Z" level=error msg="statescript: Ignoring error executing 'ArtifactFailure_Leave_00': 1: exit status 1" + time="2024-01-08T12:27:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:50Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:50Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules079219833/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules079219833/work/payloads/0000/tree" + time="2024-01-08T12:27:50Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:50Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:50Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:50Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:50Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules079219833/artifact_info file." + time="2024-01-08T12:27:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules079219833/artifact_info" + time="2024-01-08T12:27:50Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:50Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.69s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Leave_00 state_test.go:4717: Killed in ArtifactFailure_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:59:04Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:59:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:04Z" level=debug msg="Handle update check state" - time="2024-01-08T11:59:04Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:59:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:04Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:59:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33565->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33565->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46370->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46370->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:04Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:59:04Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:59:04Z" level=debug msg="Handling update install state" - time="2024-01-08T11:59:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules774733569/device_type" - time="2024-01-08T11:59:04Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:59:04Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:59:04Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:59:04Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:59:04Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:59:04Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:04Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:59:04Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:59:04Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:59:04Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:59:04Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:59:04Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:59:04Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:04Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:59:04Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:59:04Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:59:04Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:59:04Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:59:04Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:59:04Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:59:04Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:04Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:59:04Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:59:04Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules774733569/artifact_info file." - time="2024-01-08T11:59:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules774733569/artifact_info" - time="2024-01-08T11:59:04Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:04Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:59:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules774733569/artifact_info" - time="2024-01-08T11:59:04Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:04Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules774733569/device_type" - time="2024-01-08T11:59:04Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:59:04Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:59:04Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:59:04Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:59:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules774733569/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules774733569/work/payloads/0000/tree" - time="2024-01-08T11:59:04Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:59:04Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:59:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules774733569/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules774733569/work/payloads/0000/tree" - time="2024-01-08T11:59:04Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:59:04Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:59:04Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:59:04Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:59:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:04Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:59:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33990->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33990->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52470->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52470->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:04Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:59:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47621->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47621->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36009->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36009->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:59:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules774733569/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules774733569/work/payloads/0000/tree" - time="2024-01-08T11:59:04Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:04Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:04Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2024-01-08T11:59:04Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:04Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2024-01-08T11:59:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57991->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57991->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33065->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33065->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:04Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:59:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36839->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36839->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50071->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50071->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=info msg="Performing rollback" - time="2024-01-08T11:59:04Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:59:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules774733569/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules774733569/work/payloads/0000/tree" - time="2024-01-08T11:59:04Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:04Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:59:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59729->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59729->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48217->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48217->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:04Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52448->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52448->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57715->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57715->[::1]:53: read: connection refused" - time="2024-01-08T11:59:04Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:04Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules774733569/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules774733569/work/payloads/0000/tree" - time="2024-01-08T11:59:05Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:59:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:05Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:50Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:50Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:50Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:50Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51272->[::1]:53: read: connection refused" + time="2024-01-08T12:27:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51272->[::1]:53: read: connection refused" + time="2024-01-08T12:27:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43928->[::1]:53: read: connection refused" + time="2024-01-08T12:27:50Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43928->[::1]:53: read: connection refused" + time="2024-01-08T12:27:50Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:50Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:50Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:50Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules094061398/device_type" + time="2024-01-08T12:27:50Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:50Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:50Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:50Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:50Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:50Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:50Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:50Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:50Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:50Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:50Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:50Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules094061398/artifact_info file." + time="2024-01-08T12:27:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules094061398/artifact_info" + time="2024-01-08T12:27:50Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:50Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules094061398/artifact_info" + time="2024-01-08T12:27:50Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:50Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules094061398/device_type" + time="2024-01-08T12:27:50Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:50Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:50Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:50Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules094061398/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules094061398/work/payloads/0000/tree" + time="2024-01-08T12:27:50Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules094061398/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules094061398/work/payloads/0000/tree" + time="2024-01-08T12:27:50Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:50Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:50Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:50Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:50Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:50Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:50Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51819->[::1]:53: read: connection refused" + time="2024-01-08T12:27:50Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51819->[::1]:53: read: connection refused" + time="2024-01-08T12:27:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51233->[::1]:53: read: connection refused" + time="2024-01-08T12:27:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51233->[::1]:53: read: connection refused" + time="2024-01-08T12:27:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:51Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49680->[::1]:53: read: connection refused" + time="2024-01-08T12:27:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49680->[::1]:53: read: connection refused" + time="2024-01-08T12:27:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39149->[::1]:53: read: connection refused" + time="2024-01-08T12:27:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39149->[::1]:53: read: connection refused" + time="2024-01-08T12:27:51Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules094061398/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules094061398/work/payloads/0000/tree" + time="2024-01-08T12:27:51Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:51Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:51Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:51Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:51Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54033->[::1]:53: read: connection refused" + time="2024-01-08T12:27:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54033->[::1]:53: read: connection refused" + time="2024-01-08T12:27:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39618->[::1]:53: read: connection refused" + time="2024-01-08T12:27:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39618->[::1]:53: read: connection refused" + time="2024-01-08T12:27:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:51Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37130->[::1]:53: read: connection refused" + time="2024-01-08T12:27:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37130->[::1]:53: read: connection refused" + time="2024-01-08T12:27:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46948->[::1]:53: read: connection refused" + time="2024-01-08T12:27:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46948->[::1]:53: read: connection refused" + time="2024-01-08T12:27:51Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:51Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules094061398/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules094061398/work/payloads/0000/tree" + time="2024-01-08T12:27:51Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:51Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59960->[::1]:53: read: connection refused" + time="2024-01-08T12:27:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59960->[::1]:53: read: connection refused" + time="2024-01-08T12:27:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58833->[::1]:53: read: connection refused" + time="2024-01-08T12:27:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58833->[::1]:53: read: connection refused" + time="2024-01-08T12:27:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48305->[::1]:53: read: connection refused" + time="2024-01-08T12:27:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48305->[::1]:53: read: connection refused" + time="2024-01-08T12:27:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47491->[::1]:53: read: connection refused" + time="2024-01-08T12:27:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47491->[::1]:53: read: connection refused" + time="2024-01-08T12:27:51Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:51Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules094061398/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules094061398/work/payloads/0000/tree" + time="2024-01-08T12:27:51Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:51Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 7 (*app.updateErrorState) - time="2024-01-08T11:59:05Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:59:05Z" level=info msg="Handling loaded state: update-error" - time="2024-01-08T11:59:05Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:05Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-08T11:59:05Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:05Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:05Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53503->[::1]:53: read: connection refused" - time="2024-01-08T11:59:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53503->[::1]:53: read: connection refused" - time="2024-01-08T11:59:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45454->[::1]:53: read: connection refused" - time="2024-01-08T11:59:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45454->[::1]:53: read: connection refused" - time="2024-01-08T11:59:05Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:05Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules774733569/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules774733569/work/payloads/0000/tree" - time="2024-01-08T11:59:05Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:59:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:05Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:59:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:05Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:59:05Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:59:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules774733569/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules774733569/work/payloads/0000/tree" - time="2024-01-08T11:59:05Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:59:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:05Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:59:05Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:59:05Z" level=debug msg="Reporting complete" - time="2024-01-08T11:59:05Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules774733569/artifact_info file." - time="2024-01-08T11:59:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules774733569/artifact_info" - time="2024-01-08T11:59:05Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:05Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (0.12s) + time="2024-01-08T12:27:51Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:27:51Z" level=info msg="Handling loaded state: update-error" + time="2024-01-08T12:27:51Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:51Z" level=error msg="Mender shut down in state: update-error" + time="2024-01-08T12:27:51Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2024-01-08T12:27:51Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:51Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36638->[::1]:53: read: connection refused" + time="2024-01-08T12:27:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36638->[::1]:53: read: connection refused" + time="2024-01-08T12:27:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46483->[::1]:53: read: connection refused" + time="2024-01-08T12:27:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46483->[::1]:53: read: connection refused" + time="2024-01-08T12:27:51Z" level=debug msg="Handle update error state" + time="2024-01-08T12:27:51Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:27:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules094061398/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules094061398/work/payloads/0000/tree" + time="2024-01-08T12:27:51Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:27:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:51Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:51Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:51Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules094061398/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules094061398/work/payloads/0000/tree" + time="2024-01-08T12:27:51Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:51Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:51Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:51Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules094061398/artifact_info file." + time="2024-01-08T12:27:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules094061398/artifact_info" + time="2024-01-08T12:27:51Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:51Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (0.11s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00 state_test.go:4717: Error in ArtifactCommit_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:59:05Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:59:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:05Z" level=debug msg="Handle update check state" - time="2024-01-08T11:59:05Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:59:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:05Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:59:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35076->[::1]:53: read: connection refused" - time="2024-01-08T11:59:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35076->[::1]:53: read: connection refused" - time="2024-01-08T11:59:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33763->[::1]:53: read: connection refused" - time="2024-01-08T11:59:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33763->[::1]:53: read: connection refused" - time="2024-01-08T11:59:05Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:05Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:59:05Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:59:05Z" level=debug msg="Handling update install state" - time="2024-01-08T11:59:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules062005374/device_type" - time="2024-01-08T11:59:05Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:59:05Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:59:05Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:59:05Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:59:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:59:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:59:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:59:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:59:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:59:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:59:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:59:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:59:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:59:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:59:05Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:59:05Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:59:05Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:59:05Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:59:05Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:05Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:59:05Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:59:05Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules062005374/artifact_info file." - time="2024-01-08T11:59:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules062005374/artifact_info" - time="2024-01-08T11:59:05Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:05Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:59:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules062005374/artifact_info" - time="2024-01-08T11:59:05Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:05Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules062005374/device_type" - time="2024-01-08T11:59:05Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:59:05Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:59:05Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:59:05Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:59:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062005374/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules062005374/work/payloads/0000/tree" - time="2024-01-08T11:59:05Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:59:05Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:59:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062005374/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules062005374/work/payloads/0000/tree" - time="2024-01-08T11:59:05Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:59:05Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:59:05Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:59:05Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:59:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:05Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:59:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50897->[::1]:53: read: connection refused" - time="2024-01-08T11:59:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50897->[::1]:53: read: connection refused" - time="2024-01-08T11:59:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50022->[::1]:53: read: connection refused" - time="2024-01-08T11:59:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50022->[::1]:53: read: connection refused" - time="2024-01-08T11:59:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:05Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:59:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47925->[::1]:53: read: connection refused" - time="2024-01-08T11:59:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47925->[::1]:53: read: connection refused" - time="2024-01-08T11:59:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34802->[::1]:53: read: connection refused" - time="2024-01-08T11:59:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34802->[::1]:53: read: connection refused" - time="2024-01-08T11:59:05Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:59:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062005374/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules062005374/work/payloads/0000/tree" - time="2024-01-08T11:59:05Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:59:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062005374/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules062005374/work/payloads/0000/tree" - time="2024-01-08T11:59:05Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:59:05Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:59:05Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:59:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:05Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:59:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51444->[::1]:53: read: connection refused" - time="2024-01-08T11:59:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51444->[::1]:53: read: connection refused" - time="2024-01-08T11:59:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47624->[::1]:53: read: connection refused" - time="2024-01-08T11:59:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47624->[::1]:53: read: connection refused" - time="2024-01-08T11:59:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:05Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:59:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49000->[::1]:53: read: connection refused" - time="2024-01-08T11:59:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49000->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48785->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48785->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=debug msg="Handling reboot state" - time="2024-01-08T11:59:06Z" level=info msg="Rebooting device(s)" - time="2024-01-08T11:59:06Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-08T11:59:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062005374/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules062005374/work/payloads/0000/tree" - time="2024-01-08T11:59:06Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:59:06Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-08T11:59:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062005374/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules062005374/work/payloads/0000/tree" - time="2024-01-08T11:59:06Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:59:06Z" level=debug msg="Handling state after reboot" - time="2024-01-08T11:59:06Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-08T11:59:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:06Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:59:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57304->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57304->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46652->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46652->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:06Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:59:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48811->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48811->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40739->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40739->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=debug msg="Handle update commit state" - time="2024-01-08T11:59:06Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2024-01-08T11:59:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062005374/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules062005374/work/payloads/0000/tree" - time="2024-01-08T11:59:06Z" level=debug msg="Committing new artifact name: artifact-name" - time="2024-01-08T11:59:06Z" level=debug msg="Committing new artifact group name: " - time="2024-01-08T11:59:06Z" level=debug msg="Committing new artifact type-info provides" - time="2024-01-08T11:59:06Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2024-01-08T11:59:06Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2024-01-08T11:59:06Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2024-01-08T11:59:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:06Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:59:06Z" level=error msg="transient error: error executing leave script for update-after-commit state: error running leave state script(s) for ArtifactCommit_Leave state: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" - time="2024-01-08T11:59:06Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2024-01-08T11:59:06Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [Error]" - time="2024-01-08T11:59:06Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:06Z" level=debug msg="Executing script: ArtifactCommit_Error_00" - time="2024-01-08T11:59:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:06Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:59:06Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:59:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062005374/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules062005374/work/payloads/0000/tree" - time="2024-01-08T11:59:06Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:59:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:06Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:59:06Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:59:06Z" level=debug msg="Reporting complete" - time="2024-01-08T11:59:06Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.75s) + time="2024-01-08T12:27:51Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:51Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:51Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:51Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:51Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42339->[::1]:53: read: connection refused" + time="2024-01-08T12:27:51Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42339->[::1]:53: read: connection refused" + time="2024-01-08T12:27:51Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37158->[::1]:53: read: connection refused" + time="2024-01-08T12:27:51Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37158->[::1]:53: read: connection refused" + time="2024-01-08T12:27:51Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:51Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:51Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:51Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:51Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules511265271/device_type" + time="2024-01-08T12:27:51Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:51Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:51Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:51Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:51Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:51Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:51Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:51Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:51Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:51Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:52Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:52Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:52Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:52Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:52Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules511265271/artifact_info file." + time="2024-01-08T12:27:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules511265271/artifact_info" + time="2024-01-08T12:27:52Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:52Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules511265271/artifact_info" + time="2024-01-08T12:27:52Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules511265271/device_type" + time="2024-01-08T12:27:52Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:52Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:52Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:52Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules511265271/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules511265271/work/payloads/0000/tree" + time="2024-01-08T12:27:52Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules511265271/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules511265271/work/payloads/0000/tree" + time="2024-01-08T12:27:52Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:52Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:52Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:52Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:52Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37402->[::1]:53: read: connection refused" + time="2024-01-08T12:27:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37402->[::1]:53: read: connection refused" + time="2024-01-08T12:27:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36538->[::1]:53: read: connection refused" + time="2024-01-08T12:27:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36538->[::1]:53: read: connection refused" + time="2024-01-08T12:27:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:52Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46334->[::1]:53: read: connection refused" + time="2024-01-08T12:27:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46334->[::1]:53: read: connection refused" + time="2024-01-08T12:27:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60092->[::1]:53: read: connection refused" + time="2024-01-08T12:27:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60092->[::1]:53: read: connection refused" + time="2024-01-08T12:27:52Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules511265271/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules511265271/work/payloads/0000/tree" + time="2024-01-08T12:27:52Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules511265271/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules511265271/work/payloads/0000/tree" + time="2024-01-08T12:27:52Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:52Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:52Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:52Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51677->[::1]:53: read: connection refused" + time="2024-01-08T12:27:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51677->[::1]:53: read: connection refused" + time="2024-01-08T12:27:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36227->[::1]:53: read: connection refused" + time="2024-01-08T12:27:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36227->[::1]:53: read: connection refused" + time="2024-01-08T12:27:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:52Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39187->[::1]:53: read: connection refused" + time="2024-01-08T12:27:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39187->[::1]:53: read: connection refused" + time="2024-01-08T12:27:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42360->[::1]:53: read: connection refused" + time="2024-01-08T12:27:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42360->[::1]:53: read: connection refused" + time="2024-01-08T12:27:53Z" level=debug msg="Handling reboot state" + time="2024-01-08T12:27:53Z" level=info msg="Rebooting device(s)" + time="2024-01-08T12:27:53Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2024-01-08T12:27:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules511265271/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules511265271/work/payloads/0000/tree" + time="2024-01-08T12:27:53Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:53Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2024-01-08T12:27:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules511265271/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules511265271/work/payloads/0000/tree" + time="2024-01-08T12:27:53Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:53Z" level=debug msg="Handling state after reboot" + time="2024-01-08T12:27:53Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2024-01-08T12:27:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:53Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60119->[::1]:53: read: connection refused" + time="2024-01-08T12:27:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60119->[::1]:53: read: connection refused" + time="2024-01-08T12:27:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43783->[::1]:53: read: connection refused" + time="2024-01-08T12:27:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43783->[::1]:53: read: connection refused" + time="2024-01-08T12:27:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:53Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36646->[::1]:53: read: connection refused" + time="2024-01-08T12:27:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36646->[::1]:53: read: connection refused" + time="2024-01-08T12:27:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59436->[::1]:53: read: connection refused" + time="2024-01-08T12:27:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59436->[::1]:53: read: connection refused" + time="2024-01-08T12:27:53Z" level=debug msg="Handle update commit state" + time="2024-01-08T12:27:53Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2024-01-08T12:27:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules511265271/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules511265271/work/payloads/0000/tree" + time="2024-01-08T12:27:53Z" level=debug msg="Committing new artifact name: artifact-name" + time="2024-01-08T12:27:53Z" level=debug msg="Committing new artifact group name: " + time="2024-01-08T12:27:53Z" level=debug msg="Committing new artifact type-info provides" + time="2024-01-08T12:27:53Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2024-01-08T12:27:53Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2024-01-08T12:27:53Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2024-01-08T12:27:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:53Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:53Z" level=error msg="transient error: error executing leave script for update-after-commit state: error running leave state script(s) for ArtifactCommit_Leave state: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" + time="2024-01-08T12:27:53Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2024-01-08T12:27:53Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [Error]" + time="2024-01-08T12:27:53Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:53Z" level=debug msg="Executing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:53Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:53Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules511265271/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules511265271/work/payloads/0000/tree" + time="2024-01-08T12:27:53Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:53Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:53Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:53Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:53Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (1.57s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00 state_test.go:4717: Killed in ArtifactCommit_Leave_00 state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:59:06Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:59:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:06Z" level=debug msg="Handle update check state" - time="2024-01-08T11:59:06Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:59:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:06Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:59:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50187->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50187->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51744->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51744->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:06Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:59:06Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:59:06Z" level=debug msg="Handling update install state" - time="2024-01-08T11:59:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules486848575/device_type" - time="2024-01-08T11:59:06Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:59:06Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:59:06Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:59:06Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:59:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:59:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:59:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:59:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:59:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:59:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:59:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:59:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:59:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:59:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:59:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:59:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:59:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:59:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:59:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:59:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:06Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:59:06Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules486848575/artifact_info file." - time="2024-01-08T11:59:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules486848575/artifact_info" - time="2024-01-08T11:59:06Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:06Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:59:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules486848575/artifact_info" - time="2024-01-08T11:59:06Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules486848575/device_type" - time="2024-01-08T11:59:06Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:59:06Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:59:06Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:59:06Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:59:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules486848575/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules486848575/work/payloads/0000/tree" - time="2024-01-08T11:59:06Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:59:06Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:59:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules486848575/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules486848575/work/payloads/0000/tree" - time="2024-01-08T11:59:06Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:59:06Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:59:06Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:59:06Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:59:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:06Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:59:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32885->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32885->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41746->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41746->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:06Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:59:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42782->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42782->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54683->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54683->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:59:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules486848575/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules486848575/work/payloads/0000/tree" - time="2024-01-08T11:59:06Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:59:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules486848575/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules486848575/work/payloads/0000/tree" - time="2024-01-08T11:59:06Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:59:06Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:59:06Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:59:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:06Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:59:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51469->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51469->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51796->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51796->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:06Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:59:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46838->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46838->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57297->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57297->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=debug msg="Handling reboot state" - time="2024-01-08T11:59:06Z" level=info msg="Rebooting device(s)" - time="2024-01-08T11:59:06Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-08T11:59:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules486848575/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules486848575/work/payloads/0000/tree" - time="2024-01-08T11:59:06Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:59:06Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-08T11:59:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules486848575/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules486848575/work/payloads/0000/tree" - time="2024-01-08T11:59:06Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:59:06Z" level=debug msg="Handling state after reboot" - time="2024-01-08T11:59:06Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-08T11:59:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:06Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:59:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42799->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42799->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55050->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55050->[::1]:53: read: connection refused" - time="2024-01-08T11:59:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:06Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:59:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49439->[::1]:53: read: connection refused" - time="2024-01-08T11:59:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49439->[::1]:53: read: connection refused" - time="2024-01-08T11:59:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45898->[::1]:53: read: connection refused" - time="2024-01-08T11:59:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45898->[::1]:53: read: connection refused" - time="2024-01-08T11:59:07Z" level=debug msg="Handle update commit state" - time="2024-01-08T11:59:07Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2024-01-08T11:59:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules486848575/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules486848575/work/payloads/0000/tree" - time="2024-01-08T11:59:07Z" level=debug msg="Committing new artifact name: artifact-name" - time="2024-01-08T11:59:07Z" level=debug msg="Committing new artifact group name: " - time="2024-01-08T11:59:07Z" level=debug msg="Committing new artifact type-info provides" - time="2024-01-08T11:59:07Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2024-01-08T11:59:07Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2024-01-08T11:59:07Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2024-01-08T11:59:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:07Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:53Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:53Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:53Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:53Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51164->[::1]:53: read: connection refused" + time="2024-01-08T12:27:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51164->[::1]:53: read: connection refused" + time="2024-01-08T12:27:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33723->[::1]:53: read: connection refused" + time="2024-01-08T12:27:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33723->[::1]:53: read: connection refused" + time="2024-01-08T12:27:53Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:53Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:53Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:53Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules084907436/device_type" + time="2024-01-08T12:27:53Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:53Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:53Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:53Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:53Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:53Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:53Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:53Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:53Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:53Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:53Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:53Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules084907436/artifact_info file." + time="2024-01-08T12:27:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules084907436/artifact_info" + time="2024-01-08T12:27:53Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:53Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules084907436/artifact_info" + time="2024-01-08T12:27:53Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:53Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules084907436/device_type" + time="2024-01-08T12:27:53Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:53Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:53Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:53Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules084907436/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules084907436/work/payloads/0000/tree" + time="2024-01-08T12:27:53Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:53Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules084907436/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules084907436/work/payloads/0000/tree" + time="2024-01-08T12:27:53Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:53Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:53Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:53Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:53Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47322->[::1]:53: read: connection refused" + time="2024-01-08T12:27:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47322->[::1]:53: read: connection refused" + time="2024-01-08T12:27:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38126->[::1]:53: read: connection refused" + time="2024-01-08T12:27:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38126->[::1]:53: read: connection refused" + time="2024-01-08T12:27:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:53Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47128->[::1]:53: read: connection refused" + time="2024-01-08T12:27:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47128->[::1]:53: read: connection refused" + time="2024-01-08T12:27:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58912->[::1]:53: read: connection refused" + time="2024-01-08T12:27:53Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58912->[::1]:53: read: connection refused" + time="2024-01-08T12:27:53Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules084907436/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules084907436/work/payloads/0000/tree" + time="2024-01-08T12:27:53Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules084907436/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules084907436/work/payloads/0000/tree" + time="2024-01-08T12:27:53Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:53Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:53Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:53Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:53Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:53Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49296->[::1]:53: read: connection refused" + time="2024-01-08T12:27:53Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49296->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54054->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54054->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:54Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44582->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44582->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60741->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60741->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=debug msg="Handling reboot state" + time="2024-01-08T12:27:54Z" level=info msg="Rebooting device(s)" + time="2024-01-08T12:27:54Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2024-01-08T12:27:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules084907436/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules084907436/work/payloads/0000/tree" + time="2024-01-08T12:27:54Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:54Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2024-01-08T12:27:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules084907436/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules084907436/work/payloads/0000/tree" + time="2024-01-08T12:27:54Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:54Z" level=debug msg="Handling state after reboot" + time="2024-01-08T12:27:54Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2024-01-08T12:27:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:54Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51820->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51820->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40585->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40585->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:54Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59380->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59380->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46663->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46663->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=debug msg="Handle update commit state" + time="2024-01-08T12:27:54Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2024-01-08T12:27:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules084907436/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules084907436/work/payloads/0000/tree" + time="2024-01-08T12:27:54Z" level=debug msg="Committing new artifact name: artifact-name" + time="2024-01-08T12:27:54Z" level=debug msg="Committing new artifact group name: " + time="2024-01-08T12:27:54Z" level=debug msg="Committing new artifact type-info provides" + time="2024-01-08T12:27:54Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2024-01-08T12:27:54Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2024-01-08T12:27:54Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2024-01-08T12:27:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:54Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 11 (*app.updateAfterCommitState) - time="2024-01-08T11:59:07Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:59:07Z" level=info msg="Handling loaded state: update-after-commit" - time="2024-01-08T11:59:07Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:07Z" level=error msg="Mender shut down in state: update-after-commit" - time="2024-01-08T11:59:07Z" level=info msg="State transition: init [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2024-01-08T11:59:07Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2024-01-08T11:59:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:07Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:59:07Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:59:07Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:59:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules486848575/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules486848575/work/payloads/0000/tree" - time="2024-01-08T11:59:07Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" - time="2024-01-08T11:59:07Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:59:07Z" level=debug msg="Reporting complete" - time="2024-01-08T11:59:07Z" level=debug msg="Returning artifact name artifact-name from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.05s) + time="2024-01-08T12:27:54Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:27:54Z" level=info msg="Handling loaded state: update-after-commit" + time="2024-01-08T12:27:54Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:54Z" level=error msg="Mender shut down in state: update-after-commit" + time="2024-01-08T12:27:54Z" level=info msg="State transition: init [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2024-01-08T12:27:54Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2024-01-08T12:27:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:54Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:54Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:54Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules084907436/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules084907436/work/payloads/0000/tree" + time="2024-01-08T12:27:54Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" + time="2024-01-08T12:27:54Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:54Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:54Z" level=debug msg="Returning artifact name artifact-name from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.04s) PASS === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00,_no_reboot state_test.go:4717: Error in ArtifactCommit_Leave_00, no reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:59:07Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:59:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:07Z" level=debug msg="Handle update check state" - time="2024-01-08T11:59:07Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:59:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:07Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:59:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34906->[::1]:53: read: connection refused" - time="2024-01-08T11:59:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34906->[::1]:53: read: connection refused" - time="2024-01-08T11:59:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56292->[::1]:53: read: connection refused" - time="2024-01-08T11:59:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56292->[::1]:53: read: connection refused" - time="2024-01-08T11:59:07Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:07Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:59:07Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:59:07Z" level=debug msg="Handling update install state" - time="2024-01-08T11:59:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules601939348/device_type" - time="2024-01-08T11:59:07Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:59:07Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:59:07Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:59:07Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:59:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:59:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:59:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:59:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:59:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:59:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:59:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:59:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:59:07Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:59:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:59:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:59:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:07Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:59:07Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:59:07Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:59:07Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:59:07Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:07Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:59:07Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules601939348/artifact_info file." - time="2024-01-08T11:59:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules601939348/artifact_info" - time="2024-01-08T11:59:07Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:07Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:59:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules601939348/artifact_info" - time="2024-01-08T11:59:07Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:07Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules601939348/device_type" - time="2024-01-08T11:59:07Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:59:07Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:59:07Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:59:07Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:59:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules601939348/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules601939348/work/payloads/0000/tree" - time="2024-01-08T11:59:07Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:59:07Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:59:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules601939348/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules601939348/work/payloads/0000/tree" - time="2024-01-08T11:59:07Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:59:07Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:59:07Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:59:07Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:59:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:07Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:59:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47305->[::1]:53: read: connection refused" - time="2024-01-08T11:59:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47305->[::1]:53: read: connection refused" - time="2024-01-08T11:59:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47054->[::1]:53: read: connection refused" - time="2024-01-08T11:59:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47054->[::1]:53: read: connection refused" - time="2024-01-08T11:59:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:07Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:59:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53676->[::1]:53: read: connection refused" - time="2024-01-08T11:59:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53676->[::1]:53: read: connection refused" - time="2024-01-08T11:59:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45940->[::1]:53: read: connection refused" - time="2024-01-08T11:59:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45940->[::1]:53: read: connection refused" - time="2024-01-08T11:59:07Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:59:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules601939348/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules601939348/work/payloads/0000/tree" - time="2024-01-08T11:59:07Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:59:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules601939348/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules601939348/work/payloads/0000/tree" - time="2024-01-08T11:59:07Z" level=debug msg="Update module output: No" - time="2024-01-08T11:59:07Z" level=debug msg="Module does not need reboot" - time="2024-01-08T11:59:07Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-08T11:59:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:07Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:59:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54150->[::1]:53: read: connection refused" - time="2024-01-08T11:59:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54150->[::1]:53: read: connection refused" - time="2024-01-08T11:59:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35865->[::1]:53: read: connection refused" - time="2024-01-08T11:59:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35865->[::1]:53: read: connection refused" - time="2024-01-08T11:59:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:07Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:59:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60051->[::1]:53: read: connection refused" - time="2024-01-08T11:59:07Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60051->[::1]:53: read: connection refused" - time="2024-01-08T11:59:07Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41065->[::1]:53: read: connection refused" - time="2024-01-08T11:59:07Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41065->[::1]:53: read: connection refused" - time="2024-01-08T11:59:07Z" level=debug msg="Handle update commit state" - time="2024-01-08T11:59:07Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2024-01-08T11:59:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules601939348/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules601939348/work/payloads/0000/tree" - time="2024-01-08T11:59:07Z" level=debug msg="Committing new artifact name: artifact-name" - time="2024-01-08T11:59:07Z" level=debug msg="Committing new artifact group name: " - time="2024-01-08T11:59:07Z" level=debug msg="Committing new artifact type-info provides" - time="2024-01-08T11:59:07Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2024-01-08T11:59:07Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2024-01-08T11:59:07Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2024-01-08T11:59:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:07Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:59:07Z" level=error msg="transient error: error executing leave script for update-after-commit state: error running leave state script(s) for ArtifactCommit_Leave state: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" - time="2024-01-08T11:59:07Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2024-01-08T11:59:07Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [Error]" - time="2024-01-08T11:59:07Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:07Z" level=debug msg="Executing script: ArtifactCommit_Error_00" - time="2024-01-08T11:59:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:07Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:59:07Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:59:07Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules601939348/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules601939348/work/payloads/0000/tree" - time="2024-01-08T11:59:07Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:59:07Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:07Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:59:07Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:59:07Z" level=debug msg="Reporting complete" - time="2024-01-08T11:59:07Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.49s) + time="2024-01-08T12:27:54Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:54Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:54Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:54Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36698->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36698->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57588->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57588->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:54Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:54Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:54Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules173291013/device_type" + time="2024-01-08T12:27:54Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:54Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:54Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:54Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:54Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:54Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:54Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:54Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:54Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:54Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:54Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:54Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:54Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:54Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:54Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:54Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:54Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:54Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:54Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:54Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:54Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:54Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:54Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:54Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules173291013/artifact_info file." + time="2024-01-08T12:27:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules173291013/artifact_info" + time="2024-01-08T12:27:54Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:54Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules173291013/artifact_info" + time="2024-01-08T12:27:54Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:54Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules173291013/device_type" + time="2024-01-08T12:27:54Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:54Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:54Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:54Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules173291013/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules173291013/work/payloads/0000/tree" + time="2024-01-08T12:27:54Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:54Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules173291013/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules173291013/work/payloads/0000/tree" + time="2024-01-08T12:27:54Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:54Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:54Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:54Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:54Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33635->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33635->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36875->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36875->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:54Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56649->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56649->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38788->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38788->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules173291013/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules173291013/work/payloads/0000/tree" + time="2024-01-08T12:27:54Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules173291013/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules173291013/work/payloads/0000/tree" + time="2024-01-08T12:27:54Z" level=debug msg="Update module output: No" + time="2024-01-08T12:27:54Z" level=debug msg="Module does not need reboot" + time="2024-01-08T12:27:54Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" + time="2024-01-08T12:27:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:54Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48057->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48057->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36617->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36617->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:54Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41977->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41977->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44780->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44780->[::1]:53: read: connection refused" + time="2024-01-08T12:27:54Z" level=debug msg="Handle update commit state" + time="2024-01-08T12:27:54Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2024-01-08T12:27:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules173291013/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules173291013/work/payloads/0000/tree" + time="2024-01-08T12:27:54Z" level=debug msg="Committing new artifact name: artifact-name" + time="2024-01-08T12:27:54Z" level=debug msg="Committing new artifact group name: " + time="2024-01-08T12:27:54Z" level=debug msg="Committing new artifact type-info provides" + time="2024-01-08T12:27:54Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2024-01-08T12:27:54Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2024-01-08T12:27:54Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2024-01-08T12:27:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:54Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:54Z" level=error msg="transient error: error executing leave script for update-after-commit state: error running leave state script(s) for ArtifactCommit_Leave state: statescript: error executing 'ArtifactCommit_Leave_00': 1 : exit status 1" + time="2024-01-08T12:27:54Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2024-01-08T12:27:54Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [Error]" + time="2024-01-08T12:27:54Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:54Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:54Z" level=debug msg="Executing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:55Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:55Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules173291013/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules173291013/work/payloads/0000/tree" + time="2024-01-08T12:27:55Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:27:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:55Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:55Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:27:55Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:55Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.58s) PASS === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00,_no_reboot state_test.go:4717: Killed in ArtifactCommit_Leave_00, no reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:59:08Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:59:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:08Z" level=debug msg="Handle update check state" - time="2024-01-08T11:59:08Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:59:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:08Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:59:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54197->[::1]:53: read: connection refused" - time="2024-01-08T11:59:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54197->[::1]:53: read: connection refused" - time="2024-01-08T11:59:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39011->[::1]:53: read: connection refused" - time="2024-01-08T11:59:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39011->[::1]:53: read: connection refused" - time="2024-01-08T11:59:08Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:08Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:59:08Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:59:08Z" level=debug msg="Handling update install state" - time="2024-01-08T11:59:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules699141645/device_type" - time="2024-01-08T11:59:08Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:59:08Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:59:08Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:59:08Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:59:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:59:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:59:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:59:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:59:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:59:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:59:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:59:08Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:59:08Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:59:08Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:59:08Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:59:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:59:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:59:08Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:59:08Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:59:08Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:59:08Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules699141645/artifact_info file." - time="2024-01-08T11:59:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules699141645/artifact_info" - time="2024-01-08T11:59:08Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:08Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:59:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules699141645/artifact_info" - time="2024-01-08T11:59:08Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:08Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules699141645/device_type" - time="2024-01-08T11:59:08Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:59:08Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:59:08Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:59:08Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:59:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules699141645/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules699141645/work/payloads/0000/tree" - time="2024-01-08T11:59:08Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:59:08Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:59:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules699141645/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules699141645/work/payloads/0000/tree" - time="2024-01-08T11:59:08Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:59:08Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:59:08Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:59:08Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:59:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:08Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:59:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49536->[::1]:53: read: connection refused" - time="2024-01-08T11:59:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49536->[::1]:53: read: connection refused" - time="2024-01-08T11:59:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39814->[::1]:53: read: connection refused" - time="2024-01-08T11:59:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39814->[::1]:53: read: connection refused" - time="2024-01-08T11:59:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:08Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:59:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36987->[::1]:53: read: connection refused" - time="2024-01-08T11:59:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36987->[::1]:53: read: connection refused" - time="2024-01-08T11:59:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43072->[::1]:53: read: connection refused" - time="2024-01-08T11:59:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43072->[::1]:53: read: connection refused" - time="2024-01-08T11:59:08Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:59:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules699141645/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules699141645/work/payloads/0000/tree" - time="2024-01-08T11:59:08Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:59:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules699141645/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules699141645/work/payloads/0000/tree" - time="2024-01-08T11:59:08Z" level=debug msg="Update module output: No" - time="2024-01-08T11:59:08Z" level=debug msg="Module does not need reboot" - time="2024-01-08T11:59:08Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-08T11:59:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:08Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:59:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48343->[::1]:53: read: connection refused" - time="2024-01-08T11:59:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48343->[::1]:53: read: connection refused" - time="2024-01-08T11:59:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44328->[::1]:53: read: connection refused" - time="2024-01-08T11:59:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44328->[::1]:53: read: connection refused" - time="2024-01-08T11:59:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:08Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:59:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57804->[::1]:53: read: connection refused" - time="2024-01-08T11:59:08Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57804->[::1]:53: read: connection refused" - time="2024-01-08T11:59:08Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38960->[::1]:53: read: connection refused" - time="2024-01-08T11:59:08Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38960->[::1]:53: read: connection refused" - time="2024-01-08T11:59:08Z" level=debug msg="Handle update commit state" - time="2024-01-08T11:59:08Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2024-01-08T11:59:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules699141645/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules699141645/work/payloads/0000/tree" - time="2024-01-08T11:59:08Z" level=debug msg="Committing new artifact name: artifact-name" - time="2024-01-08T11:59:08Z" level=debug msg="Committing new artifact group name: " - time="2024-01-08T11:59:08Z" level=debug msg="Committing new artifact type-info provides" - time="2024-01-08T11:59:08Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2024-01-08T11:59:08Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2024-01-08T11:59:08Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2024-01-08T11:59:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:08Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:55Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:55Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:55Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:55Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60659->[::1]:53: read: connection refused" + time="2024-01-08T12:27:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60659->[::1]:53: read: connection refused" + time="2024-01-08T12:27:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34369->[::1]:53: read: connection refused" + time="2024-01-08T12:27:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34369->[::1]:53: read: connection refused" + time="2024-01-08T12:27:55Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:55Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:55Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:55Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules296556498/device_type" + time="2024-01-08T12:27:55Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:55Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:55Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:55Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:55Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:55Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:55Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:55Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:55Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:55Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:55Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:55Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:55Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:55Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:55Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:55Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:55Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:55Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:55Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:55Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:55Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:55Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:55Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:55Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules296556498/artifact_info file." + time="2024-01-08T12:27:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules296556498/artifact_info" + time="2024-01-08T12:27:55Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:55Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules296556498/artifact_info" + time="2024-01-08T12:27:55Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:55Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules296556498/device_type" + time="2024-01-08T12:27:55Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:55Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:55Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:55Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296556498/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules296556498/work/payloads/0000/tree" + time="2024-01-08T12:27:55Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:55Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296556498/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules296556498/work/payloads/0000/tree" + time="2024-01-08T12:27:55Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:55Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:55Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:55Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:55Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50422->[::1]:53: read: connection refused" + time="2024-01-08T12:27:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50422->[::1]:53: read: connection refused" + time="2024-01-08T12:27:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41106->[::1]:53: read: connection refused" + time="2024-01-08T12:27:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41106->[::1]:53: read: connection refused" + time="2024-01-08T12:27:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:55Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54645->[::1]:53: read: connection refused" + time="2024-01-08T12:27:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54645->[::1]:53: read: connection refused" + time="2024-01-08T12:27:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40771->[::1]:53: read: connection refused" + time="2024-01-08T12:27:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40771->[::1]:53: read: connection refused" + time="2024-01-08T12:27:55Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296556498/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules296556498/work/payloads/0000/tree" + time="2024-01-08T12:27:55Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296556498/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules296556498/work/payloads/0000/tree" + time="2024-01-08T12:27:55Z" level=debug msg="Update module output: No" + time="2024-01-08T12:27:55Z" level=debug msg="Module does not need reboot" + time="2024-01-08T12:27:55Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" + time="2024-01-08T12:27:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:55Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57648->[::1]:53: read: connection refused" + time="2024-01-08T12:27:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57648->[::1]:53: read: connection refused" + time="2024-01-08T12:27:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43699->[::1]:53: read: connection refused" + time="2024-01-08T12:27:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43699->[::1]:53: read: connection refused" + time="2024-01-08T12:27:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:55Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57831->[::1]:53: read: connection refused" + time="2024-01-08T12:27:55Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57831->[::1]:53: read: connection refused" + time="2024-01-08T12:27:55Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53854->[::1]:53: read: connection refused" + time="2024-01-08T12:27:55Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53854->[::1]:53: read: connection refused" + time="2024-01-08T12:27:55Z" level=debug msg="Handle update commit state" + time="2024-01-08T12:27:55Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2024-01-08T12:27:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296556498/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules296556498/work/payloads/0000/tree" + time="2024-01-08T12:27:55Z" level=debug msg="Committing new artifact name: artifact-name" + time="2024-01-08T12:27:55Z" level=debug msg="Committing new artifact group name: " + time="2024-01-08T12:27:55Z" level=debug msg="Committing new artifact type-info provides" + time="2024-01-08T12:27:55Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2024-01-08T12:27:55Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2024-01-08T12:27:55Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2024-01-08T12:27:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:55Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 8 (*app.updateAfterCommitState) - time="2024-01-08T11:59:08Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:59:08Z" level=info msg="Handling loaded state: update-after-commit" - time="2024-01-08T11:59:08Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:08Z" level=error msg="Mender shut down in state: update-after-commit" - time="2024-01-08T11:59:08Z" level=info msg="State transition: init [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2024-01-08T11:59:08Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2024-01-08T11:59:08Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:08Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:59:08Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:59:08Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:59:08Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules699141645/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules699141645/work/payloads/0000/tree" - time="2024-01-08T11:59:08Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" - time="2024-01-08T11:59:08Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:59:08Z" level=debug msg="Reporting complete" - time="2024-01-08T11:59:08Z" level=debug msg="Returning artifact name artifact-name from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.05s) + time="2024-01-08T12:27:55Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:27:55Z" level=info msg="Handling loaded state: update-after-commit" + time="2024-01-08T12:27:55Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:55Z" level=error msg="Mender shut down in state: update-after-commit" + time="2024-01-08T12:27:55Z" level=info msg="State transition: init [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2024-01-08T12:27:55Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2024-01-08T12:27:55Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:55Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:55Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:27:55Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:27:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules296556498/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules296556498/work/payloads/0000/tree" + time="2024-01-08T12:27:55Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" + time="2024-01-08T12:27:55Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:27:55Z" level=debug msg="Reporting complete" + time="2024-01-08T12:27:55Z" level=debug msg="Returning artifact name artifact-name from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.07s) PASS === RUN TestStateTransitionsWithUpdateModules/Break_out_of_error_loop state_test.go:4717: Break out of error loop state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:59:09Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:59:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:09Z" level=debug msg="Handle update check state" - time="2024-01-08T11:59:09Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:59:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:09Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:59:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52878->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52878->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44179->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44179->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:09Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:59:09Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:59:09Z" level=debug msg="Handling update install state" - time="2024-01-08T11:59:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules039124602/device_type" - time="2024-01-08T11:59:09Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:59:09Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:59:09Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:59:09Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:59:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:59:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:59:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:59:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:59:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:59:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:59:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:59:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:59:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:59:09Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:59:09Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:59:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:09Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:59:09Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:59:09Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:59:09Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:59:09Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:59:09Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules039124602/artifact_info file." - time="2024-01-08T11:59:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules039124602/artifact_info" - time="2024-01-08T11:59:09Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:09Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:59:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules039124602/artifact_info" - time="2024-01-08T11:59:09Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:09Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules039124602/device_type" - time="2024-01-08T11:59:09Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:59:09Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:59:09Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:59:09Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:59:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:09Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:59:09Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:59:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:09Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:59:09Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:59:09Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:59:09Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:59:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:09Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:59:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39597->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39597->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57870->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57870->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:09Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:59:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41017->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41017->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38253->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38253->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:59:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:09Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:59:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:09Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:59:09Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:59:09Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:59:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:09Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:59:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42409->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42409->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36015->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36015->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:09Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:59:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57857->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57857->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37456->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37456->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=debug msg="Handling reboot state" - time="2024-01-08T11:59:09Z" level=info msg="Rebooting device(s)" - time="2024-01-08T11:59:09Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-08T11:59:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:09Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:59:09Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-08T11:59:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:09Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:09Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:09Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-08T11:59:09Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:09Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-08T11:59:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52054->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52054->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60858->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60858->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:09Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:59:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50394->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50394->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42958->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42958->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=info msg="Performing rollback" - time="2024-01-08T11:59:09Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:59:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:09Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-08T11:59:09Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:09Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:59:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43060->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43060->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38506->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38506->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:09Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41662->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41662->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39207->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39207->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:09Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:09Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:09Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:09Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:09Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:09Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:09Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57227->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57227->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47518->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47518->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:09Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41124->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41124->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50697->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50697->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:09Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:09Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:09Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:09Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:09Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:09Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:09Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47539->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47539->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58426->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58426->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:09Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34940->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34940->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56614->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56614->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:09Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:09Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:09Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:09Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:09Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:09Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:09Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56335->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56335->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49253->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49253->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:09Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37904->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37904->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51925->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51925->[::1]:53: read: connection refused" - time="2024-01-08T11:59:09Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:09Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:09Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:09Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:09Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:09Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:09Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:09Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56557->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56557->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35179->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35179->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54867->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54867->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52287->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52287->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:10Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:10Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:10Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:10Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:10Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:10Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45378->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45378->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52597->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52597->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60936->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60936->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43223->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43223->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:10Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:10Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:10Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:10Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:10Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:10Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55009->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55009->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51686->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51686->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53763->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53763->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38086->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38086->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:10Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:10Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:10Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:10Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:10Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:10Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45700->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45700->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47376->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47376->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40334->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40334->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45121->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45121->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:10Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:10Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:10Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:10Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:10Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:10Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51040->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51040->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49644->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49644->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53087->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53087->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34960->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34960->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:10Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:10Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:10Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:10Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:10Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:10Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55042->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55042->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39804->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39804->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57553->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57553->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47587->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47587->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:10Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:10Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:10Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:10Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:10Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:10Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50456->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50456->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52725->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52725->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44609->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44609->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42331->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42331->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:10Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:10Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:10Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:10Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:10Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:10Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46785->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46785->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40640->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40640->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36924->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36924->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46164->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46164->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:10Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:10Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:10Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:10Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:10Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:10Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59898->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59898->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46459->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46459->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:10Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50911->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50911->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58271->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58271->[::1]:53: read: connection refused" - time="2024-01-08T11:59:10Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:10Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:11Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:11Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:11Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:11Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:11Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:11Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43173->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43173->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52164->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52164->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:11Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45164->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45164->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40285->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40285->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:11Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:11Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:11Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:11Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:11Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:11Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:11Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46625->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46625->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43276->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43276->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:11Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48500->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48500->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50808->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50808->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:11Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:11Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:11Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:11Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:11Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:11Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:11Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44760->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44760->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49441->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49441->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:11Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45538->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45538->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55402->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55402->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:11Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:11Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:11Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:11Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:11Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:11Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:11Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36740->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36740->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38431->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38431->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:11Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60091->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60091->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48119->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48119->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:11Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:11Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:11Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:11Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:11Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:11Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:11Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45035->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45035->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46723->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46723->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:11Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51292->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51292->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48746->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48746->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:11Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:11Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:11Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:11Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:11Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:11Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:11Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51717->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51717->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39839->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39839->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:11Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55702->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55702->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42935->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42935->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:11Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:11Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:11Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:11Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:11Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:11Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:11Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46204->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46204->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40927->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40927->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:11Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44370->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44370->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53999->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53999->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:11Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:11Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:11Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:11Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:11Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:11Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:11Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53685->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53685->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34468->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34468->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:11Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59742->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59742->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57665->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57665->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:11Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:11Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:11Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:11Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:11Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:11Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:11Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56337->[::1]:53: read: connection refused" - time="2024-01-08T11:59:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56337->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52485->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52485->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:12Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39710->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39710->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38474->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38474->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:12Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:12Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:12Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:12Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:12Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:12Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:12Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42095->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42095->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35977->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35977->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:12Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52213->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52213->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54803->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54803->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:12Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:12Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:12Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:12Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:12Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:12Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:12Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54018->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54018->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51942->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51942->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:12Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49505->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49505->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48108->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48108->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:12Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:12Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:12Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:12Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:12Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:12Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:12Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32778->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32778->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55140->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55140->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:12Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52870->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52870->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41424->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41424->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:12Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:12Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:12Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:12Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:12Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:12Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:12Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46222->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46222->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50461->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50461->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:12Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40317->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40317->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55180->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55180->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:12Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:12Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:12Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:12Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:12Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:12Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:12Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34942->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34942->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57104->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57104->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:12Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57711->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57711->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58587->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58587->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:12Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:12Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:12Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:12Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:12Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:12Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:12Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59455->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59455->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35774->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35774->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:12Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43151->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43151->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60200->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60200->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:12Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:12Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:12Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:12Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:12Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:12Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:12Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57858->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57858->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52665->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52665->[::1]:53: read: connection refused" - time="2024-01-08T11:59:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:12Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46231->[::1]:53: read: connection refused" - time="2024-01-08T11:59:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46231->[::1]:53: read: connection refused" - time="2024-01-08T11:59:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57158->[::1]:53: read: connection refused" - time="2024-01-08T11:59:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57158->[::1]:53: read: connection refused" - time="2024-01-08T11:59:13Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:13Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:13Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:13Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:13Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:13Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:13Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:13Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53174->[::1]:53: read: connection refused" - time="2024-01-08T11:59:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53174->[::1]:53: read: connection refused" - time="2024-01-08T11:59:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47282->[::1]:53: read: connection refused" - time="2024-01-08T11:59:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47282->[::1]:53: read: connection refused" - time="2024-01-08T11:59:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:13Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35141->[::1]:53: read: connection refused" - time="2024-01-08T11:59:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35141->[::1]:53: read: connection refused" - time="2024-01-08T11:59:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49174->[::1]:53: read: connection refused" - time="2024-01-08T11:59:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49174->[::1]:53: read: connection refused" - time="2024-01-08T11:59:13Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:13Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:13Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:13Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules039124602/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules039124602/work/payloads/0000/tree" - time="2024-01-08T11:59:13Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:13Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:13Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:13Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36157->[::1]:53: read: connection refused" - time="2024-01-08T11:59:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36157->[::1]:53: read: connection refused" - time="2024-01-08T11:59:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39456->[::1]:53: read: connection refused" - time="2024-01-08T11:59:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39456->[::1]:53: read: connection refused" - time="2024-01-08T11:59:13Z" level=error msg="Could not write state data to persistent storage: State data stored and retrieved maximum number of times" - time="2024-01-08T11:59:13Z" level=error msg="State transition loop detected in state rollback-reboot: Forcefully aborting update. The system is likely to be in an inconsistent state after this." - time="2024-01-08T11:59:13Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2024-01-08T11:59:13Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> update-status-report [none]" - time="2024-01-08T11:59:13Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:59:13Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:59:13Z" level=debug msg="Reporting complete" - time="2024-01-08T11:59:13Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (4.30s) + time="2024-01-08T12:27:56Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:27:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:56Z" level=debug msg="Handle update check state" + time="2024-01-08T12:27:56Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:27:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:56Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:27:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41248->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41248->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60687->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60687->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:27:56Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:27:56Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:27:56Z" level=debug msg="Handling update install state" + time="2024-01-08T12:27:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules388105763/device_type" + time="2024-01-08T12:27:56Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:56Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:56Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:27:56Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:27:56Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:27:56Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:27:56Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:56Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:56Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:27:56Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:27:56Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:27:56Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:56Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:56Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:56Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:27:56Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:27:56Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:56Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:27:56Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:56Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:27:56Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:27:56Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:56Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:27:56Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules388105763/artifact_info file." + time="2024-01-08T12:27:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules388105763/artifact_info" + time="2024-01-08T12:27:56Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:56Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:27:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules388105763/artifact_info" + time="2024-01-08T12:27:56Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:27:56Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules388105763/device_type" + time="2024-01-08T12:27:56Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:27:56Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:27:56Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:27:56Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:27:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:56Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:27:56Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:27:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:56Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:56Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:27:56Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:27:56Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:27:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:56Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:27:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49819->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49819->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58242->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58242->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:56Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:27:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41169->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41169->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57751->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57751->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:27:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:56Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:27:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:56Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:27:56Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:27:56Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:27:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:56Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:27:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44521->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44521->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56569->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56569->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:56Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:27:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47769->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47769->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43544->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43544->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=debug msg="Handling reboot state" + time="2024-01-08T12:27:56Z" level=info msg="Rebooting device(s)" + time="2024-01-08T12:27:56Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2024-01-08T12:27:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:56Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:27:56Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2024-01-08T12:27:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:56Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:56Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:56Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2024-01-08T12:27:56Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:27:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:56Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2024-01-08T12:27:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58416->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58416->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57516->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57516->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:56Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:27:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40445->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40445->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49981->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49981->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=info msg="Performing rollback" + time="2024-01-08T12:27:56Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:27:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:56Z" level=debug msg="Will try to rollback reboot the device" + time="2024-01-08T12:27:56Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:56Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:27:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56049->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56049->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56150->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56150->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:56Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45661->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45661->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44890->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44890->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:56Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:56Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:56Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:56Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:56Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:56Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:56Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36188->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36188->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33332->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33332->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:56Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53258->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53258->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46670->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46670->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:56Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:56Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:56Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:56Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:56Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:56Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:56Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50797->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50797->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32858->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32858->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:56Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:56Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45702->[::1]:53: read: connection refused" + time="2024-01-08T12:27:56Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45702->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55587->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55587->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:57Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:57Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:57Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:57Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:57Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:57Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:57Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38000->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38000->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42868->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42868->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:57Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42372->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42372->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36345->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36345->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:57Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:57Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:57Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:57Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:57Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:57Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:57Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42304->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42304->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40789->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40789->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:57Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35673->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35673->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41087->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41087->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:57Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:57Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:57Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:57Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:57Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:57Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:57Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34075->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34075->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37623->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37623->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:57Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51563->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51563->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38738->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38738->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:57Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:57Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:57Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:57Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:57Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:57Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:57Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47038->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47038->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39598->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39598->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:57Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38470->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38470->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50736->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50736->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:57Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:57Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:57Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:57Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:57Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:57Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:57Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33171->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33171->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35741->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35741->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:57Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50589->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50589->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47211->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47211->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:57Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:57Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:57Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:57Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:57Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:57Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:57Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38276->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38276->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39853->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39853->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:57Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43453->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43453->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59403->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59403->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:57Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:57Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:57Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:57Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:57Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:57Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:57Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49797->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49797->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39349->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39349->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:57Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35486->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35486->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45635->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45635->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:57Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:57Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:57Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:57Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:57Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:57Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:57Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42628->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42628->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32840->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32840->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:57Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:57Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43357->[::1]:53: read: connection refused" + time="2024-01-08T12:27:57Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43357->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41559->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41559->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:58Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:58Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:58Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:58Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:58Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:58Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:58Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39240->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39240->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33773->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33773->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:58Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37842->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37842->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40165->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40165->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:58Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:58Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:58Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:58Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:58Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:58Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:58Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44557->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44557->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40006->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40006->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:58Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50284->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50284->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35230->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35230->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:58Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:58Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:58Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:58Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:58Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:58Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:58Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41127->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41127->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44336->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44336->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:58Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51133->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51133->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38443->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38443->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:58Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:58Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:58Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:58Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:58Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:58Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:58Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49722->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49722->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39132->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39132->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:58Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33801->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33801->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42491->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42491->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:58Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:58Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:58Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:58Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:58Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:58Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:58Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33914->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33914->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59690->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59690->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:58Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54964->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54964->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55396->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55396->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:58Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:58Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:58Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:58Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:58Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:58Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:58Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52634->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:52634->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37242->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37242->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:58Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55323->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55323->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56650->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56650->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:58Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:58Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:58Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:58Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:58Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:58Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:58Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:58Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:58Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51867->[::1]:53: read: connection refused" + time="2024-01-08T12:27:58Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51867->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40048->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40048->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:59Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59943->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59943->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38440->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38440->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:59Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:59Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:59Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:59Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:59Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:59Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:59Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38834->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38834->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50193->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50193->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:59Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56381->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56381->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54960->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54960->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:59Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:59Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:59Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:59Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:59Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:59Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:59Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50540->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50540->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59909->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59909->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:59Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40007->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40007->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44805->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44805->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:59Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:59Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:59Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:59Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:59Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:59Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:59Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40790->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40790->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44448->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44448->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:59Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51631->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51631->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35648->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35648->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:59Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:59Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:59Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:59Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:59Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:59Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:59Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36335->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36335->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51267->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51267->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:59Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40886->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40886->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43937->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43937->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:59Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:59Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:59Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:59Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:59Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:59Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:59Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37164->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37164->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34876->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34876->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:59Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38387->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38387->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48095->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48095->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:27:59Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:27:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:59Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:27:59Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:27:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:27:59Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:59Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:27:59Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:27:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:59Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:27:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43237->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43237->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55075->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55075->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:27:59Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:27:59Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41267->[::1]:53: read: connection refused" + time="2024-01-08T12:27:59Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41267->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48084->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48084->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:28:00Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:28:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:28:00Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:28:00Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:28:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:28:00Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:28:00Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:28:00Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:28:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:00Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:28:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43435->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43435->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38722->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38722->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:00Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:28:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33413->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33413->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47642->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47642->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:28:00Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:28:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:28:00Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:28:00Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:28:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:28:00Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:28:00Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:28:00Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:28:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:00Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:28:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36082->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36082->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59701->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59701->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:00Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:28:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49012->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49012->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38416->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38416->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:28:00Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:28:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:28:00Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:28:00Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:28:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:28:00Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:28:00Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:28:00Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:28:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:00Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:28:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44654->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44654->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39529->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39529->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:00Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:28:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50169->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50169->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43654->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43654->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:28:00Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:28:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:28:00Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:28:00Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:28:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:28:00Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:28:00Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:28:00Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:28:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:00Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:28:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37151->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37151->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38325->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38325->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:00Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:28:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40127->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40127->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57448->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57448->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:28:00Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:28:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:28:00Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:28:00Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:28:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:28:00Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:28:00Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:28:00Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:28:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:00Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:28:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60637->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60637->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51805->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51805->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:00Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:28:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42607->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42607->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33572->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33572->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:28:00Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:28:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:28:00Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:28:00Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:28:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:28:00Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:28:00Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:28:00Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:28:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:00Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:28:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40561->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40561->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37489->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37489->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:00Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:28:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51531->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51531->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57846->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57846->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:28:00Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:28:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:28:00Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:28:00Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:28:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388105763/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules388105763/work/payloads/0000/tree" + time="2024-01-08T12:28:00Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:28:00Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:28:00Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:28:00Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:00Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:28:00Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55653->[::1]:53: read: connection refused" + time="2024-01-08T12:28:00Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55653->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34715->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34715->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=error msg="Could not write state data to persistent storage: State data stored and retrieved maximum number of times" + time="2024-01-08T12:28:01Z" level=error msg="State transition loop detected in state rollback-reboot: Forcefully aborting update. The system is likely to be in an inconsistent state after this." + time="2024-01-08T12:28:01Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2024-01-08T12:28:01Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> update-status-report [none]" + time="2024-01-08T12:28:01Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:28:01Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:28:01Z" level=debug msg="Reporting complete" + time="2024-01-08T12:28:01Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (4.86s) PASS === RUN TestStateTransitionsWithUpdateModules/Break_out_of_spontaneous_reboot_loop state_test.go:4717: Break out of spontaneous reboot loop state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:59:13Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:59:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:13Z" level=debug msg="Handle update check state" - time="2024-01-08T11:59:13Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:59:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:13Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:59:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34205->[::1]:53: read: connection refused" - time="2024-01-08T11:59:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34205->[::1]:53: read: connection refused" - time="2024-01-08T11:59:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53499->[::1]:53: read: connection refused" - time="2024-01-08T11:59:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53499->[::1]:53: read: connection refused" - time="2024-01-08T11:59:13Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:13Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:59:13Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:59:13Z" level=debug msg="Handling update install state" - time="2024-01-08T11:59:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules062716395/device_type" - time="2024-01-08T11:59:13Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:59:13Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:59:13Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:59:13Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:59:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:59:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:59:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:59:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:59:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:59:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:59:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:13Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:59:13Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:59:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:59:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:59:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:59:13Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:59:13Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:59:13Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:59:13Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:59:13Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:59:13Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules062716395/artifact_info file." - time="2024-01-08T11:59:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules062716395/artifact_info" - time="2024-01-08T11:59:13Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:13Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:59:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules062716395/artifact_info" - time="2024-01-08T11:59:13Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:13Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules062716395/device_type" - time="2024-01-08T11:59:13Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:59:13Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:59:13Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:59:13Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:59:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" - time="2024-01-08T11:59:13Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:59:13Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:59:13Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" - time="2024-01-08T11:59:13Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:59:13Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:59:13Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:59:13Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:59:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:13Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:59:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56946->[::1]:53: read: connection refused" - time="2024-01-08T11:59:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56946->[::1]:53: read: connection refused" - time="2024-01-08T11:59:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36113->[::1]:53: read: connection refused" - time="2024-01-08T11:59:13Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36113->[::1]:53: read: connection refused" - time="2024-01-08T11:59:13Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:13Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:59:13Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35620->[::1]:53: read: connection refused" - time="2024-01-08T11:59:13Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35620->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50796->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50796->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:59:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" - time="2024-01-08T11:59:14Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:59:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" - time="2024-01-08T11:59:14Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:59:14Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:59:14Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:59:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:14Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:59:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55859->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55859->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48770->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48770->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:14Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:59:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42908->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42908->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60716->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60716->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=debug msg="Handling reboot state" - time="2024-01-08T11:59:14Z" level=info msg="Rebooting device(s)" - time="2024-01-08T11:59:14Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-08T11:59:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" - time="2024-01-08T11:59:14Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:59:14Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-08T11:59:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" - time="2024-01-08T11:59:14Z" level=error msg="Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:14Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" - time="2024-01-08T11:59:14Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" - time="2024-01-08T11:59:14Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:14Z" level=debug msg="Executing script: ArtifactReboot_Error_00" - time="2024-01-08T11:59:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59125->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59125->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49229->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49229->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:14Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:59:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59104->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59104->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34381->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34381->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=info msg="Performing rollback" - time="2024-01-08T11:59:14Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:59:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" - time="2024-01-08T11:59:14Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-08T11:59:14Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:14Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:59:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33055->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33055->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40706->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40706->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:14Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55234->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55234->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50943->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50943->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:14Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" - time="2024-01-08T11:59:14Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:14Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" - time="2024-01-08T11:59:14Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:14Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-08T11:59:14Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:14Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36626->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36626->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57957->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57957->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:14Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43504->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43504->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46167->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46167->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:14Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" + time="2024-01-08T12:28:01Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:28:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:01Z" level=debug msg="Handle update check state" + time="2024-01-08T12:28:01Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:28:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:01Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:28:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45123->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45123->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42062->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42062->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:28:01Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:28:01Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:28:01Z" level=debug msg="Handling update install state" + time="2024-01-08T12:28:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules157213512/device_type" + time="2024-01-08T12:28:01Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:28:01Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:28:01Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:28:01Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:28:01Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:28:01Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:28:01Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:28:01Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:28:01Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:28:01Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:28:01Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:28:01Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:28:01Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:01Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:28:01Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:28:01Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:28:01Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:28:01Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:28:01Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:28:01Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:28:01Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:28:01Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:28:01Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:28:01Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules157213512/artifact_info file." + time="2024-01-08T12:28:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules157213512/artifact_info" + time="2024-01-08T12:28:01Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:28:01Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:28:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules157213512/artifact_info" + time="2024-01-08T12:28:01Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:28:01Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules157213512/device_type" + time="2024-01-08T12:28:01Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:28:01Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:28:01Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:28:01Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:28:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" + time="2024-01-08T12:28:01Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:28:01Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:28:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" + time="2024-01-08T12:28:01Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:28:01Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:28:01Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:28:01Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:28:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:01Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:28:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56754->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56754->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42128->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42128->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:01Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:28:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53468->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53468->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39202->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39202->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:28:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" + time="2024-01-08T12:28:01Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:28:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" + time="2024-01-08T12:28:01Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:28:01Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:28:01Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:28:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:01Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:28:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46093->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46093->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58564->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58564->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:01Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:28:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37376->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37376->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46634->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46634->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=debug msg="Handling reboot state" + time="2024-01-08T12:28:01Z" level=info msg="Rebooting device(s)" + time="2024-01-08T12:28:01Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2024-01-08T12:28:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" + time="2024-01-08T12:28:01Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:28:01Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2024-01-08T12:28:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" + time="2024-01-08T12:28:01Z" level=error msg="Update module terminated abnormally: exit status 1" + time="2024-01-08T12:28:01Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" + time="2024-01-08T12:28:01Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" + time="2024-01-08T12:28:01Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:28:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:01Z" level=debug msg="Executing script: ArtifactReboot_Error_00" + time="2024-01-08T12:28:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33418->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33418->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43422->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43422->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:01Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:28:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39162->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39162->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55299->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55299->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=info msg="Performing rollback" + time="2024-01-08T12:28:01Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:28:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" + time="2024-01-08T12:28:01Z" level=debug msg="Will try to rollback reboot the device" + time="2024-01-08T12:28:01Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:28:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:01Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:28:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43269->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43269->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41167->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41167->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:01Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:28:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57763->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57763->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38720->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38720->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:28:01Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:28:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" + time="2024-01-08T12:28:01Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:28:01Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:28:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" + time="2024-01-08T12:28:01Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:28:01Z" level=debug msg="Handling state after rollback reboot" + time="2024-01-08T12:28:01Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2024-01-08T12:28:01Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:01Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:28:01Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59740->[::1]:53: read: connection refused" + time="2024-01-08T12:28:01Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59740->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46031->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46031->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:02Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53779->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53779->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36138->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36138->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=debug msg="Handle update error state" + time="2024-01-08T12:28:02Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:28:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 11 (*app.updateErrorState) - time="2024-01-08T11:59:14Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:59:14Z" level=info msg="Handling loaded state: update-error" - time="2024-01-08T11:59:14Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:14Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-08T11:59:14Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:14Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:14Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33339->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33339->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45332->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45332->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:14Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" + time="2024-01-08T12:28:02Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:28:02Z" level=info msg="Handling loaded state: update-error" + time="2024-01-08T12:28:02Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:28:02Z" level=error msg="Mender shut down in state: update-error" + time="2024-01-08T12:28:02Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2024-01-08T12:28:02Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:28:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:02Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49472->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49472->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37565->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37565->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=debug msg="Handle update error state" + time="2024-01-08T12:28:02Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:28:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 12 (*app.updateErrorState) - time="2024-01-08T11:59:14Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:59:14Z" level=info msg="Handling loaded state: update-error" - time="2024-01-08T11:59:14Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:14Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-08T11:59:14Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:14Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:14Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35901->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35901->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44551->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44551->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:14Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" + time="2024-01-08T12:28:02Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:28:02Z" level=info msg="Handling loaded state: update-error" + time="2024-01-08T12:28:02Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:28:02Z" level=error msg="Mender shut down in state: update-error" + time="2024-01-08T12:28:02Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2024-01-08T12:28:02Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:28:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:02Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60674->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60674->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34114->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34114->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=debug msg="Handle update error state" + time="2024-01-08T12:28:02Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:28:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 13 (*app.updateErrorState) - time="2024-01-08T11:59:14Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:59:14Z" level=info msg="Handling loaded state: update-error" - time="2024-01-08T11:59:14Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:14Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-08T11:59:14Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:14Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:14Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:14Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56252->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56252->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49480->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49480->[::1]:53: read: connection refused" - time="2024-01-08T11:59:14Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:14Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:14Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" + time="2024-01-08T12:28:02Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:28:02Z" level=info msg="Handling loaded state: update-error" + time="2024-01-08T12:28:02Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:28:02Z" level=error msg="Mender shut down in state: update-error" + time="2024-01-08T12:28:02Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2024-01-08T12:28:02Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:28:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:02Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47237->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47237->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58489->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58489->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=debug msg="Handle update error state" + time="2024-01-08T12:28:02Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:28:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 14 (*app.updateErrorState) - time="2024-01-08T11:59:15Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:59:15Z" level=info msg="Handling loaded state: update-error" - time="2024-01-08T11:59:15Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:15Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-08T11:59:15Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:15Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:15Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54301->[::1]:53: read: connection refused" - time="2024-01-08T11:59:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54301->[::1]:53: read: connection refused" - time="2024-01-08T11:59:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50944->[::1]:53: read: connection refused" - time="2024-01-08T11:59:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50944->[::1]:53: read: connection refused" - time="2024-01-08T11:59:15Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:15Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" + time="2024-01-08T12:28:02Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:28:02Z" level=info msg="Handling loaded state: update-error" + time="2024-01-08T12:28:02Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:28:02Z" level=error msg="Mender shut down in state: update-error" + time="2024-01-08T12:28:02Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2024-01-08T12:28:02Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:28:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:02Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60619->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60619->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42234->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42234->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=debug msg="Handle update error state" + time="2024-01-08T12:28:02Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:28:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 15 (*app.updateErrorState) - time="2024-01-08T11:59:15Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:59:15Z" level=info msg="Handling loaded state: update-error" - time="2024-01-08T11:59:15Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:15Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-08T11:59:15Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:15Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:15Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37979->[::1]:53: read: connection refused" - time="2024-01-08T11:59:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37979->[::1]:53: read: connection refused" - time="2024-01-08T11:59:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42485->[::1]:53: read: connection refused" - time="2024-01-08T11:59:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42485->[::1]:53: read: connection refused" - time="2024-01-08T11:59:15Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:15Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" + time="2024-01-08T12:28:02Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:28:02Z" level=info msg="Handling loaded state: update-error" + time="2024-01-08T12:28:02Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:28:02Z" level=error msg="Mender shut down in state: update-error" + time="2024-01-08T12:28:02Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2024-01-08T12:28:02Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:28:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:02Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33189->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33189->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57696->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57696->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=debug msg="Handle update error state" + time="2024-01-08T12:28:02Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:28:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 16 (*app.updateErrorState) - time="2024-01-08T11:59:15Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:59:15Z" level=info msg="Handling loaded state: update-error" - time="2024-01-08T11:59:15Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:15Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-08T11:59:15Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:15Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:15Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60347->[::1]:53: read: connection refused" - time="2024-01-08T11:59:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60347->[::1]:53: read: connection refused" - time="2024-01-08T11:59:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54025->[::1]:53: read: connection refused" - time="2024-01-08T11:59:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54025->[::1]:53: read: connection refused" - time="2024-01-08T11:59:15Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:15Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" + time="2024-01-08T12:28:02Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:28:02Z" level=info msg="Handling loaded state: update-error" + time="2024-01-08T12:28:02Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:28:02Z" level=error msg="Mender shut down in state: update-error" + time="2024-01-08T12:28:02Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2024-01-08T12:28:02Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:28:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:02Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49708->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49708->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49459->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49459->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=debug msg="Handle update error state" + time="2024-01-08T12:28:02Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:28:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 17 (*app.updateErrorState) - time="2024-01-08T11:59:15Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:59:15Z" level=info msg="Handling loaded state: update-error" - time="2024-01-08T11:59:15Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:15Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-08T11:59:15Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:15Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:15Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59826->[::1]:53: read: connection refused" - time="2024-01-08T11:59:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59826->[::1]:53: read: connection refused" - time="2024-01-08T11:59:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50456->[::1]:53: read: connection refused" - time="2024-01-08T11:59:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50456->[::1]:53: read: connection refused" - time="2024-01-08T11:59:15Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:15Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" + time="2024-01-08T12:28:02Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:28:02Z" level=info msg="Handling loaded state: update-error" + time="2024-01-08T12:28:02Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:28:02Z" level=error msg="Mender shut down in state: update-error" + time="2024-01-08T12:28:02Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2024-01-08T12:28:02Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:28:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:02Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47620->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47620->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50653->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50653->[::1]:53: read: connection refused" + time="2024-01-08T12:28:02Z" level=debug msg="Handle update error state" + time="2024-01-08T12:28:02Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:28:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 18 (*app.updateErrorState) - time="2024-01-08T11:59:15Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:59:15Z" level=info msg="Handling loaded state: update-error" - time="2024-01-08T11:59:15Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:15Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-08T11:59:15Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:15Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:15Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41605->[::1]:53: read: connection refused" - time="2024-01-08T11:59:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41605->[::1]:53: read: connection refused" - time="2024-01-08T11:59:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49570->[::1]:53: read: connection refused" - time="2024-01-08T11:59:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49570->[::1]:53: read: connection refused" - time="2024-01-08T11:59:15Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:15Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" + time="2024-01-08T12:28:02Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:28:02Z" level=info msg="Handling loaded state: update-error" + time="2024-01-08T12:28:02Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:28:02Z" level=error msg="Mender shut down in state: update-error" + time="2024-01-08T12:28:02Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2024-01-08T12:28:02Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:28:02Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:02Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:02Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38243->[::1]:53: read: connection refused" + time="2024-01-08T12:28:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38243->[::1]:53: read: connection refused" + time="2024-01-08T12:28:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48221->[::1]:53: read: connection refused" + time="2024-01-08T12:28:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48221->[::1]:53: read: connection refused" + time="2024-01-08T12:28:03Z" level=debug msg="Handle update error state" + time="2024-01-08T12:28:03Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:28:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 19 (*app.updateErrorState) - time="2024-01-08T11:59:15Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:59:15Z" level=info msg="Handling loaded state: update-error" - time="2024-01-08T11:59:15Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:15Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-08T11:59:15Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:15Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:15Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:15Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37094->[::1]:53: read: connection refused" - time="2024-01-08T11:59:15Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37094->[::1]:53: read: connection refused" - time="2024-01-08T11:59:15Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53363->[::1]:53: read: connection refused" - time="2024-01-08T11:59:15Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53363->[::1]:53: read: connection refused" - time="2024-01-08T11:59:15Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:15Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" + time="2024-01-08T12:28:03Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:28:03Z" level=info msg="Handling loaded state: update-error" + time="2024-01-08T12:28:03Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:28:03Z" level=error msg="Mender shut down in state: update-error" + time="2024-01-08T12:28:03Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2024-01-08T12:28:03Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:28:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:03Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46843->[::1]:53: read: connection refused" + time="2024-01-08T12:28:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46843->[::1]:53: read: connection refused" + time="2024-01-08T12:28:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59194->[::1]:53: read: connection refused" + time="2024-01-08T12:28:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59194->[::1]:53: read: connection refused" + time="2024-01-08T12:28:03Z" level=debug msg="Handle update error state" + time="2024-01-08T12:28:03Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:28:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 20 (*app.updateErrorState) - time="2024-01-08T11:59:16Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:59:16Z" level=info msg="Handling loaded state: update-error" - time="2024-01-08T11:59:16Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:16Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-08T11:59:16Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:16Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:16Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34864->[::1]:53: read: connection refused" - time="2024-01-08T11:59:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34864->[::1]:53: read: connection refused" - time="2024-01-08T11:59:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33493->[::1]:53: read: connection refused" - time="2024-01-08T11:59:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33493->[::1]:53: read: connection refused" - time="2024-01-08T11:59:16Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:16Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" + time="2024-01-08T12:28:03Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:28:03Z" level=info msg="Handling loaded state: update-error" + time="2024-01-08T12:28:03Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:28:03Z" level=error msg="Mender shut down in state: update-error" + time="2024-01-08T12:28:03Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2024-01-08T12:28:03Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:28:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:03Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42519->[::1]:53: read: connection refused" + time="2024-01-08T12:28:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42519->[::1]:53: read: connection refused" + time="2024-01-08T12:28:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54026->[::1]:53: read: connection refused" + time="2024-01-08T12:28:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54026->[::1]:53: read: connection refused" + time="2024-01-08T12:28:03Z" level=debug msg="Handle update error state" + time="2024-01-08T12:28:03Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:28:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 21 (*app.updateErrorState) - time="2024-01-08T11:59:16Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:59:16Z" level=info msg="Handling loaded state: update-error" - time="2024-01-08T11:59:16Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:16Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-08T11:59:16Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:16Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:16Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60892->[::1]:53: read: connection refused" - time="2024-01-08T11:59:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60892->[::1]:53: read: connection refused" - time="2024-01-08T11:59:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35372->[::1]:53: read: connection refused" - time="2024-01-08T11:59:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35372->[::1]:53: read: connection refused" - time="2024-01-08T11:59:16Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:16Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" + time="2024-01-08T12:28:03Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:28:03Z" level=info msg="Handling loaded state: update-error" + time="2024-01-08T12:28:03Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:28:03Z" level=error msg="Mender shut down in state: update-error" + time="2024-01-08T12:28:03Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2024-01-08T12:28:03Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:28:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:03Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41630->[::1]:53: read: connection refused" + time="2024-01-08T12:28:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41630->[::1]:53: read: connection refused" + time="2024-01-08T12:28:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56616->[::1]:53: read: connection refused" + time="2024-01-08T12:28:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56616->[::1]:53: read: connection refused" + time="2024-01-08T12:28:03Z" level=debug msg="Handle update error state" + time="2024-01-08T12:28:03Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:28:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 22 (*app.updateErrorState) - time="2024-01-08T11:59:16Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:59:16Z" level=info msg="Handling loaded state: update-error" - time="2024-01-08T11:59:16Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:16Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-08T11:59:16Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:16Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:16Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39357->[::1]:53: read: connection refused" - time="2024-01-08T11:59:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39357->[::1]:53: read: connection refused" - time="2024-01-08T11:59:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38315->[::1]:53: read: connection refused" - time="2024-01-08T11:59:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38315->[::1]:53: read: connection refused" - time="2024-01-08T11:59:16Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:16Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" + time="2024-01-08T12:28:03Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:28:03Z" level=info msg="Handling loaded state: update-error" + time="2024-01-08T12:28:03Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:28:03Z" level=error msg="Mender shut down in state: update-error" + time="2024-01-08T12:28:03Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2024-01-08T12:28:03Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:28:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:03Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40780->[::1]:53: read: connection refused" + time="2024-01-08T12:28:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40780->[::1]:53: read: connection refused" + time="2024-01-08T12:28:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59563->[::1]:53: read: connection refused" + time="2024-01-08T12:28:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59563->[::1]:53: read: connection refused" + time="2024-01-08T12:28:03Z" level=debug msg="Handle update error state" + time="2024-01-08T12:28:03Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:28:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 23 (*app.updateErrorState) - time="2024-01-08T11:59:16Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:59:16Z" level=info msg="Handling loaded state: update-error" - time="2024-01-08T11:59:16Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:16Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-08T11:59:16Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:16Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:16Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56804->[::1]:53: read: connection refused" - time="2024-01-08T11:59:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56804->[::1]:53: read: connection refused" - time="2024-01-08T11:59:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56749->[::1]:53: read: connection refused" - time="2024-01-08T11:59:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56749->[::1]:53: read: connection refused" - time="2024-01-08T11:59:16Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:16Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" + time="2024-01-08T12:28:03Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:28:03Z" level=info msg="Handling loaded state: update-error" + time="2024-01-08T12:28:03Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:28:03Z" level=error msg="Mender shut down in state: update-error" + time="2024-01-08T12:28:03Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2024-01-08T12:28:03Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:28:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:03Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34457->[::1]:53: read: connection refused" + time="2024-01-08T12:28:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34457->[::1]:53: read: connection refused" + time="2024-01-08T12:28:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33887->[::1]:53: read: connection refused" + time="2024-01-08T12:28:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33887->[::1]:53: read: connection refused" + time="2024-01-08T12:28:03Z" level=debug msg="Handle update error state" + time="2024-01-08T12:28:03Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:28:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 24 (*app.updateErrorState) - time="2024-01-08T11:59:16Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:59:16Z" level=info msg="Handling loaded state: update-error" - time="2024-01-08T11:59:16Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:16Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-08T11:59:16Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:16Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:16Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37500->[::1]:53: read: connection refused" - time="2024-01-08T11:59:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37500->[::1]:53: read: connection refused" - time="2024-01-08T11:59:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55220->[::1]:53: read: connection refused" - time="2024-01-08T11:59:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55220->[::1]:53: read: connection refused" - time="2024-01-08T11:59:16Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:16Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" + time="2024-01-08T12:28:03Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:28:03Z" level=info msg="Handling loaded state: update-error" + time="2024-01-08T12:28:03Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:28:03Z" level=error msg="Mender shut down in state: update-error" + time="2024-01-08T12:28:03Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2024-01-08T12:28:03Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:28:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:03Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40838->[::1]:53: read: connection refused" + time="2024-01-08T12:28:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40838->[::1]:53: read: connection refused" + time="2024-01-08T12:28:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55280->[::1]:53: read: connection refused" + time="2024-01-08T12:28:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55280->[::1]:53: read: connection refused" + time="2024-01-08T12:28:03Z" level=debug msg="Handle update error state" + time="2024-01-08T12:28:03Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:28:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 25 (*app.updateErrorState) - time="2024-01-08T11:59:16Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:59:16Z" level=info msg="Handling loaded state: update-error" - time="2024-01-08T11:59:16Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:16Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-08T11:59:16Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:16Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:16Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:16Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39505->[::1]:53: read: connection refused" - time="2024-01-08T11:59:16Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39505->[::1]:53: read: connection refused" - time="2024-01-08T11:59:16Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58472->[::1]:53: read: connection refused" - time="2024-01-08T11:59:16Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58472->[::1]:53: read: connection refused" - time="2024-01-08T11:59:16Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:16Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:16Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" + time="2024-01-08T12:28:03Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:28:03Z" level=info msg="Handling loaded state: update-error" + time="2024-01-08T12:28:03Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:28:03Z" level=error msg="Mender shut down in state: update-error" + time="2024-01-08T12:28:03Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2024-01-08T12:28:03Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:28:03Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:03Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60756->[::1]:53: read: connection refused" + time="2024-01-08T12:28:03Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60756->[::1]:53: read: connection refused" + time="2024-01-08T12:28:03Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59659->[::1]:53: read: connection refused" + time="2024-01-08T12:28:03Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59659->[::1]:53: read: connection refused" + time="2024-01-08T12:28:03Z" level=debug msg="Handle update error state" + time="2024-01-08T12:28:03Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:28:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 26 (*app.updateErrorState) - time="2024-01-08T11:59:17Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:59:17Z" level=info msg="Handling loaded state: update-error" - time="2024-01-08T11:59:17Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:17Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-08T11:59:17Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:17Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:17Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54309->[::1]:53: read: connection refused" - time="2024-01-08T11:59:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54309->[::1]:53: read: connection refused" - time="2024-01-08T11:59:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36329->[::1]:53: read: connection refused" - time="2024-01-08T11:59:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36329->[::1]:53: read: connection refused" - time="2024-01-08T11:59:17Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:17Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" + time="2024-01-08T12:28:04Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:28:04Z" level=info msg="Handling loaded state: update-error" + time="2024-01-08T12:28:04Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:28:04Z" level=error msg="Mender shut down in state: update-error" + time="2024-01-08T12:28:04Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2024-01-08T12:28:04Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:28:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:04Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49269->[::1]:53: read: connection refused" + time="2024-01-08T12:28:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49269->[::1]:53: read: connection refused" + time="2024-01-08T12:28:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58349->[::1]:53: read: connection refused" + time="2024-01-08T12:28:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58349->[::1]:53: read: connection refused" + time="2024-01-08T12:28:04Z" level=debug msg="Handle update error state" + time="2024-01-08T12:28:04Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:28:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 27 (*app.updateErrorState) - time="2024-01-08T11:59:17Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:59:17Z" level=info msg="Handling loaded state: update-error" - time="2024-01-08T11:59:17Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:17Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-08T11:59:17Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:17Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:17Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57124->[::1]:53: read: connection refused" - time="2024-01-08T11:59:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57124->[::1]:53: read: connection refused" - time="2024-01-08T11:59:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39690->[::1]:53: read: connection refused" - time="2024-01-08T11:59:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39690->[::1]:53: read: connection refused" - time="2024-01-08T11:59:17Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:17Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" + time="2024-01-08T12:28:04Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:28:04Z" level=info msg="Handling loaded state: update-error" + time="2024-01-08T12:28:04Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:28:04Z" level=error msg="Mender shut down in state: update-error" + time="2024-01-08T12:28:04Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2024-01-08T12:28:04Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:28:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:04Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34570->[::1]:53: read: connection refused" + time="2024-01-08T12:28:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34570->[::1]:53: read: connection refused" + time="2024-01-08T12:28:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37800->[::1]:53: read: connection refused" + time="2024-01-08T12:28:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37800->[::1]:53: read: connection refused" + time="2024-01-08T12:28:04Z" level=debug msg="Handle update error state" + time="2024-01-08T12:28:04Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:28:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 28 (*app.updateErrorState) - time="2024-01-08T11:59:17Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:59:17Z" level=info msg="Handling loaded state: update-error" - time="2024-01-08T11:59:17Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:17Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-08T11:59:17Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:17Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:17Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43150->[::1]:53: read: connection refused" - time="2024-01-08T11:59:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43150->[::1]:53: read: connection refused" - time="2024-01-08T11:59:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47601->[::1]:53: read: connection refused" - time="2024-01-08T11:59:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47601->[::1]:53: read: connection refused" - time="2024-01-08T11:59:17Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:17Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" + time="2024-01-08T12:28:04Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:28:04Z" level=info msg="Handling loaded state: update-error" + time="2024-01-08T12:28:04Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:28:04Z" level=error msg="Mender shut down in state: update-error" + time="2024-01-08T12:28:04Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2024-01-08T12:28:04Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:28:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:04Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48375->[::1]:53: read: connection refused" + time="2024-01-08T12:28:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48375->[::1]:53: read: connection refused" + time="2024-01-08T12:28:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48576->[::1]:53: read: connection refused" + time="2024-01-08T12:28:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48576->[::1]:53: read: connection refused" + time="2024-01-08T12:28:04Z" level=debug msg="Handle update error state" + time="2024-01-08T12:28:04Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:28:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 29 (*app.updateErrorState) - time="2024-01-08T11:59:17Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:59:17Z" level=info msg="Handling loaded state: update-error" - time="2024-01-08T11:59:17Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:17Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-08T11:59:17Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:17Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:17Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54292->[::1]:53: read: connection refused" - time="2024-01-08T11:59:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54292->[::1]:53: read: connection refused" - time="2024-01-08T11:59:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44066->[::1]:53: read: connection refused" - time="2024-01-08T11:59:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44066->[::1]:53: read: connection refused" - time="2024-01-08T11:59:17Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:17Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" + time="2024-01-08T12:28:04Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:28:04Z" level=info msg="Handling loaded state: update-error" + time="2024-01-08T12:28:04Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:28:04Z" level=error msg="Mender shut down in state: update-error" + time="2024-01-08T12:28:04Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2024-01-08T12:28:04Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:28:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:04Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38401->[::1]:53: read: connection refused" + time="2024-01-08T12:28:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38401->[::1]:53: read: connection refused" + time="2024-01-08T12:28:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37581->[::1]:53: read: connection refused" + time="2024-01-08T12:28:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37581->[::1]:53: read: connection refused" + time="2024-01-08T12:28:04Z" level=debug msg="Handle update error state" + time="2024-01-08T12:28:04Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:28:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 30 (*app.updateErrorState) - time="2024-01-08T11:59:17Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:59:17Z" level=info msg="Handling loaded state: update-error" - time="2024-01-08T11:59:17Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:17Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-08T11:59:17Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:17Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:17Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50843->[::1]:53: read: connection refused" - time="2024-01-08T11:59:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50843->[::1]:53: read: connection refused" - time="2024-01-08T11:59:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46111->[::1]:53: read: connection refused" - time="2024-01-08T11:59:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46111->[::1]:53: read: connection refused" - time="2024-01-08T11:59:17Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:17Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" + time="2024-01-08T12:28:04Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:28:04Z" level=info msg="Handling loaded state: update-error" + time="2024-01-08T12:28:04Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:28:04Z" level=error msg="Mender shut down in state: update-error" + time="2024-01-08T12:28:04Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2024-01-08T12:28:04Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:28:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:04Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34887->[::1]:53: read: connection refused" + time="2024-01-08T12:28:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34887->[::1]:53: read: connection refused" + time="2024-01-08T12:28:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33556->[::1]:53: read: connection refused" + time="2024-01-08T12:28:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33556->[::1]:53: read: connection refused" + time="2024-01-08T12:28:04Z" level=debug msg="Handle update error state" + time="2024-01-08T12:28:04Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:28:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 31 (*app.updateErrorState) - time="2024-01-08T11:59:17Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:59:17Z" level=info msg="Handling loaded state: update-error" - time="2024-01-08T11:59:17Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:17Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-08T11:59:17Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:17Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:17Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43827->[::1]:53: read: connection refused" - time="2024-01-08T11:59:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43827->[::1]:53: read: connection refused" - time="2024-01-08T11:59:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49528->[::1]:53: read: connection refused" - time="2024-01-08T11:59:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49528->[::1]:53: read: connection refused" - time="2024-01-08T11:59:17Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:17Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" + time="2024-01-08T12:28:04Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:28:04Z" level=info msg="Handling loaded state: update-error" + time="2024-01-08T12:28:04Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:28:04Z" level=error msg="Mender shut down in state: update-error" + time="2024-01-08T12:28:04Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2024-01-08T12:28:04Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:28:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:04Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50663->[::1]:53: read: connection refused" + time="2024-01-08T12:28:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50663->[::1]:53: read: connection refused" + time="2024-01-08T12:28:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59632->[::1]:53: read: connection refused" + time="2024-01-08T12:28:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59632->[::1]:53: read: connection refused" + time="2024-01-08T12:28:04Z" level=debug msg="Handle update error state" + time="2024-01-08T12:28:04Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:28:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 32 (*app.updateErrorState) - time="2024-01-08T11:59:18Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:59:18Z" level=info msg="Handling loaded state: update-error" - time="2024-01-08T11:59:18Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:18Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-08T11:59:18Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:18Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:18Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59929->[::1]:53: read: connection refused" - time="2024-01-08T11:59:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59929->[::1]:53: read: connection refused" - time="2024-01-08T11:59:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37399->[::1]:53: read: connection refused" - time="2024-01-08T11:59:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37399->[::1]:53: read: connection refused" - time="2024-01-08T11:59:18Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:18Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" + time="2024-01-08T12:28:04Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:28:04Z" level=info msg="Handling loaded state: update-error" + time="2024-01-08T12:28:04Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:28:04Z" level=error msg="Mender shut down in state: update-error" + time="2024-01-08T12:28:04Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2024-01-08T12:28:04Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:28:04Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:04Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40819->[::1]:53: read: connection refused" + time="2024-01-08T12:28:04Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40819->[::1]:53: read: connection refused" + time="2024-01-08T12:28:04Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54866->[::1]:53: read: connection refused" + time="2024-01-08T12:28:04Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54866->[::1]:53: read: connection refused" + time="2024-01-08T12:28:04Z" level=debug msg="Handle update error state" + time="2024-01-08T12:28:04Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:28:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 33 (*app.updateErrorState) - time="2024-01-08T11:59:18Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:59:18Z" level=info msg="Handling loaded state: update-error" - time="2024-01-08T11:59:18Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:18Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-08T11:59:18Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:18Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:18Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50844->[::1]:53: read: connection refused" - time="2024-01-08T11:59:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50844->[::1]:53: read: connection refused" - time="2024-01-08T11:59:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41475->[::1]:53: read: connection refused" - time="2024-01-08T11:59:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41475->[::1]:53: read: connection refused" - time="2024-01-08T11:59:18Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:18Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" + time="2024-01-08T12:28:05Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:28:05Z" level=info msg="Handling loaded state: update-error" + time="2024-01-08T12:28:05Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:28:05Z" level=error msg="Mender shut down in state: update-error" + time="2024-01-08T12:28:05Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2024-01-08T12:28:05Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:28:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:05Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47958->[::1]:53: read: connection refused" + time="2024-01-08T12:28:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47958->[::1]:53: read: connection refused" + time="2024-01-08T12:28:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44875->[::1]:53: read: connection refused" + time="2024-01-08T12:28:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44875->[::1]:53: read: connection refused" + time="2024-01-08T12:28:05Z" level=debug msg="Handle update error state" + time="2024-01-08T12:28:05Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:28:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 34 (*app.updateErrorState) - time="2024-01-08T11:59:18Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:59:18Z" level=info msg="Handling loaded state: update-error" - time="2024-01-08T11:59:18Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:18Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-08T11:59:18Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:18Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:18Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56085->[::1]:53: read: connection refused" - time="2024-01-08T11:59:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56085->[::1]:53: read: connection refused" - time="2024-01-08T11:59:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41291->[::1]:53: read: connection refused" - time="2024-01-08T11:59:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:41291->[::1]:53: read: connection refused" - time="2024-01-08T11:59:18Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:18Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" + time="2024-01-08T12:28:05Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:28:05Z" level=info msg="Handling loaded state: update-error" + time="2024-01-08T12:28:05Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:28:05Z" level=error msg="Mender shut down in state: update-error" + time="2024-01-08T12:28:05Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2024-01-08T12:28:05Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:28:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:05Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57883->[::1]:53: read: connection refused" + time="2024-01-08T12:28:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57883->[::1]:53: read: connection refused" + time="2024-01-08T12:28:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54917->[::1]:53: read: connection refused" + time="2024-01-08T12:28:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54917->[::1]:53: read: connection refused" + time="2024-01-08T12:28:05Z" level=debug msg="Handle update error state" + time="2024-01-08T12:28:05Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:28:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 35 (*app.updateErrorState) - time="2024-01-08T11:59:18Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:59:18Z" level=info msg="Handling loaded state: update-error" - time="2024-01-08T11:59:18Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:18Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-08T11:59:18Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:18Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:18Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47666->[::1]:53: read: connection refused" - time="2024-01-08T11:59:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47666->[::1]:53: read: connection refused" - time="2024-01-08T11:59:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58324->[::1]:53: read: connection refused" - time="2024-01-08T11:59:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58324->[::1]:53: read: connection refused" - time="2024-01-08T11:59:18Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:18Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" + time="2024-01-08T12:28:05Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:28:05Z" level=info msg="Handling loaded state: update-error" + time="2024-01-08T12:28:05Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:28:05Z" level=error msg="Mender shut down in state: update-error" + time="2024-01-08T12:28:05Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2024-01-08T12:28:05Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:28:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:05Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55072->[::1]:53: read: connection refused" + time="2024-01-08T12:28:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55072->[::1]:53: read: connection refused" + time="2024-01-08T12:28:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51804->[::1]:53: read: connection refused" + time="2024-01-08T12:28:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51804->[::1]:53: read: connection refused" + time="2024-01-08T12:28:05Z" level=debug msg="Handle update error state" + time="2024-01-08T12:28:05Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:28:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 36 (*app.updateErrorState) - time="2024-01-08T11:59:18Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:59:18Z" level=info msg="Handling loaded state: update-error" - time="2024-01-08T11:59:18Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:18Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-08T11:59:18Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:18Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:18Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34476->[::1]:53: read: connection refused" - time="2024-01-08T11:59:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34476->[::1]:53: read: connection refused" - time="2024-01-08T11:59:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39029->[::1]:53: read: connection refused" - time="2024-01-08T11:59:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39029->[::1]:53: read: connection refused" - time="2024-01-08T11:59:18Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:18Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" + time="2024-01-08T12:28:05Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:28:05Z" level=info msg="Handling loaded state: update-error" + time="2024-01-08T12:28:05Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:28:05Z" level=error msg="Mender shut down in state: update-error" + time="2024-01-08T12:28:05Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2024-01-08T12:28:05Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:28:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:05Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38338->[::1]:53: read: connection refused" + time="2024-01-08T12:28:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38338->[::1]:53: read: connection refused" + time="2024-01-08T12:28:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49859->[::1]:53: read: connection refused" + time="2024-01-08T12:28:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49859->[::1]:53: read: connection refused" + time="2024-01-08T12:28:05Z" level=debug msg="Handle update error state" + time="2024-01-08T12:28:05Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:28:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 37 (*app.updateErrorState) - time="2024-01-08T11:59:18Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:59:18Z" level=info msg="Handling loaded state: update-error" - time="2024-01-08T11:59:18Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:18Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-08T11:59:18Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:18Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:18Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50788->[::1]:53: read: connection refused" - time="2024-01-08T11:59:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50788->[::1]:53: read: connection refused" - time="2024-01-08T11:59:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57698->[::1]:53: read: connection refused" - time="2024-01-08T11:59:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:57698->[::1]:53: read: connection refused" - time="2024-01-08T11:59:18Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:18Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" + time="2024-01-08T12:28:05Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:28:05Z" level=info msg="Handling loaded state: update-error" + time="2024-01-08T12:28:05Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:28:05Z" level=error msg="Mender shut down in state: update-error" + time="2024-01-08T12:28:05Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2024-01-08T12:28:05Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:28:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:05Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47212->[::1]:53: read: connection refused" + time="2024-01-08T12:28:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47212->[::1]:53: read: connection refused" + time="2024-01-08T12:28:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55983->[::1]:53: read: connection refused" + time="2024-01-08T12:28:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55983->[::1]:53: read: connection refused" + time="2024-01-08T12:28:05Z" level=debug msg="Handle update error state" + time="2024-01-08T12:28:05Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:28:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 38 (*app.updateErrorState) - time="2024-01-08T11:59:18Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:59:18Z" level=info msg="Handling loaded state: update-error" - time="2024-01-08T11:59:18Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:18Z" level=error msg="Mender shut down in state: update-error" - time="2024-01-08T11:59:18Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:18Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:18Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53006->[::1]:53: read: connection refused" - time="2024-01-08T11:59:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53006->[::1]:53: read: connection refused" - time="2024-01-08T11:59:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60842->[::1]:53: read: connection refused" - time="2024-01-08T11:59:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60842->[::1]:53: read: connection refused" - time="2024-01-08T11:59:18Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:18Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules062716395/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules062716395/work/payloads/0000/tree" + time="2024-01-08T12:28:05Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:28:05Z" level=info msg="Handling loaded state: update-error" + time="2024-01-08T12:28:05Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:28:05Z" level=error msg="Mender shut down in state: update-error" + time="2024-01-08T12:28:05Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" + time="2024-01-08T12:28:05Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:28:05Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:05Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34173->[::1]:53: read: connection refused" + time="2024-01-08T12:28:05Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34173->[::1]:53: read: connection refused" + time="2024-01-08T12:28:05Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53062->[::1]:53: read: connection refused" + time="2024-01-08T12:28:05Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53062->[::1]:53: read: connection refused" + time="2024-01-08T12:28:05Z" level=debug msg="Handle update error state" + time="2024-01-08T12:28:05Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:28:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157213512/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules157213512/work/payloads/0000/tree" state_test.go:4745: Killed as expected state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules state_test.go:4852: Resuming from state index 39 (*app.updateStatusReportState) - time="2024-01-08T11:59:19Z" level=info msg="State transition: init [none] -> init [none]" - time="2024-01-08T11:59:19Z" level=info msg="Handling loaded state: update-error" - time="2024-01-08T11:59:19Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:19Z" level=error msg="State transition loop detected in state update-error: Forcefully aborting update. The system is likely to be in an inconsistent state after this." - time="2024-01-08T11:59:19Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" - time="2024-01-08T11:59:19Z" level=info msg="State transition: init [none] -> update-status-report [none]" - time="2024-01-08T11:59:19Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:59:19Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:59:19Z" level=debug msg="Reporting complete" - time="2024-01-08T11:59:19Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." - --- PASS: TestStateTransitionsWithUpdateModules (0.01s) + time="2024-01-08T12:28:05Z" level=info msg="State transition: init [none] -> init [none]" + time="2024-01-08T12:28:05Z" level=info msg="Handling loaded state: update-error" + time="2024-01-08T12:28:05Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:28:05Z" level=error msg="State transition loop detected in state update-error: Forcefully aborting update. The system is likely to be in an inconsistent state after this." + time="2024-01-08T12:28:05Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" + time="2024-01-08T12:28:05Z" level=info msg="State transition: init [none] -> update-status-report [none]" + time="2024-01-08T12:28:05Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:28:05Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:28:05Z" level=debug msg="Reporting complete" + time="2024-01-08T12:28:05Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." + --- PASS: TestStateTransitionsWithUpdateModules (0.00s) PASS === RUN TestStateTransitionsWithUpdateModules/Hang_in_Download_state state_test.go:4717: Hang in Download state state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:59:19Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:59:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:19Z" level=debug msg="Handle update check state" - time="2024-01-08T11:59:19Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:59:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:19Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:19Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:59:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51531->[::1]:53: read: connection refused" - time="2024-01-08T11:59:19Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51531->[::1]:53: read: connection refused" - time="2024-01-08T11:59:19Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60957->[::1]:53: read: connection refused" - time="2024-01-08T11:59:19Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60957->[::1]:53: read: connection refused" - time="2024-01-08T11:59:19Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:19Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:59:19Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:59:19Z" level=debug msg="Handling update install state" - time="2024-01-08T11:59:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules152868528/device_type" - time="2024-01-08T11:59:19Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:59:19Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:59:19Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:59:19Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:59:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:59:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:59:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:59:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:59:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:59:19Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:59:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:59:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:59:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:59:19Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:59:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:59:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:19Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:59:19Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:59:19Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:59:19Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:59:19Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:59:19Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules152868528/artifact_info file." - time="2024-01-08T11:59:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules152868528/artifact_info" - time="2024-01-08T11:59:19Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:19Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:59:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules152868528/artifact_info" - time="2024-01-08T11:59:19Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:19Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules152868528/device_type" - time="2024-01-08T11:59:19Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:59:19Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:59:19Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:59:19Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:59:19Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules152868528/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules152868528/work/payloads/0000/tree" - time="2024-01-08T11:59:19Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:59:24Z" level=error msg="Process 5452 timed out. Sending SIGTERM" - time="2024-01-08T11:59:24Z" level=error msg="Artifact install failed: Update module terminated abnormally: signal: terminated" - time="2024-01-08T11:59:24Z" level=info msg="State transition: update-store [Download_Enter] -> cleanup [Error]" - time="2024-01-08T11:59:24Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:24Z" level=debug msg="Executing script: Download_Error_00" - time="2024-01-08T11:59:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:24Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:59:24Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:59:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules152868528/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules152868528/work/payloads/0000/tree" - time="2024-01-08T11:59:24Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:59:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:24Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:59:24Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:59:24Z" level=debug msg="Reporting complete" - time="2024-01-08T11:59:24Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules152868528/artifact_info file." - time="2024-01-08T11:59:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules152868528/artifact_info" - time="2024-01-08T11:59:24Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:24Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (5.30s) + time="2024-01-08T12:28:06Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:28:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:06Z" level=debug msg="Handle update check state" + time="2024-01-08T12:28:06Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:28:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:06Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:06Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:28:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40293->[::1]:53: read: connection refused" + time="2024-01-08T12:28:06Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40293->[::1]:53: read: connection refused" + time="2024-01-08T12:28:06Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46505->[::1]:53: read: connection refused" + time="2024-01-08T12:28:06Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46505->[::1]:53: read: connection refused" + time="2024-01-08T12:28:06Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:28:06Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:28:06Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:28:06Z" level=debug msg="Handling update install state" + time="2024-01-08T12:28:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules583241169/device_type" + time="2024-01-08T12:28:06Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:28:06Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:28:06Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:28:06Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:28:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:28:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:28:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:28:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:28:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:28:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:28:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:28:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:28:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:28:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:28:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:06Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:28:06Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:28:06Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:28:06Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:28:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:28:06Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:28:06Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:28:06Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:28:06Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules583241169/artifact_info file." + time="2024-01-08T12:28:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules583241169/artifact_info" + time="2024-01-08T12:28:06Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:28:06Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:28:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules583241169/artifact_info" + time="2024-01-08T12:28:06Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:28:06Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules583241169/device_type" + time="2024-01-08T12:28:06Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:28:06Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:28:06Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:28:06Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:28:06Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules583241169/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules583241169/work/payloads/0000/tree" + time="2024-01-08T12:28:06Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:28:11Z" level=error msg="Process 32053 timed out. Sending SIGTERM" + time="2024-01-08T12:28:11Z" level=error msg="Artifact install failed: Update module terminated abnormally: signal: terminated" + time="2024-01-08T12:28:11Z" level=info msg="State transition: update-store [Download_Enter] -> cleanup [Error]" + time="2024-01-08T12:28:11Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:28:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:11Z" level=debug msg="Executing script: Download_Error_00" + time="2024-01-08T12:28:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:11Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:28:11Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:28:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules583241169/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules583241169/work/payloads/0000/tree" + time="2024-01-08T12:28:11Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:28:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:11Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:28:11Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:28:11Z" level=debug msg="Reporting complete" + time="2024-01-08T12:28:11Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules583241169/artifact_info file." + time="2024-01-08T12:28:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules583241169/artifact_info" + time="2024-01-08T12:28:11Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:28:11Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (5.39s) PASS === RUN TestStateTransitionsWithUpdateModules/Hang_in_ArtifactInstall state_test.go:4717: Hang in ArtifactInstall state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:59:24Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:59:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:24Z" level=debug msg="Handle update check state" - time="2024-01-08T11:59:24Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:59:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:24Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:59:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45588->[::1]:53: read: connection refused" - time="2024-01-08T11:59:24Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45588->[::1]:53: read: connection refused" - time="2024-01-08T11:59:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55192->[::1]:53: read: connection refused" - time="2024-01-08T11:59:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55192->[::1]:53: read: connection refused" - time="2024-01-08T11:59:24Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:24Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:59:24Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:59:24Z" level=debug msg="Handling update install state" - time="2024-01-08T11:59:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules782333273/device_type" - time="2024-01-08T11:59:24Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:59:24Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:59:24Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:59:24Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:59:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:59:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:59:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:59:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:59:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:59:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:59:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:59:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:24Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:59:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:59:24Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:59:24Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:59:24Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:59:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:59:24Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:59:24Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:59:24Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:59:24Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules782333273/artifact_info file." - time="2024-01-08T11:59:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules782333273/artifact_info" - time="2024-01-08T11:59:24Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:24Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:59:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules782333273/artifact_info" - time="2024-01-08T11:59:24Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:24Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules782333273/device_type" - time="2024-01-08T11:59:24Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:59:24Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:59:25Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:59:25Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:59:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules782333273/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules782333273/work/payloads/0000/tree" - time="2024-01-08T11:59:25Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:59:25Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:59:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules782333273/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules782333273/work/payloads/0000/tree" - time="2024-01-08T11:59:25Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:59:25Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:59:25Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:59:25Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:59:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:25Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:59:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49878->[::1]:53: read: connection refused" - time="2024-01-08T11:59:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49878->[::1]:53: read: connection refused" - time="2024-01-08T11:59:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35848->[::1]:53: read: connection refused" - time="2024-01-08T11:59:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35848->[::1]:53: read: connection refused" - time="2024-01-08T11:59:25Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:25Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:59:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39521->[::1]:53: read: connection refused" - time="2024-01-08T11:59:25Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39521->[::1]:53: read: connection refused" - time="2024-01-08T11:59:25Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54273->[::1]:53: read: connection refused" - time="2024-01-08T11:59:25Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54273->[::1]:53: read: connection refused" - time="2024-01-08T11:59:25Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:59:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules782333273/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules782333273/work/payloads/0000/tree" - time="2024-01-08T11:59:30Z" level=error msg="Process 6157 timed out. Sending SIGTERM" - time="2024-01-08T11:59:30Z" level=error msg="Update module terminated abnormally: signal: terminated" - time="2024-01-08T11:59:30Z" level=error msg="transient error: Update module terminated abnormally: signal: terminated" - time="2024-01-08T11:59:30Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" - time="2024-01-08T11:59:30Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:30Z" level=debug msg="Executing script: ArtifactInstall_Error_00" - time="2024-01-08T11:59:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37877->[::1]:53: read: connection refused" - time="2024-01-08T11:59:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37877->[::1]:53: read: connection refused" - time="2024-01-08T11:59:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59753->[::1]:53: read: connection refused" - time="2024-01-08T11:59:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59753->[::1]:53: read: connection refused" - time="2024-01-08T11:59:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:30Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:59:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39572->[::1]:53: read: connection refused" - time="2024-01-08T11:59:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39572->[::1]:53: read: connection refused" - time="2024-01-08T11:59:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48029->[::1]:53: read: connection refused" - time="2024-01-08T11:59:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48029->[::1]:53: read: connection refused" - time="2024-01-08T11:59:30Z" level=info msg="Performing rollback" - time="2024-01-08T11:59:30Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:59:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules782333273/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules782333273/work/payloads/0000/tree" - time="2024-01-08T11:59:30Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:30Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:59:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38973->[::1]:53: read: connection refused" - time="2024-01-08T11:59:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38973->[::1]:53: read: connection refused" - time="2024-01-08T11:59:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35689->[::1]:53: read: connection refused" - time="2024-01-08T11:59:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35689->[::1]:53: read: connection refused" - time="2024-01-08T11:59:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:30Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40314->[::1]:53: read: connection refused" - time="2024-01-08T11:59:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40314->[::1]:53: read: connection refused" - time="2024-01-08T11:59:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36538->[::1]:53: read: connection refused" - time="2024-01-08T11:59:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36538->[::1]:53: read: connection refused" - time="2024-01-08T11:59:30Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:30Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules782333273/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules782333273/work/payloads/0000/tree" - time="2024-01-08T11:59:30Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:59:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:30Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:59:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:30Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:59:30Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:59:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules782333273/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules782333273/work/payloads/0000/tree" - time="2024-01-08T11:59:30Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:59:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:30Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:59:30Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:59:30Z" level=debug msg="Reporting complete" - time="2024-01-08T11:59:30Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules782333273/artifact_info file." - time="2024-01-08T11:59:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules782333273/artifact_info" - time="2024-01-08T11:59:30Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:30Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (5.57s) + time="2024-01-08T12:28:11Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:28:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:11Z" level=debug msg="Handle update check state" + time="2024-01-08T12:28:11Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:28:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:11Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:28:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40193->[::1]:53: read: connection refused" + time="2024-01-08T12:28:11Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40193->[::1]:53: read: connection refused" + time="2024-01-08T12:28:11Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33851->[::1]:53: read: connection refused" + time="2024-01-08T12:28:11Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33851->[::1]:53: read: connection refused" + time="2024-01-08T12:28:11Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:28:11Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:28:11Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:28:11Z" level=debug msg="Handling update install state" + time="2024-01-08T12:28:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules472019854/device_type" + time="2024-01-08T12:28:11Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:28:11Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:28:11Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:28:11Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:28:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:28:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:28:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:28:11Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:28:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:28:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:28:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:28:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:28:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:28:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:28:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:28:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:28:11Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:28:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:11Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:28:11Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:28:11Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:28:11Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:28:11Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:28:11Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules472019854/artifact_info file." + time="2024-01-08T12:28:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules472019854/artifact_info" + time="2024-01-08T12:28:11Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:28:11Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:28:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules472019854/artifact_info" + time="2024-01-08T12:28:11Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:28:11Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules472019854/device_type" + time="2024-01-08T12:28:11Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:28:11Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:28:11Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:28:11Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:28:11Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules472019854/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules472019854/work/payloads/0000/tree" + time="2024-01-08T12:28:11Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:28:12Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:28:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules472019854/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules472019854/work/payloads/0000/tree" + time="2024-01-08T12:28:12Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:28:12Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:28:12Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:28:12Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:28:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:12Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:28:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37630->[::1]:53: read: connection refused" + time="2024-01-08T12:28:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37630->[::1]:53: read: connection refused" + time="2024-01-08T12:28:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34887->[::1]:53: read: connection refused" + time="2024-01-08T12:28:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34887->[::1]:53: read: connection refused" + time="2024-01-08T12:28:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:12Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:28:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48118->[::1]:53: read: connection refused" + time="2024-01-08T12:28:12Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48118->[::1]:53: read: connection refused" + time="2024-01-08T12:28:12Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46508->[::1]:53: read: connection refused" + time="2024-01-08T12:28:12Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46508->[::1]:53: read: connection refused" + time="2024-01-08T12:28:12Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:28:12Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules472019854/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules472019854/work/payloads/0000/tree" + time="2024-01-08T12:28:17Z" level=error msg="Process 32085 timed out. Sending SIGTERM" + time="2024-01-08T12:28:17Z" level=error msg="Update module terminated abnormally: signal: terminated" + time="2024-01-08T12:28:17Z" level=error msg="transient error: Update module terminated abnormally: signal: terminated" + time="2024-01-08T12:28:17Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" + time="2024-01-08T12:28:17Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:28:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:17Z" level=debug msg="Executing script: ArtifactInstall_Error_00" + time="2024-01-08T12:28:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36947->[::1]:53: read: connection refused" + time="2024-01-08T12:28:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36947->[::1]:53: read: connection refused" + time="2024-01-08T12:28:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38223->[::1]:53: read: connection refused" + time="2024-01-08T12:28:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38223->[::1]:53: read: connection refused" + time="2024-01-08T12:28:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:17Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:28:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56608->[::1]:53: read: connection refused" + time="2024-01-08T12:28:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56608->[::1]:53: read: connection refused" + time="2024-01-08T12:28:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37642->[::1]:53: read: connection refused" + time="2024-01-08T12:28:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37642->[::1]:53: read: connection refused" + time="2024-01-08T12:28:17Z" level=info msg="Performing rollback" + time="2024-01-08T12:28:17Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:28:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules472019854/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules472019854/work/payloads/0000/tree" + time="2024-01-08T12:28:17Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" + time="2024-01-08T12:28:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:17Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:28:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47101->[::1]:53: read: connection refused" + time="2024-01-08T12:28:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47101->[::1]:53: read: connection refused" + time="2024-01-08T12:28:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53311->[::1]:53: read: connection refused" + time="2024-01-08T12:28:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53311->[::1]:53: read: connection refused" + time="2024-01-08T12:28:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:17Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36661->[::1]:53: read: connection refused" + time="2024-01-08T12:28:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36661->[::1]:53: read: connection refused" + time="2024-01-08T12:28:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35732->[::1]:53: read: connection refused" + time="2024-01-08T12:28:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35732->[::1]:53: read: connection refused" + time="2024-01-08T12:28:17Z" level=debug msg="Handle update error state" + time="2024-01-08T12:28:17Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:28:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules472019854/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules472019854/work/payloads/0000/tree" + time="2024-01-08T12:28:17Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:28:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:17Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:28:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:17Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:28:17Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:28:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules472019854/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules472019854/work/payloads/0000/tree" + time="2024-01-08T12:28:17Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:28:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:17Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:28:17Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:28:17Z" level=debug msg="Reporting complete" + time="2024-01-08T12:28:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules472019854/artifact_info file." + time="2024-01-08T12:28:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules472019854/artifact_info" + time="2024-01-08T12:28:17Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:28:17Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (5.72s) PASS === RUN TestStateTransitionsWithUpdateModules/Temporary_failure_in_report_sending_after_reboot state_test.go:4717: Temporary failure in report sending after reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:59:30Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:59:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:30Z" level=debug msg="Handle update check state" - time="2024-01-08T11:59:30Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:59:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:30Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:59:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51335->[::1]:53: read: connection refused" - time="2024-01-08T11:59:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51335->[::1]:53: read: connection refused" - time="2024-01-08T11:59:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48676->[::1]:53: read: connection refused" - time="2024-01-08T11:59:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48676->[::1]:53: read: connection refused" - time="2024-01-08T11:59:30Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:30Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:59:30Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:59:30Z" level=debug msg="Handling update install state" - time="2024-01-08T11:59:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules528080822/device_type" - time="2024-01-08T11:59:30Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:59:30Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:59:30Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:59:30Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:59:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:59:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:59:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:59:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:59:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:59:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:59:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:59:30Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:59:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:59:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:59:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:59:30Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:59:30Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:59:30Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:30Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:59:30Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:59:30Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:59:30Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules528080822/artifact_info file." - time="2024-01-08T11:59:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules528080822/artifact_info" - time="2024-01-08T11:59:30Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:30Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:59:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules528080822/artifact_info" - time="2024-01-08T11:59:30Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:30Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules528080822/device_type" - time="2024-01-08T11:59:30Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:59:30Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:59:30Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:59:30Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:59:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules528080822/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules528080822/work/payloads/0000/tree" - time="2024-01-08T11:59:30Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:59:30Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:59:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules528080822/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules528080822/work/payloads/0000/tree" - time="2024-01-08T11:59:30Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:59:30Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:59:30Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:59:30Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:59:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:30Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:59:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56662->[::1]:53: read: connection refused" - time="2024-01-08T11:59:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56662->[::1]:53: read: connection refused" - time="2024-01-08T11:59:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37956->[::1]:53: read: connection refused" - time="2024-01-08T11:59:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:37956->[::1]:53: read: connection refused" - time="2024-01-08T11:59:30Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:30Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:59:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40014->[::1]:53: read: connection refused" - time="2024-01-08T11:59:30Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40014->[::1]:53: read: connection refused" - time="2024-01-08T11:59:30Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47253->[::1]:53: read: connection refused" - time="2024-01-08T11:59:30Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47253->[::1]:53: read: connection refused" - time="2024-01-08T11:59:30Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:59:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules528080822/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules528080822/work/payloads/0000/tree" - time="2024-01-08T11:59:30Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:59:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules528080822/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules528080822/work/payloads/0000/tree" - time="2024-01-08T11:59:31Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:59:31Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:59:31Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:59:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:31Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:59:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38874->[::1]:53: read: connection refused" - time="2024-01-08T11:59:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38874->[::1]:53: read: connection refused" - time="2024-01-08T11:59:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45962->[::1]:53: read: connection refused" - time="2024-01-08T11:59:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45962->[::1]:53: read: connection refused" - time="2024-01-08T11:59:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:31Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:59:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43370->[::1]:53: read: connection refused" - time="2024-01-08T11:59:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43370->[::1]:53: read: connection refused" - time="2024-01-08T11:59:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60998->[::1]:53: read: connection refused" - time="2024-01-08T11:59:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60998->[::1]:53: read: connection refused" - time="2024-01-08T11:59:31Z" level=debug msg="Handling reboot state" - time="2024-01-08T11:59:31Z" level=info msg="Rebooting device(s)" - time="2024-01-08T11:59:31Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-08T11:59:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules528080822/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules528080822/work/payloads/0000/tree" - time="2024-01-08T11:59:31Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:59:31Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-08T11:59:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules528080822/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules528080822/work/payloads/0000/tree" - time="2024-01-08T11:59:31Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:59:31Z" level=debug msg="Handling state after reboot" - time="2024-01-08T11:59:31Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-08T11:59:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:31Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:59:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58793->[::1]:53: read: connection refused" - time="2024-01-08T11:59:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58793->[::1]:53: read: connection refused" - time="2024-01-08T11:59:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58388->[::1]:53: read: connection refused" - time="2024-01-08T11:59:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58388->[::1]:53: read: connection refused" - time="2024-01-08T11:59:31Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:31Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:59:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40830->[::1]:53: read: connection refused" - time="2024-01-08T11:59:31Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40830->[::1]:53: read: connection refused" - time="2024-01-08T11:59:31Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50969->[::1]:53: read: connection refused" - time="2024-01-08T11:59:31Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50969->[::1]:53: read: connection refused" - time="2024-01-08T11:59:31Z" level=debug msg="Handle update commit state" - time="2024-01-08T11:59:31Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" - time="2024-01-08T11:59:31Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" - time="2024-01-08T11:59:36Z" level=debug msg="Wait complete" - time="2024-01-08T11:59:36Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-08T11:59:36Z" level=debug msg="Handle update commit state" - time="2024-01-08T11:59:36Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" - time="2024-01-08T11:59:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules528080822/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules528080822/work/payloads/0000/tree" - time="2024-01-08T11:59:36Z" level=debug msg="Committing new artifact name: artifact-name" - time="2024-01-08T11:59:36Z" level=debug msg="Committing new artifact group name: " - time="2024-01-08T11:59:36Z" level=debug msg="Committing new artifact type-info provides" - time="2024-01-08T11:59:36Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" - time="2024-01-08T11:59:36Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" - time="2024-01-08T11:59:36Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" - time="2024-01-08T11:59:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:36Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:59:36Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:59:36Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:59:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules528080822/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules528080822/work/payloads/0000/tree" - time="2024-01-08T11:59:36Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" - time="2024-01-08T11:59:36Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:59:36Z" level=debug msg="Reporting complete" - time="2024-01-08T11:59:36Z" level=debug msg="Returning artifact name artifact-name from database." - --- PASS: TestStateTransitionsWithUpdateModules (5.68s) + time="2024-01-08T12:28:17Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:28:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:17Z" level=debug msg="Handle update check state" + time="2024-01-08T12:28:17Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:28:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:17Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:28:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34933->[::1]:53: read: connection refused" + time="2024-01-08T12:28:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34933->[::1]:53: read: connection refused" + time="2024-01-08T12:28:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53441->[::1]:53: read: connection refused" + time="2024-01-08T12:28:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53441->[::1]:53: read: connection refused" + time="2024-01-08T12:28:17Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:28:17Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:28:17Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:28:17Z" level=debug msg="Handling update install state" + time="2024-01-08T12:28:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules872872079/device_type" + time="2024-01-08T12:28:17Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:28:17Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:28:17Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:28:17Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:28:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:28:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:28:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:28:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:28:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:28:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:28:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:28:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:28:17Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:28:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:17Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:28:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:28:17Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:28:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:28:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:28:17Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:28:17Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:28:17Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:28:17Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:28:17Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules872872079/artifact_info file." + time="2024-01-08T12:28:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules872872079/artifact_info" + time="2024-01-08T12:28:17Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:28:17Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:28:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules872872079/artifact_info" + time="2024-01-08T12:28:17Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:28:17Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules872872079/device_type" + time="2024-01-08T12:28:17Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:28:17Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:28:17Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:28:17Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:28:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules872872079/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules872872079/work/payloads/0000/tree" + time="2024-01-08T12:28:17Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:28:17Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:28:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules872872079/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules872872079/work/payloads/0000/tree" + time="2024-01-08T12:28:17Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:28:17Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:28:17Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:28:17Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:28:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:17Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:28:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49877->[::1]:53: read: connection refused" + time="2024-01-08T12:28:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49877->[::1]:53: read: connection refused" + time="2024-01-08T12:28:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58616->[::1]:53: read: connection refused" + time="2024-01-08T12:28:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58616->[::1]:53: read: connection refused" + time="2024-01-08T12:28:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:17Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:28:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43275->[::1]:53: read: connection refused" + time="2024-01-08T12:28:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43275->[::1]:53: read: connection refused" + time="2024-01-08T12:28:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58837->[::1]:53: read: connection refused" + time="2024-01-08T12:28:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58837->[::1]:53: read: connection refused" + time="2024-01-08T12:28:17Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:28:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules872872079/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules872872079/work/payloads/0000/tree" + time="2024-01-08T12:28:17Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:28:17Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules872872079/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules872872079/work/payloads/0000/tree" + time="2024-01-08T12:28:17Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:28:17Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:28:17Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:28:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:17Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:28:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45182->[::1]:53: read: connection refused" + time="2024-01-08T12:28:17Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45182->[::1]:53: read: connection refused" + time="2024-01-08T12:28:17Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51026->[::1]:53: read: connection refused" + time="2024-01-08T12:28:17Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51026->[::1]:53: read: connection refused" + time="2024-01-08T12:28:17Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:17Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:28:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59137->[::1]:53: read: connection refused" + time="2024-01-08T12:28:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59137->[::1]:53: read: connection refused" + time="2024-01-08T12:28:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42209->[::1]:53: read: connection refused" + time="2024-01-08T12:28:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42209->[::1]:53: read: connection refused" + time="2024-01-08T12:28:18Z" level=debug msg="Handling reboot state" + time="2024-01-08T12:28:18Z" level=info msg="Rebooting device(s)" + time="2024-01-08T12:28:18Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2024-01-08T12:28:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules872872079/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules872872079/work/payloads/0000/tree" + time="2024-01-08T12:28:18Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:28:18Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2024-01-08T12:28:18Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules872872079/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules872872079/work/payloads/0000/tree" + time="2024-01-08T12:28:18Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:28:18Z" level=debug msg="Handling state after reboot" + time="2024-01-08T12:28:18Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2024-01-08T12:28:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:18Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:28:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43558->[::1]:53: read: connection refused" + time="2024-01-08T12:28:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:43558->[::1]:53: read: connection refused" + time="2024-01-08T12:28:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51885->[::1]:53: read: connection refused" + time="2024-01-08T12:28:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51885->[::1]:53: read: connection refused" + time="2024-01-08T12:28:18Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:18Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:28:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45917->[::1]:53: read: connection refused" + time="2024-01-08T12:28:18Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45917->[::1]:53: read: connection refused" + time="2024-01-08T12:28:18Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39823->[::1]:53: read: connection refused" + time="2024-01-08T12:28:18Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39823->[::1]:53: read: connection refused" + time="2024-01-08T12:28:18Z" level=debug msg="Handle update commit state" + time="2024-01-08T12:28:18Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" + time="2024-01-08T12:28:18Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" + time="2024-01-08T12:28:23Z" level=debug msg="Wait complete" + time="2024-01-08T12:28:23Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" + time="2024-01-08T12:28:23Z" level=debug msg="Handle update commit state" + time="2024-01-08T12:28:23Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" + time="2024-01-08T12:28:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules872872079/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules872872079/work/payloads/0000/tree" + time="2024-01-08T12:28:23Z" level=debug msg="Committing new artifact name: artifact-name" + time="2024-01-08T12:28:23Z" level=debug msg="Committing new artifact group name: " + time="2024-01-08T12:28:23Z" level=debug msg="Committing new artifact type-info provides" + time="2024-01-08T12:28:23Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" + time="2024-01-08T12:28:23Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" + time="2024-01-08T12:28:23Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" + time="2024-01-08T12:28:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:23Z" level=debug msg="Executing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:28:23Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:28:23Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:28:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules872872079/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules872872079/work/payloads/0000/tree" + time="2024-01-08T12:28:23Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" + time="2024-01-08T12:28:23Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:28:23Z" level=debug msg="Reporting complete" + time="2024-01-08T12:28:23Z" level=debug msg="Returning artifact name artifact-name from database." + --- PASS: TestStateTransitionsWithUpdateModules (5.63s) PASS === RUN TestStateTransitionsWithUpdateModules/Permanent_failure_in_report_sending_after_reboot state_test.go:4717: Permanent failure in report sending after reboot state_test.go:4736: === RUN TestStateTransitionsWithUpdateModules - time="2024-01-08T11:59:36Z" level=info msg="State transition: init [none] -> update-check [Sync]" - time="2024-01-08T11:59:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:36Z" level=debug msg="Handle update check state" - time="2024-01-08T11:59:36Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" - time="2024-01-08T11:59:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:36Z" level=debug msg="Executing script: Download_Enter_00" - time="2024-01-08T11:59:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42097->[::1]:53: read: connection refused" - time="2024-01-08T11:59:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42097->[::1]:53: read: connection refused" - time="2024-01-08T11:59:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55263->[::1]:53: read: connection refused" - time="2024-01-08T11:59:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55263->[::1]:53: read: connection refused" - time="2024-01-08T11:59:36Z" level=info msg="Running Mender client version: unknown" - time="2024-01-08T11:59:36Z" level=debug msg="Handling update fetch state" - time="2024-01-08T11:59:36Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" - time="2024-01-08T11:59:36Z" level=debug msg="Handling update install state" - time="2024-01-08T11:59:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules377884119/device_type" - time="2024-01-08T11:59:36Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:59:36Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:59:36Z" level=info msg="No public key was provided for authenticating the artifact" - time="2024-01-08T11:59:36Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" - time="2024-01-08T11:59:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:59:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:59:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" - time="2024-01-08T11:59:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:59:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:59:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:59:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:59:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:59:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:59:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:36Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" - time="2024-01-08T11:59:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:36Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" - time="2024-01-08T11:59:36Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" - time="2024-01-08T11:59:36Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" - time="2024-01-08T11:59:36Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" - time="2024-01-08T11:59:36Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" - time="2024-01-08T11:59:36Z" level=debug msg="Executing ModuleInstaller.Initialize" - time="2024-01-08T11:59:36Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules377884119/artifact_info file." - time="2024-01-08T11:59:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules377884119/artifact_info" - time="2024-01-08T11:59:36Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:36Z" level=debug msg="Current manifest data: old_name" - time="2024-01-08T11:59:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules377884119/artifact_info" - time="2024-01-08T11:59:36Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:36Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules377884119/device_type" - time="2024-01-08T11:59:36Z" level=debug msg="device_type=test-device" - time="2024-01-08T11:59:36Z" level=debug msg="Current manifest data: test-device" - time="2024-01-08T11:59:36Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" - time="2024-01-08T11:59:36Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" - time="2024-01-08T11:59:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules377884119/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules377884119/work/payloads/0000/tree" - time="2024-01-08T11:59:36Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" - time="2024-01-08T11:59:36Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" - time="2024-01-08T11:59:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules377884119/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules377884119/work/payloads/0000/tree" - time="2024-01-08T11:59:36Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:59:36Z" level=debug msg="Module supports rollback" - time="2024-01-08T11:59:36Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" - time="2024-01-08T11:59:36Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" - time="2024-01-08T11:59:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:36Z" level=debug msg="Executing script: Download_Leave_00" - time="2024-01-08T11:59:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36253->[::1]:53: read: connection refused" - time="2024-01-08T11:59:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36253->[::1]:53: read: connection refused" - time="2024-01-08T11:59:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56787->[::1]:53: read: connection refused" - time="2024-01-08T11:59:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56787->[::1]:53: read: connection refused" - time="2024-01-08T11:59:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:36Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" - time="2024-01-08T11:59:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38740->[::1]:53: read: connection refused" - time="2024-01-08T11:59:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:38740->[::1]:53: read: connection refused" - time="2024-01-08T11:59:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39616->[::1]:53: read: connection refused" - time="2024-01-08T11:59:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39616->[::1]:53: read: connection refused" - time="2024-01-08T11:59:36Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" - time="2024-01-08T11:59:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules377884119/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules377884119/work/payloads/0000/tree" - time="2024-01-08T11:59:36Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" - time="2024-01-08T11:59:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules377884119/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules377884119/work/payloads/0000/tree" - time="2024-01-08T11:59:36Z" level=debug msg="Update module output: Yes" - time="2024-01-08T11:59:36Z" level=debug msg="Module needs custom reboot" - time="2024-01-08T11:59:36Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" - time="2024-01-08T11:59:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:36Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" - time="2024-01-08T11:59:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35633->[::1]:53: read: connection refused" - time="2024-01-08T11:59:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:35633->[::1]:53: read: connection refused" - time="2024-01-08T11:59:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58567->[::1]:53: read: connection refused" - time="2024-01-08T11:59:36Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:58567->[::1]:53: read: connection refused" - time="2024-01-08T11:59:36Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:36Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" - time="2024-01-08T11:59:36Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36909->[::1]:53: read: connection refused" - time="2024-01-08T11:59:36Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36909->[::1]:53: read: connection refused" - time="2024-01-08T11:59:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34074->[::1]:53: read: connection refused" - time="2024-01-08T11:59:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:34074->[::1]:53: read: connection refused" - time="2024-01-08T11:59:37Z" level=debug msg="Handling reboot state" - time="2024-01-08T11:59:37Z" level=info msg="Rebooting device(s)" - time="2024-01-08T11:59:37Z" level=debug msg="Executing ModuleInstaller.Reboot" - time="2024-01-08T11:59:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules377884119/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules377884119/work/payloads/0000/tree" - time="2024-01-08T11:59:37Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:59:37Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" - time="2024-01-08T11:59:37Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules377884119/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules377884119/work/payloads/0000/tree" - time="2024-01-08T11:59:37Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" - time="2024-01-08T11:59:37Z" level=debug msg="Handling state after reboot" - time="2024-01-08T11:59:37Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-08T11:59:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:37Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" - time="2024-01-08T11:59:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56259->[::1]:53: read: connection refused" - time="2024-01-08T11:59:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56259->[::1]:53: read: connection refused" - time="2024-01-08T11:59:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32904->[::1]:53: read: connection refused" - time="2024-01-08T11:59:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:32904->[::1]:53: read: connection refused" - time="2024-01-08T11:59:37Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:37Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" - time="2024-01-08T11:59:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46292->[::1]:53: read: connection refused" - time="2024-01-08T11:59:37Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46292->[::1]:53: read: connection refused" - time="2024-01-08T11:59:37Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47062->[::1]:53: read: connection refused" - time="2024-01-08T11:59:37Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47062->[::1]:53: read: connection refused" - time="2024-01-08T11:59:37Z" level=debug msg="Handle update commit state" - time="2024-01-08T11:59:37Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" - time="2024-01-08T11:59:37Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" - time="2024-01-08T11:59:42Z" level=debug msg="Wait complete" - time="2024-01-08T11:59:42Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-08T11:59:42Z" level=debug msg="Handle update commit state" - time="2024-01-08T11:59:42Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" - time="2024-01-08T11:59:42Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" - time="2024-01-08T11:59:47Z" level=debug msg="Wait complete" - time="2024-01-08T11:59:47Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-08T11:59:47Z" level=debug msg="Handle update commit state" - time="2024-01-08T11:59:47Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" - time="2024-01-08T11:59:47Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" - time="2024-01-08T11:59:52Z" level=debug msg="Wait complete" - time="2024-01-08T11:59:52Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" - time="2024-01-08T11:59:52Z" level=debug msg="Handle update commit state" - time="2024-01-08T11:59:52Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" - time="2024-01-08T11:59:52Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" - time="2024-01-08T11:59:52Z" level=error msg="transient error: Tried sending status report maximum number of times." - time="2024-01-08T11:59:52Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" - time="2024-01-08T11:59:52Z" level=debug msg="Transitioning to error state" - time="2024-01-08T11:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:52Z" level=debug msg="Executing script: ArtifactCommit_Error_00" - time="2024-01-08T11:59:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33038->[::1]:53: read: connection refused" - time="2024-01-08T11:59:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33038->[::1]:53: read: connection refused" - time="2024-01-08T11:59:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48421->[::1]:53: read: connection refused" - time="2024-01-08T11:59:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48421->[::1]:53: read: connection refused" - time="2024-01-08T11:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:52Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" - time="2024-01-08T11:59:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47522->[::1]:53: read: connection refused" - time="2024-01-08T11:59:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47522->[::1]:53: read: connection refused" - time="2024-01-08T11:59:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51826->[::1]:53: read: connection refused" - time="2024-01-08T11:59:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51826->[::1]:53: read: connection refused" - time="2024-01-08T11:59:52Z" level=info msg="Performing rollback" - time="2024-01-08T11:59:52Z" level=debug msg="Executing ModuleInstaller.Rollback" - time="2024-01-08T11:59:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules377884119/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules377884119/work/payloads/0000/tree" - time="2024-01-08T11:59:52Z" level=debug msg="Will try to rollback reboot the device" - time="2024-01-08T11:59:52Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" - time="2024-01-08T11:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:52Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" - time="2024-01-08T11:59:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50686->[::1]:53: read: connection refused" - time="2024-01-08T11:59:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50686->[::1]:53: read: connection refused" - time="2024-01-08T11:59:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59411->[::1]:53: read: connection refused" - time="2024-01-08T11:59:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:59411->[::1]:53: read: connection refused" - time="2024-01-08T11:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:52Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" - time="2024-01-08T11:59:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51708->[::1]:53: read: connection refused" - time="2024-01-08T11:59:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51708->[::1]:53: read: connection refused" - time="2024-01-08T11:59:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60449->[::1]:53: read: connection refused" - time="2024-01-08T11:59:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60449->[::1]:53: read: connection refused" - time="2024-01-08T11:59:52Z" level=info msg="Rebooting device(s) after rollback" - time="2024-01-08T11:59:52Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" - time="2024-01-08T11:59:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules377884119/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules377884119/work/payloads/0000/tree" - time="2024-01-08T11:59:52Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:52Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" - time="2024-01-08T11:59:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules377884119/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules377884119/work/payloads/0000/tree" - time="2024-01-08T11:59:52Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" - time="2024-01-08T11:59:52Z" level=debug msg="Handling state after rollback reboot" - time="2024-01-08T11:59:52Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" - time="2024-01-08T11:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:52Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" - time="2024-01-08T11:59:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45491->[::1]:53: read: connection refused" - time="2024-01-08T11:59:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45491->[::1]:53: read: connection refused" - time="2024-01-08T11:59:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51221->[::1]:53: read: connection refused" - time="2024-01-08T11:59:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:51221->[::1]:53: read: connection refused" - time="2024-01-08T11:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:52Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" - time="2024-01-08T11:59:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49522->[::1]:53: read: connection refused" - time="2024-01-08T11:59:52Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49522->[::1]:53: read: connection refused" - time="2024-01-08T11:59:52Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56258->[::1]:53: read: connection refused" - time="2024-01-08T11:59:52Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56258->[::1]:53: read: connection refused" - time="2024-01-08T11:59:52Z" level=debug msg="Handle update error state" - time="2024-01-08T11:59:52Z" level=debug msg="Executing ModuleInstaller.Failure" - time="2024-01-08T11:59:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules377884119/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules377884119/work/payloads/0000/tree" - time="2024-01-08T11:59:52Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" - time="2024-01-08T11:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:52Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" - time="2024-01-08T11:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:52Z" level=debug msg="Handling Cleanup state" - time="2024-01-08T11:59:52Z" level=debug msg="Executing ModuleInstaller.Cleanup" - time="2024-01-08T11:59:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules377884119/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules377884119/work/payloads/0000/tree" - time="2024-01-08T11:59:52Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" - time="2024-01-08T11:59:52Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" - time="2024-01-08T11:59:52Z" level=debug msg="Handling update status report state" - time="2024-01-08T11:59:52Z" level=debug msg="Attempting to upload deployment logs for failed update" - time="2024-01-08T11:59:52Z" level=debug msg="Reporting complete" - time="2024-01-08T11:59:52Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules377884119/artifact_info file." - time="2024-01-08T11:59:52Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules377884119/artifact_info" - time="2024-01-08T11:59:52Z" level=debug msg="artifact_name=old_name" - time="2024-01-08T11:59:52Z" level=debug msg="Current manifest data: old_name" - --- PASS: TestStateTransitionsWithUpdateModules (15.97s) + time="2024-01-08T12:28:23Z" level=info msg="State transition: init [none] -> update-check [Sync]" + time="2024-01-08T12:28:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:23Z" level=debug msg="Handle update check state" + time="2024-01-08T12:28:23Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" + time="2024-01-08T12:28:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:23Z" level=debug msg="Executing script: Download_Enter_00" + time="2024-01-08T12:28:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39157->[::1]:53: read: connection refused" + time="2024-01-08T12:28:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39157->[::1]:53: read: connection refused" + time="2024-01-08T12:28:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45614->[::1]:53: read: connection refused" + time="2024-01-08T12:28:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:45614->[::1]:53: read: connection refused" + time="2024-01-08T12:28:23Z" level=info msg="Running Mender client version: unknown" + time="2024-01-08T12:28:23Z" level=debug msg="Handling update fetch state" + time="2024-01-08T12:28:23Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" + time="2024-01-08T12:28:23Z" level=debug msg="Handling update install state" + time="2024-01-08T12:28:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules105573924/device_type" + time="2024-01-08T12:28:23Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:28:23Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:28:23Z" level=info msg="No public key was provided for authenticating the artifact" + time="2024-01-08T12:28:23Z" level=debug msg="Checking if device [test-device] is on compatible device list: [test-device]\n" + time="2024-01-08T12:28:23Z" level=debug msg="Installer: Processing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:28:23Z" level=debug msg="Installer: Processing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:28:23Z" level=debug msg="Installer: Processing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:28:23Z" level=debug msg="Installer: Processing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:28:23Z" level=debug msg="Installer: Processing script: ArtifactCommit_Error_00" + time="2024-01-08T12:28:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Error_00" + time="2024-01-08T12:28:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Error_00" + time="2024-01-08T12:28:23Z" level=debug msg="Installer: Processing script: ArtifactFailure_Error_00" + time="2024-01-08T12:28:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Error_00" + time="2024-01-08T12:28:23Z" level=debug msg="Installer: Processing script: ArtifactReboot_Error_00" + time="2024-01-08T12:28:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:28:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:28:23Z" level=debug msg="Installer: Processing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:28:23Z" level=debug msg="Installer: Processing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:28:23Z" level=debug msg="Installer: Processing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:28:23Z" level=debug msg="Installer: Processing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:28:23Z" level=debug msg="Installer: Processing script: ArtifactCommit_Leave_00" + time="2024-01-08T12:28:23Z" level=debug msg="Executing ModuleInstaller.Initialize" + time="2024-01-08T12:28:23Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules105573924/artifact_info file." + time="2024-01-08T12:28:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules105573924/artifact_info" + time="2024-01-08T12:28:23Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:28:23Z" level=debug msg="Current manifest data: old_name" + time="2024-01-08T12:28:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules105573924/artifact_info" + time="2024-01-08T12:28:23Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:28:23Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules105573924/device_type" + time="2024-01-08T12:28:23Z" level=debug msg="device_type=test-device" + time="2024-01-08T12:28:23Z" level=debug msg="Current manifest data: test-device" + time="2024-01-08T12:28:23Z" level=debug msg="Installer: Successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" + time="2024-01-08T12:28:23Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" + time="2024-01-08T12:28:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules105573924/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules105573924/work/payloads/0000/tree" + time="2024-01-08T12:28:23Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" + time="2024-01-08T12:28:23Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" + time="2024-01-08T12:28:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules105573924/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules105573924/work/payloads/0000/tree" + time="2024-01-08T12:28:23Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:28:23Z" level=debug msg="Module supports rollback" + time="2024-01-08T12:28:23Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" + time="2024-01-08T12:28:23Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" + time="2024-01-08T12:28:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:23Z" level=debug msg="Executing script: Download_Leave_00" + time="2024-01-08T12:28:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54399->[::1]:53: read: connection refused" + time="2024-01-08T12:28:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54399->[::1]:53: read: connection refused" + time="2024-01-08T12:28:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40764->[::1]:53: read: connection refused" + time="2024-01-08T12:28:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40764->[::1]:53: read: connection refused" + time="2024-01-08T12:28:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:23Z" level=debug msg="Executing script: ArtifactInstall_Enter_00" + time="2024-01-08T12:28:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54732->[::1]:53: read: connection refused" + time="2024-01-08T12:28:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:54732->[::1]:53: read: connection refused" + time="2024-01-08T12:28:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44844->[::1]:53: read: connection refused" + time="2024-01-08T12:28:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:44844->[::1]:53: read: connection refused" + time="2024-01-08T12:28:23Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" + time="2024-01-08T12:28:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules105573924/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules105573924/work/payloads/0000/tree" + time="2024-01-08T12:28:23Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" + time="2024-01-08T12:28:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules105573924/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules105573924/work/payloads/0000/tree" + time="2024-01-08T12:28:23Z" level=debug msg="Update module output: Yes" + time="2024-01-08T12:28:23Z" level=debug msg="Module needs custom reboot" + time="2024-01-08T12:28:23Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" + time="2024-01-08T12:28:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:23Z" level=debug msg="Executing script: ArtifactInstall_Leave_00" + time="2024-01-08T12:28:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55552->[::1]:53: read: connection refused" + time="2024-01-08T12:28:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:55552->[::1]:53: read: connection refused" + time="2024-01-08T12:28:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39343->[::1]:53: read: connection refused" + time="2024-01-08T12:28:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39343->[::1]:53: read: connection refused" + time="2024-01-08T12:28:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:23Z" level=debug msg="Executing script: ArtifactReboot_Enter_00" + time="2024-01-08T12:28:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39156->[::1]:53: read: connection refused" + time="2024-01-08T12:28:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:39156->[::1]:53: read: connection refused" + time="2024-01-08T12:28:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60304->[::1]:53: read: connection refused" + time="2024-01-08T12:28:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60304->[::1]:53: read: connection refused" + time="2024-01-08T12:28:23Z" level=debug msg="Handling reboot state" + time="2024-01-08T12:28:23Z" level=info msg="Rebooting device(s)" + time="2024-01-08T12:28:23Z" level=debug msg="Executing ModuleInstaller.Reboot" + time="2024-01-08T12:28:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules105573924/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules105573924/work/payloads/0000/tree" + time="2024-01-08T12:28:23Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:28:23Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" + time="2024-01-08T12:28:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules105573924/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules105573924/work/payloads/0000/tree" + time="2024-01-08T12:28:23Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" + time="2024-01-08T12:28:23Z" level=debug msg="Handling state after reboot" + time="2024-01-08T12:28:23Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" + time="2024-01-08T12:28:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:23Z" level=debug msg="Executing script: ArtifactReboot_Leave_00" + time="2024-01-08T12:28:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56452->[::1]:53: read: connection refused" + time="2024-01-08T12:28:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:56452->[::1]:53: read: connection refused" + time="2024-01-08T12:28:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50167->[::1]:53: read: connection refused" + time="2024-01-08T12:28:23Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50167->[::1]:53: read: connection refused" + time="2024-01-08T12:28:23Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:23Z" level=debug msg="Executing script: ArtifactCommit_Enter_00" + time="2024-01-08T12:28:23Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48676->[::1]:53: read: connection refused" + time="2024-01-08T12:28:23Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48676->[::1]:53: read: connection refused" + time="2024-01-08T12:28:24Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47014->[::1]:53: read: connection refused" + time="2024-01-08T12:28:24Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:47014->[::1]:53: read: connection refused" + time="2024-01-08T12:28:24Z" level=debug msg="Handle update commit state" + time="2024-01-08T12:28:24Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" + time="2024-01-08T12:28:24Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" + time="2024-01-08T12:28:29Z" level=debug msg="Wait complete" + time="2024-01-08T12:28:29Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" + time="2024-01-08T12:28:29Z" level=debug msg="Handle update commit state" + time="2024-01-08T12:28:29Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" + time="2024-01-08T12:28:29Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" + time="2024-01-08T12:28:34Z" level=debug msg="Wait complete" + time="2024-01-08T12:28:34Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" + time="2024-01-08T12:28:34Z" level=debug msg="Handle update commit state" + time="2024-01-08T12:28:34Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" + time="2024-01-08T12:28:34Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" + time="2024-01-08T12:28:39Z" level=debug msg="Wait complete" + time="2024-01-08T12:28:39Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" + time="2024-01-08T12:28:39Z" level=debug msg="Handle update commit state" + time="2024-01-08T12:28:39Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" + time="2024-01-08T12:28:39Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" + time="2024-01-08T12:28:39Z" level=error msg="transient error: Tried sending status report maximum number of times." + time="2024-01-08T12:28:39Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" + time="2024-01-08T12:28:39Z" level=debug msg="Transitioning to error state" + time="2024-01-08T12:28:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:39Z" level=debug msg="Executing script: ArtifactCommit_Error_00" + time="2024-01-08T12:28:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49284->[::1]:53: read: connection refused" + time="2024-01-08T12:28:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49284->[::1]:53: read: connection refused" + time="2024-01-08T12:28:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53900->[::1]:53: read: connection refused" + time="2024-01-08T12:28:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:53900->[::1]:53: read: connection refused" + time="2024-01-08T12:28:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:39Z" level=debug msg="Executing script: ArtifactRollback_Enter_00" + time="2024-01-08T12:28:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48283->[::1]:53: read: connection refused" + time="2024-01-08T12:28:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:48283->[::1]:53: read: connection refused" + time="2024-01-08T12:28:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60552->[::1]:53: read: connection refused" + time="2024-01-08T12:28:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:60552->[::1]:53: read: connection refused" + time="2024-01-08T12:28:39Z" level=info msg="Performing rollback" + time="2024-01-08T12:28:39Z" level=debug msg="Executing ModuleInstaller.Rollback" + time="2024-01-08T12:28:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules105573924/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules105573924/work/payloads/0000/tree" + time="2024-01-08T12:28:39Z" level=debug msg="Will try to rollback reboot the device" + time="2024-01-08T12:28:39Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" + time="2024-01-08T12:28:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:39Z" level=debug msg="Executing script: ArtifactRollback_Leave_00" + time="2024-01-08T12:28:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40357->[::1]:53: read: connection refused" + time="2024-01-08T12:28:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40357->[::1]:53: read: connection refused" + time="2024-01-08T12:28:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50919->[::1]:53: read: connection refused" + time="2024-01-08T12:28:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:50919->[::1]:53: read: connection refused" + time="2024-01-08T12:28:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:39Z" level=debug msg="Executing script: ArtifactRollbackReboot_Enter_00" + time="2024-01-08T12:28:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40797->[::1]:53: read: connection refused" + time="2024-01-08T12:28:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:40797->[::1]:53: read: connection refused" + time="2024-01-08T12:28:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36341->[::1]:53: read: connection refused" + time="2024-01-08T12:28:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:36341->[::1]:53: read: connection refused" + time="2024-01-08T12:28:39Z" level=info msg="Rebooting device(s) after rollback" + time="2024-01-08T12:28:39Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" + time="2024-01-08T12:28:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules105573924/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules105573924/work/payloads/0000/tree" + time="2024-01-08T12:28:39Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:28:39Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" + time="2024-01-08T12:28:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules105573924/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules105573924/work/payloads/0000/tree" + time="2024-01-08T12:28:39Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" + time="2024-01-08T12:28:39Z" level=debug msg="Handling state after rollback reboot" + time="2024-01-08T12:28:39Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" + time="2024-01-08T12:28:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:39Z" level=debug msg="Executing script: ArtifactRollbackReboot_Leave_00" + time="2024-01-08T12:28:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46762->[::1]:53: read: connection refused" + time="2024-01-08T12:28:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:46762->[::1]:53: read: connection refused" + time="2024-01-08T12:28:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49331->[::1]:53: read: connection refused" + time="2024-01-08T12:28:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:49331->[::1]:53: read: connection refused" + time="2024-01-08T12:28:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:39Z" level=debug msg="Executing script: ArtifactFailure_Enter_00" + time="2024-01-08T12:28:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33664->[::1]:53: read: connection refused" + time="2024-01-08T12:28:39Z" level=error msg="statescript: Can not send start status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:33664->[::1]:53: read: connection refused" + time="2024-01-08T12:28:39Z" level=error msg="Failed to report status: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42883->[::1]:53: read: connection refused" + time="2024-01-08T12:28:39Z" level=error msg="statescript: Can not send finished status to server: reporting status failed: Put \"https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status\": dial tcp: lookup not-used on [::1]:53: read udp [::1]:42883->[::1]:53: read: connection refused" + time="2024-01-08T12:28:39Z" level=debug msg="Handle update error state" + time="2024-01-08T12:28:39Z" level=debug msg="Executing ModuleInstaller.Failure" + time="2024-01-08T12:28:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules105573924/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules105573924/work/payloads/0000/tree" + time="2024-01-08T12:28:39Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" + time="2024-01-08T12:28:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:39Z" level=debug msg="Executing script: ArtifactFailure_Leave_00" + time="2024-01-08T12:28:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:39Z" level=debug msg="Handling Cleanup state" + time="2024-01-08T12:28:39Z" level=debug msg="Executing ModuleInstaller.Cleanup" + time="2024-01-08T12:28:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules105573924/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules105573924/work/payloads/0000/tree" + time="2024-01-08T12:28:39Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" + time="2024-01-08T12:28:39Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" + time="2024-01-08T12:28:39Z" level=debug msg="Handling update status report state" + time="2024-01-08T12:28:39Z" level=debug msg="Attempting to upload deployment logs for failed update" + time="2024-01-08T12:28:39Z" level=debug msg="Reporting complete" + time="2024-01-08T12:28:39Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules105573924/artifact_info file." + time="2024-01-08T12:28:39Z" level=debug msg="Reading data from the device manifest file: /tmp/TestStateTransitionsWithUpdateModules105573924/artifact_info" + time="2024-01-08T12:28:39Z" level=debug msg="artifact_name=old_name" + time="2024-01-08T12:28:39Z" level=debug msg="Current manifest data: old_name" + --- PASS: TestStateTransitionsWithUpdateModules (16.13s) PASS ---- PASS: TestStateTransitionsWithUpdateModules (107.91s) +--- PASS: TestStateTransitionsWithUpdateModules (105.20s) --- PASS: TestStateTransitionsWithUpdateModules/Normal_install,_no_reboot,_no_rollback (0.72s) - --- PASS: TestStateTransitionsWithUpdateModules/Normal_install,_no_rollback (0.86s) - --- PASS: TestStateTransitionsWithUpdateModules/Normal_install (0.86s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_state,_no_rollback (0.51s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_state,_no_rollback (1.53s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_state,_no_rollback (1.69s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_state,_no_rollback (0.79s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall (0.74s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall (0.79s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot (1.02s) + --- PASS: TestStateTransitionsWithUpdateModules/Normal_install,_no_rollback (0.74s) + --- PASS: TestStateTransitionsWithUpdateModules/Normal_install (0.83s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_state,_no_rollback (0.60s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_state,_no_rollback (0.66s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_state,_no_rollback (0.83s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_state,_no_rollback (0.76s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall (0.81s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall (0.83s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot (0.99s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot (0.92s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyReboot (1.08s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyReboot (1.09s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback (1.09s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback (1.37s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot (1.04s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot (1.10s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyRollbackReboot (1.18s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyRollbackReboot (1.17s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure (0.85s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure (1.09s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Cleanup (1.09s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Cleanup (1.16s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit (1.75s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit (1.69s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit,_no_reboot (1.72s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit,_no_reboot (0.97s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_Enter_00_state,_no_rollback (0.25s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_Enter_00_state,_no_rollback (0.33s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00_state,_no_rollback (0.72s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00_state,_no_rollback (0.75s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyReboot (1.15s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyReboot (1.14s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback (1.37s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback (1.11s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot (1.05s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot (1.13s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyRollbackReboot (1.25s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyRollbackReboot (1.19s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure (0.89s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure (1.01s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Cleanup (1.01s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Cleanup (1.44s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit (1.21s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit (1.01s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit,_no_reboot (0.88s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit,_no_reboot (1.01s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_Enter_00_state,_no_rollback (0.26s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_Enter_00_state,_no_rollback (0.19s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00_state,_no_rollback (0.63s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00_state,_no_rollback (0.85s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00 (0.83s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00 (0.90s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Enter_00 (1.15s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Enter_00 (1.02s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Enter_00 (1.06s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Enter_00 (1.10s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Enter_00 (1.60s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Enter_00 (1.08s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Enter_00 (0.88s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Enter_00 (1.12s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00 (1.33s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00 (1.16s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00,_no_reboot (0.83s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00,_no_reboot (0.88s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00 (0.96s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Enter_00 (1.11s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Enter_00 (0.92s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Enter_00 (1.12s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Enter_00 (1.42s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Enter_00 (1.02s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Enter_00 (1.63s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Enter_00 (0.73s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Enter_00 (0.88s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00 (1.12s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00 (1.12s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00,_no_reboot (0.98s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00,_no_reboot (0.96s) --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_Leave_00_state,_no_rollback (0.56s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_Leave_00_state,_no_rollback (0.63s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00_state,_no_rollback (0.78s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00_state,_no_rollback (0.82s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00 (0.93s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00 (1.00s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Leave_00 (1.25s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Leave_00 (1.31s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Leave_00 (1.07s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Leave_00 (1.22s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Leave_00 (1.08s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Leave_00 (1.22s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Leave_00 (0.90s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Leave_00 (1.03s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00 (0.97s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_Leave_00_state,_no_rollback (0.75s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00_state,_no_rollback (0.98s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00_state,_no_rollback (0.96s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00 (1.00s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00 (0.98s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Leave_00 (1.04s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Leave_00 (1.17s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Leave_00 (0.95s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Leave_00 (1.06s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Leave_00 (1.05s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Leave_00 (1.31s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Leave_00 (0.85s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Leave_00 (1.18s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00 (1.79s) --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00 (0.99s) - --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00,_no_reboot (0.71s) - --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00,_no_reboot (0.84s) - --- PASS: TestStateTransitionsWithUpdateModules/Break_out_of_error_loop (4.55s) - --- PASS: TestStateTransitionsWithUpdateModules/Break_out_of_spontaneous_reboot_loop (5.77s) - --- PASS: TestStateTransitionsWithUpdateModules/Hang_in_Download_state (5.51s) - --- PASS: TestStateTransitionsWithUpdateModules/Hang_in_ArtifactInstall (5.79s) - --- PASS: TestStateTransitionsWithUpdateModules/Temporary_failure_in_report_sending_after_reboot (5.91s) - --- PASS: TestStateTransitionsWithUpdateModules/Permanent_failure_in_report_sending_after_reboot (16.19s) + --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00,_no_reboot (0.69s) + --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00,_no_reboot (0.92s) + --- PASS: TestStateTransitionsWithUpdateModules/Break_out_of_error_loop (5.13s) + --- PASS: TestStateTransitionsWithUpdateModules/Break_out_of_spontaneous_reboot_loop (4.82s) + --- PASS: TestStateTransitionsWithUpdateModules/Hang_in_Download_state (5.60s) + --- PASS: TestStateTransitionsWithUpdateModules/Hang_in_ArtifactInstall (5.89s) + --- PASS: TestStateTransitionsWithUpdateModules/Temporary_failure_in_report_sending_after_reboot (5.80s) + --- PASS: TestStateTransitionsWithUpdateModules/Permanent_failure_in_report_sending_after_reboot (16.30s) === RUN TestDBSchemaUpdate ---- PASS: TestDBSchemaUpdate (0.01s) +--- PASS: TestDBSchemaUpdate (0.00s) === RUN TestAutomaticReboot -time="2024-01-08T11:59:52Z" level=info msg="Running Mender client version: unknown" -time="2024-01-08T11:59:52Z" level=debug msg="Handling reboot state" -time="2024-01-08T11:59:52Z" level=info msg="Rebooting device(s)" -time="2024-01-08T11:59:52Z" level=error msg="transient error: Could not reboot host: exit status 99" -time="2024-01-08T11:59:52Z" level=debug msg="Setting artifact name to _INCONSISTENT" ---- PASS: TestAutomaticReboot (0.09s) +time="2024-01-08T12:28:39Z" level=info msg="Running Mender client version: unknown" +time="2024-01-08T12:28:39Z" level=debug msg="Handling reboot state" +time="2024-01-08T12:28:39Z" level=info msg="Rebooting device(s)" +time="2024-01-08T12:28:39Z" level=error msg="transient error: Could not reboot host: exit status 99" +time="2024-01-08T12:28:39Z" level=debug msg="Setting artifact name to _INCONSISTENT" +--- PASS: TestAutomaticReboot (0.14s) === RUN TestTransitions -time="2024-01-08T11:59:52Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2024-01-08T12:28:39Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" === RUN TestTransitions/0 -time="2024-01-08T11:59:52Z" level=info msg="State transition: init [Idle] -> init [Sync]" +time="2024-01-08T12:28:39Z" level=info msg="State transition: init [Idle] -> init [Sync]" transition_test.go:194: has: [{Idle Leave} {Sync Enter}] expect: [{Idle Leave} {Sync Enter}] === RUN TestTransitions/1 -time="2024-01-08T11:59:52Z" level=info msg="State transition: init [Idle] -> init [Sync]" +time="2024-01-08T12:28:39Z" level=info msg="State transition: init [Idle] -> init [Sync]" transition_test.go:194: has: [{Idle Leave} {Sync Enter}] expect: [{Idle Leave} {Sync Enter}] === RUN TestTransitions/2 -time="2024-01-08T11:59:52Z" level=info msg="State transition: init [Idle] -> init [Sync]" +time="2024-01-08T12:28:39Z" level=info msg="State transition: init [Idle] -> init [Sync]" transition_test.go:194: has: [{Idle Leave} {Sync Enter}] expect: [{Idle Leave} {Sync Enter}] === RUN TestTransitions/3 -time="2024-01-08T11:59:52Z" level=info msg="State transition: init [Sync] -> init [Download_Enter]" +time="2024-01-08T12:28:39Z" level=info msg="State transition: init [Sync] -> init [Download_Enter]" transition_test.go:194: has: [{Sync Leave}] expect: [{Sync Leave}] === RUN TestTransitions/4 -time="2024-01-08T11:59:52Z" level=info msg="State transition: init [Error] -> init [Idle]" +time="2024-01-08T12:28:39Z" level=info msg="State transition: init [Error] -> init [Idle]" transition_test.go:194: has: [{Error Leave} {Idle Enter}] expect: [{Error Leave} {Idle Enter}] === RUN TestTransitions/5 -time="2024-01-08T11:59:52Z" level=info msg="State transition: init [ArtifactReboot_Enter] -> init [Error]" -time="2024-01-08T11:59:52Z" level=debug msg="Transitioning to error state" +time="2024-01-08T12:28:39Z" level=info msg="State transition: init [ArtifactReboot_Enter] -> init [Error]" +time="2024-01-08T12:28:39Z" level=debug msg="Transitioning to error state" transition_test.go:194: has: [{ArtifactReboot Error} {Error Enter}] expect: [{ArtifactReboot Error} {Error Enter}] === RUN TestTransitions/6 -time="2024-01-08T11:59:52Z" level=info msg="State transition: init [none] -> init [Idle]" +time="2024-01-08T12:28:39Z" level=info msg="State transition: init [none] -> init [Idle]" transition_test.go:194: has: [{Idle Enter}] expect: [{Idle Enter}] === RUN TestTransitions/7 -time="2024-01-08T11:59:52Z" level=info msg="State transition: init [none] -> init [Error]" -time="2024-01-08T11:59:52Z" level=debug msg="Transitioning to error state" +time="2024-01-08T12:28:39Z" level=info msg="State transition: init [none] -> init [Error]" +time="2024-01-08T12:28:39Z" level=debug msg="Transitioning to error state" transition_test.go:194: has: [{Error Enter}] expect: [{Error Enter}] === RUN TestTransitions/8 -time="2024-01-08T11:59:52Z" level=info msg="State transition: init [Idle] -> init [Error]" -time="2024-01-08T11:59:52Z" level=debug msg="Transitioning to error state" +time="2024-01-08T12:28:39Z" level=info msg="State transition: init [Idle] -> init [Error]" +time="2024-01-08T12:28:39Z" level=debug msg="Transitioning to error state" transition_test.go:194: has: [{Idle Error} {Error Enter}] expect: [{Idle Error} {Error Enter}] --- PASS: TestTransitions (0.02s) --- PASS: TestTransitions/0 (0.00s) @@ -15182,114 +15217,114 @@ transition_test.go:329: Running state: update-error --- PASS: TestTransitionReporting (0.00s) FAIL -FAIL github.com/mendersoftware/mender/app 390.161s +FAIL github.com/mendersoftware/mender/app 416.062s === RUN TestAmbiguousArgumentsArgs -time="2024-01-08T11:53:24Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" ---- PASS: TestAmbiguousArgumentsArgs (0.02s) +time="2024-01-08T12:21:45Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" +--- PASS: TestAmbiguousArgumentsArgs (0.00s) === RUN TestCheckUpdate -time="2024-01-08T11:53:24Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" +time="2024-01-08T12:21:45Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" --- PASS: TestCheckUpdate (0.00s) === RUN TestSendInventory -time="2024-01-08T11:53:24Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" ---- PASS: TestSendInventory (0.00s) +time="2024-01-08T12:21:45Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" +--- PASS: TestSendInventory (0.01s) === RUN TestRunDaemon -time="2024-01-08T11:53:24Z" level=debug msg="Private key does not exist" -time="2024-01-08T11:53:24Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-08T11:53:24Z" level=info msg="State transition: init [none] -> init [none]" -time="2024-01-08T11:53:24Z" level=debug msg="No state data stored" -time="2024-01-08T11:53:24Z" level=info msg="State transition: init [none] -> idle [Idle]" -time="2024-01-08T11:53:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:53:24Z" level=info msg="State transition: idle [Idle] -> authorize-wait [Idle]" -time="2024-01-08T11:53:24Z" level=debug msg="Handle authorize wait state" -time="2024-01-08T11:53:24Z" level=warning msg="RetryPollIntervalSeconds is not defined" -time="2024-01-08T11:53:24Z" level=debug msg="Wait 0s before next authorization attempt" -time="2024-01-08T11:53:24Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" -time="2024-01-08T11:53:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:53:24Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:53:24Z" level=debug msg="Handle authorize state" -time="2024-01-08T11:53:24Z" level=debug msg="Needs keys" -time="2024-01-08T11:53:24Z" level=info msg="Device keys not present or bootstrap forced, generating" -time="2024-01-08T11:53:27Z" level=debug msg="Tenant token: " -time="2024-01-08T11:53:27Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA4K5fjMra2p2cO95ywW28\nkNMbGGUbyvhXXNPIAD+wTtbSYXUj6mJDUxIz+n5eDdSzItiWN7ggeiAaJBpyTadQ\negtYUF+hic2bcMm541TYEnaXlZl4inxarfYscGNL2kQKEnEGRrMUeszl4hGpmByk\njmMxf33EfG0ukWcEnzacjtCsY7VXMgDKtSsR8RG/XTWO0kFCO3IWLvr+aTn+mgCg\nAYM6DOIbUsPzQws31v+um+AzpZsSvdwRL8lerTiYU8s5nuwOKmLYdFZ3Eb+/PjlO\nhDzonmUwyrLT/0T0K5eLeoQAHYqWINkrFcBHTIX6gXWChEso2mk8N5JM2tQurwF9\nJj2vdUkOCY8U9lT+g2pJg0oUMI+5Lo7kdtodOOmNrhXgVMoO/SYAy9u9RK9fQCWT\nSMYf5nP/cN2EdcKCH2T6oKuHnHeM7qP0NygN3mqNWVL3QV2vWKruAPEX7N059bhd\npxUQby27dcrWVrV6l1fuz5d7333b7Fk+nHcZGa+30uNxAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2024-01-08T11:53:27Z" level=debug msg="Making an authorization request () to server " -time="2024-01-08T11:53:27Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0x1410268)}" -time="2024-01-08T11:53:27Z" level=error msg="Authorization request error: http: no Host in request URL" -time="2024-01-08T11:53:27Z" level=error msg="Authorize failed: transient error: authorization request failed: generic error occurred while executing authorization request: Post \"https:///api/devices/v1/authentication/auth_requests\": http: no Host in request URL" -time="2024-01-08T11:53:27Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" -time="2024-01-08T11:53:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:53:27Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:53:27Z" level=debug msg="Handle authorize wait state" -time="2024-01-08T11:53:27Z" level=warning msg="RetryPollIntervalSeconds is not defined" -time="2024-01-08T11:53:27Z" level=debug msg="Wait 4m56.102448459s before next authorization attempt" -time="2024-01-08T11:53:28Z" level=debug msg="SIGUSR2 signal received." -time="2024-01-08T11:53:28Z" level=debug msg="Sent wake up!" -time="2024-01-08T11:53:28Z" level=info msg="Forced wake-up from sleep" -time="2024-01-08T11:53:28Z" level=error msg="Cannot check update or update inventory while in authorize state" -time="2024-01-08T11:53:28Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" -time="2024-01-08T11:53:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:53:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:53:28Z" level=debug msg="Handle authorize state" -time="2024-01-08T11:53:28Z" level=debug msg="Tenant token: " -time="2024-01-08T11:53:28Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA4K5fjMra2p2cO95ywW28\nkNMbGGUbyvhXXNPIAD+wTtbSYXUj6mJDUxIz+n5eDdSzItiWN7ggeiAaJBpyTadQ\negtYUF+hic2bcMm541TYEnaXlZl4inxarfYscGNL2kQKEnEGRrMUeszl4hGpmByk\njmMxf33EfG0ukWcEnzacjtCsY7VXMgDKtSsR8RG/XTWO0kFCO3IWLvr+aTn+mgCg\nAYM6DOIbUsPzQws31v+um+AzpZsSvdwRL8lerTiYU8s5nuwOKmLYdFZ3Eb+/PjlO\nhDzonmUwyrLT/0T0K5eLeoQAHYqWINkrFcBHTIX6gXWChEso2mk8N5JM2tQurwF9\nJj2vdUkOCY8U9lT+g2pJg0oUMI+5Lo7kdtodOOmNrhXgVMoO/SYAy9u9RK9fQCWT\nSMYf5nP/cN2EdcKCH2T6oKuHnHeM7qP0NygN3mqNWVL3QV2vWKruAPEX7N059bhd\npxUQby27dcrWVrV6l1fuz5d7333b7Fk+nHcZGa+30uNxAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2024-01-08T11:53:28Z" level=debug msg="Making an authorization request () to server " -time="2024-01-08T11:53:28Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0x1410580)}" -time="2024-01-08T11:53:28Z" level=error msg="Authorization request error: http: no Host in request URL" -time="2024-01-08T11:53:28Z" level=error msg="Authorize failed: transient error: authorization request failed: generic error occurred while executing authorization request: Post \"https:///api/devices/v1/authentication/auth_requests\": http: no Host in request URL" -time="2024-01-08T11:53:28Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" -time="2024-01-08T11:53:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:53:28Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:53:28Z" level=debug msg="Handle authorize wait state" -time="2024-01-08T11:53:28Z" level=warning msg="RetryPollIntervalSeconds is not defined" -time="2024-01-08T11:53:28Z" level=debug msg="Wait 9m55.836467386s before next authorization attempt" -time="2024-01-08T11:53:29Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" -time="2024-01-08T11:53:29Z" level=info msg="State transition: init [none] -> init [none]" -time="2024-01-08T11:53:29Z" level=debug msg="No state data stored" -time="2024-01-08T11:53:29Z" level=info msg="State transition: init [none] -> idle [Idle]" -time="2024-01-08T11:53:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:53:29Z" level=info msg="State transition: idle [Idle] -> authorize-wait [Idle]" -time="2024-01-08T11:53:29Z" level=debug msg="Handle authorize wait state" -time="2024-01-08T11:53:29Z" level=warning msg="RetryPollIntervalSeconds is not defined" -time="2024-01-08T11:53:29Z" level=debug msg="Wait 0s before next authorization attempt" -time="2024-01-08T11:53:29Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" -time="2024-01-08T11:53:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:53:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:53:29Z" level=debug msg="Handle authorize state" -time="2024-01-08T11:53:29Z" level=debug msg="Tenant token: " -time="2024-01-08T11:53:29Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA4K5fjMra2p2cO95ywW28\nkNMbGGUbyvhXXNPIAD+wTtbSYXUj6mJDUxIz+n5eDdSzItiWN7ggeiAaJBpyTadQ\negtYUF+hic2bcMm541TYEnaXlZl4inxarfYscGNL2kQKEnEGRrMUeszl4hGpmByk\njmMxf33EfG0ukWcEnzacjtCsY7VXMgDKtSsR8RG/XTWO0kFCO3IWLvr+aTn+mgCg\nAYM6DOIbUsPzQws31v+um+AzpZsSvdwRL8lerTiYU8s5nuwOKmLYdFZ3Eb+/PjlO\nhDzonmUwyrLT/0T0K5eLeoQAHYqWINkrFcBHTIX6gXWChEso2mk8N5JM2tQurwF9\nJj2vdUkOCY8U9lT+g2pJg0oUMI+5Lo7kdtodOOmNrhXgVMoO/SYAy9u9RK9fQCWT\nSMYf5nP/cN2EdcKCH2T6oKuHnHeM7qP0NygN3mqNWVL3QV2vWKruAPEX7N059bhd\npxUQby27dcrWVrV6l1fuz5d7333b7Fk+nHcZGa+30uNxAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2024-01-08T11:53:29Z" level=debug msg="Making an authorization request () to server " -time="2024-01-08T11:53:29Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0x1410bd8)}" -time="2024-01-08T11:53:29Z" level=error msg="Authorization request error: http: no Host in request URL" -time="2024-01-08T11:53:29Z" level=error msg="Authorize failed: transient error: authorization request failed: generic error occurred while executing authorization request: Post \"https:///api/devices/v1/authentication/auth_requests\": http: no Host in request URL" -time="2024-01-08T11:53:29Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" -time="2024-01-08T11:53:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:53:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:53:29Z" level=debug msg="Handle authorize wait state" -time="2024-01-08T11:53:29Z" level=warning msg="RetryPollIntervalSeconds is not defined" -time="2024-01-08T11:53:29Z" level=debug msg="Wait 4m59.896594807s before next authorization attempt" -time="2024-01-08T11:53:29Z" level=debug msg="SIGUSR1 signal received." -time="2024-01-08T11:53:29Z" level=debug msg="Sent wake up!" -time="2024-01-08T11:53:29Z" level=info msg="Forced wake-up from sleep" -time="2024-01-08T11:53:29Z" level=debug msg="SIGUSR1 signal received." -time="2024-01-08T11:53:29Z" level=debug msg="Sent wake up!" -time="2024-01-08T11:53:29Z" level=info msg="Forced wake-up from sleep" -time="2024-01-08T11:53:29Z" level=error msg="Cannot check update or update inventory while in authorize state" -time="2024-01-08T11:53:29Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" -time="2024-01-08T11:53:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:53:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:53:29Z" level=debug msg="Handle authorize state" -time="2024-01-08T11:53:29Z" level=debug msg="Tenant token: " -time="2024-01-08T11:53:29Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA4K5fjMra2p2cO95ywW28\nkNMbGGUbyvhXXNPIAD+wTtbSYXUj6mJDUxIz+n5eDdSzItiWN7ggeiAaJBpyTadQ\negtYUF+hic2bcMm541TYEnaXlZl4inxarfYscGNL2kQKEnEGRrMUeszl4hGpmByk\njmMxf33EfG0ukWcEnzacjtCsY7VXMgDKtSsR8RG/XTWO0kFCO3IWLvr+aTn+mgCg\nAYM6DOIbUsPzQws31v+um+AzpZsSvdwRL8lerTiYU8s5nuwOKmLYdFZ3Eb+/PjlO\nhDzonmUwyrLT/0T0K5eLeoQAHYqWINkrFcBHTIX6gXWChEso2mk8N5JM2tQurwF9\nJj2vdUkOCY8U9lT+g2pJg0oUMI+5Lo7kdtodOOmNrhXgVMoO/SYAy9u9RK9fQCWT\nSMYf5nP/cN2EdcKCH2T6oKuHnHeM7qP0NygN3mqNWVL3QV2vWKruAPEX7N059bhd\npxUQby27dcrWVrV6l1fuz5d7333b7Fk+nHcZGa+30uNxAgMBAAE=\n-----END PUBLIC KEY-----\n}" -time="2024-01-08T11:53:29Z" level=debug msg="Making an authorization request () to server " -time="2024-01-08T11:53:29Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0x15cc380)}" -time="2024-01-08T11:53:29Z" level=error msg="Authorization request error: http: no Host in request URL" -time="2024-01-08T11:53:29Z" level=error msg="Authorize failed: transient error: authorization request failed: generic error occurred while executing authorization request: Post \"https:///api/devices/v1/authentication/auth_requests\": http: no Host in request URL" -time="2024-01-08T11:53:29Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" -time="2024-01-08T11:53:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:53:29Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" -time="2024-01-08T11:53:29Z" level=debug msg="Handle authorize wait state" -time="2024-01-08T11:53:29Z" level=warning msg="RetryPollIntervalSeconds is not defined" -time="2024-01-08T11:53:29Z" level=debug msg="Wait 9m59.683403059s before next authorization attempt" ---- PASS: TestRunDaemon (6.28s) +time="2024-01-08T12:21:45Z" level=debug msg="Private key does not exist" +time="2024-01-08T12:21:45Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2024-01-08T12:21:45Z" level=info msg="State transition: init [none] -> init [none]" +time="2024-01-08T12:21:45Z" level=debug msg="No state data stored" +time="2024-01-08T12:21:45Z" level=info msg="State transition: init [none] -> idle [Idle]" +time="2024-01-08T12:21:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:21:45Z" level=info msg="State transition: idle [Idle] -> authorize-wait [Idle]" +time="2024-01-08T12:21:45Z" level=debug msg="Handle authorize wait state" +time="2024-01-08T12:21:45Z" level=warning msg="RetryPollIntervalSeconds is not defined" +time="2024-01-08T12:21:45Z" level=debug msg="Wait 0s before next authorization attempt" +time="2024-01-08T12:21:45Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" +time="2024-01-08T12:21:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:21:45Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:21:45Z" level=debug msg="Handle authorize state" +time="2024-01-08T12:21:45Z" level=debug msg="Needs keys" +time="2024-01-08T12:21:45Z" level=info msg="Device keys not present or bootstrap forced, generating" +time="2024-01-08T12:22:11Z" level=debug msg="Tenant token: " +time="2024-01-08T12:22:11Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEArfCEDIeC506U6xhSwM3c\nfmGoa294Bu2JH/rcC0Jz650+XrJoWTxSWLLs/wiQtT8d/LqBHxWMsVAitrI0ic7L\nZXb+AJ7q50QNfaI5pKEMu0v4qwq7FuhW0hSlR1gqS+3goHx7mOVL6OvGmEMUKoCA\nXzOa1jgD0A38jSvzeBPiP4vPTOun5WEuFBwhoZxKhLfgLch5WfTLyd55dTJKqApO\n6x408pEDTie+QRpgSurE9LWLjd6/ngLQAP4XjO42B/+e/Fdi5nr/2m3R9XJEEa2J\nDNLNdXXQmXsEhrQ9cW4it6+E7aecIC+5tKWivX/N+j8AG16cXKyuRG2d3SsQif3r\nPShxojH88Mv/HNDwe0PL9ZHHCjr+klgrV9PN33yHhICfTCPnEaSFTO6LsMkvtbv7\nTAmyENtPMcdirnB+5d7ZAjE9KBLLEV6zABLrV91OvNhH/uTJStwgBnw8k0ilQxG7\njso71M6S78Id8cCYbtm48FZ+cdm9PfC4il1WFlr5GByJAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2024-01-08T12:22:11Z" level=debug msg="Making an authorization request () to server " +time="2024-01-08T12:22:11Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0x2498258)}" +time="2024-01-08T12:22:11Z" level=error msg="Authorization request error: http: no Host in request URL" +time="2024-01-08T12:22:11Z" level=error msg="Authorize failed: transient error: authorization request failed: generic error occurred while executing authorization request: Post \"https:///api/devices/v1/authentication/auth_requests\": http: no Host in request URL" +time="2024-01-08T12:22:11Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" +time="2024-01-08T12:22:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:22:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:22:11Z" level=debug msg="Handle authorize wait state" +time="2024-01-08T12:22:11Z" level=warning msg="RetryPollIntervalSeconds is not defined" +time="2024-01-08T12:22:11Z" level=debug msg="Wait 4m34.00900263s before next authorization attempt" +time="2024-01-08T12:22:11Z" level=debug msg="SIGUSR2 signal received." +time="2024-01-08T12:22:11Z" level=debug msg="Sent wake up!" +time="2024-01-08T12:22:11Z" level=info msg="Forced wake-up from sleep" +time="2024-01-08T12:22:11Z" level=error msg="Cannot check update or update inventory while in authorize state" +time="2024-01-08T12:22:11Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" +time="2024-01-08T12:22:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:22:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:22:11Z" level=debug msg="Handle authorize state" +time="2024-01-08T12:22:11Z" level=debug msg="Tenant token: " +time="2024-01-08T12:22:11Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEArfCEDIeC506U6xhSwM3c\nfmGoa294Bu2JH/rcC0Jz650+XrJoWTxSWLLs/wiQtT8d/LqBHxWMsVAitrI0ic7L\nZXb+AJ7q50QNfaI5pKEMu0v4qwq7FuhW0hSlR1gqS+3goHx7mOVL6OvGmEMUKoCA\nXzOa1jgD0A38jSvzeBPiP4vPTOun5WEuFBwhoZxKhLfgLch5WfTLyd55dTJKqApO\n6x408pEDTie+QRpgSurE9LWLjd6/ngLQAP4XjO42B/+e/Fdi5nr/2m3R9XJEEa2J\nDNLNdXXQmXsEhrQ9cW4it6+E7aecIC+5tKWivX/N+j8AG16cXKyuRG2d3SsQif3r\nPShxojH88Mv/HNDwe0PL9ZHHCjr+klgrV9PN33yHhICfTCPnEaSFTO6LsMkvtbv7\nTAmyENtPMcdirnB+5d7ZAjE9KBLLEV6zABLrV91OvNhH/uTJStwgBnw8k0ilQxG7\njso71M6S78Id8cCYbtm48FZ+cdm9PfC4il1WFlr5GByJAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2024-01-08T12:22:11Z" level=debug msg="Making an authorization request () to server " +time="2024-01-08T12:22:11Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0x26802f0)}" +time="2024-01-08T12:22:11Z" level=error msg="Authorization request error: http: no Host in request URL" +time="2024-01-08T12:22:11Z" level=error msg="Authorize failed: transient error: authorization request failed: generic error occurred while executing authorization request: Post \"https:///api/devices/v1/authentication/auth_requests\": http: no Host in request URL" +time="2024-01-08T12:22:11Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" +time="2024-01-08T12:22:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:22:11Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:22:11Z" level=debug msg="Handle authorize wait state" +time="2024-01-08T12:22:11Z" level=warning msg="RetryPollIntervalSeconds is not defined" +time="2024-01-08T12:22:11Z" level=debug msg="Wait 9m33.869978974s before next authorization attempt" +time="2024-01-08T12:22:12Z" level=debug msg="ModuleTimeoutSeconds not set. Defaulting to 14400 seconds" +time="2024-01-08T12:22:12Z" level=info msg="State transition: init [none] -> init [none]" +time="2024-01-08T12:22:12Z" level=debug msg="No state data stored" +time="2024-01-08T12:22:12Z" level=info msg="State transition: init [none] -> idle [Idle]" +time="2024-01-08T12:22:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:22:12Z" level=info msg="State transition: idle [Idle] -> authorize-wait [Idle]" +time="2024-01-08T12:22:12Z" level=debug msg="Handle authorize wait state" +time="2024-01-08T12:22:12Z" level=warning msg="RetryPollIntervalSeconds is not defined" +time="2024-01-08T12:22:12Z" level=debug msg="Wait 0s before next authorization attempt" +time="2024-01-08T12:22:12Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" +time="2024-01-08T12:22:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:22:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:22:12Z" level=debug msg="Handle authorize state" +time="2024-01-08T12:22:12Z" level=debug msg="Tenant token: " +time="2024-01-08T12:22:12Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEArfCEDIeC506U6xhSwM3c\nfmGoa294Bu2JH/rcC0Jz650+XrJoWTxSWLLs/wiQtT8d/LqBHxWMsVAitrI0ic7L\nZXb+AJ7q50QNfaI5pKEMu0v4qwq7FuhW0hSlR1gqS+3goHx7mOVL6OvGmEMUKoCA\nXzOa1jgD0A38jSvzeBPiP4vPTOun5WEuFBwhoZxKhLfgLch5WfTLyd55dTJKqApO\n6x408pEDTie+QRpgSurE9LWLjd6/ngLQAP4XjO42B/+e/Fdi5nr/2m3R9XJEEa2J\nDNLNdXXQmXsEhrQ9cW4it6+E7aecIC+5tKWivX/N+j8AG16cXKyuRG2d3SsQif3r\nPShxojH88Mv/HNDwe0PL9ZHHCjr+klgrV9PN33yHhICfTCPnEaSFTO6LsMkvtbv7\nTAmyENtPMcdirnB+5d7ZAjE9KBLLEV6zABLrV91OvNhH/uTJStwgBnw8k0ilQxG7\njso71M6S78Id8cCYbtm48FZ+cdm9PfC4il1WFlr5GByJAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2024-01-08T12:22:12Z" level=debug msg="Making an authorization request () to server " +time="2024-01-08T12:22:12Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0x2680608)}" +time="2024-01-08T12:22:12Z" level=error msg="Authorization request error: http: no Host in request URL" +time="2024-01-08T12:22:12Z" level=error msg="Authorize failed: transient error: authorization request failed: generic error occurred while executing authorization request: Post \"https:///api/devices/v1/authentication/auth_requests\": http: no Host in request URL" +time="2024-01-08T12:22:12Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" +time="2024-01-08T12:22:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:22:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:22:12Z" level=debug msg="Handle authorize wait state" +time="2024-01-08T12:22:12Z" level=warning msg="RetryPollIntervalSeconds is not defined" +time="2024-01-08T12:22:12Z" level=debug msg="Wait 4m59.876576911s before next authorization attempt" +time="2024-01-08T12:22:12Z" level=debug msg="SIGUSR1 signal received." +time="2024-01-08T12:22:12Z" level=debug msg="Sent wake up!" +time="2024-01-08T12:22:12Z" level=info msg="Forced wake-up from sleep" +time="2024-01-08T12:22:12Z" level=debug msg="SIGUSR1 signal received." +time="2024-01-08T12:22:12Z" level=debug msg="Sent wake up!" +time="2024-01-08T12:22:12Z" level=info msg="Forced wake-up from sleep" +time="2024-01-08T12:22:12Z" level=error msg="Cannot check update or update inventory while in authorize state" +time="2024-01-08T12:22:12Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" +time="2024-01-08T12:22:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:22:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:22:12Z" level=debug msg="Handle authorize state" +time="2024-01-08T12:22:12Z" level=debug msg="Tenant token: " +time="2024-01-08T12:22:12Z" level=debug msg="Authorization data: {{\"mac\":\"foobar\"} -----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEArfCEDIeC506U6xhSwM3c\nfmGoa294Bu2JH/rcC0Jz650+XrJoWTxSWLLs/wiQtT8d/LqBHxWMsVAitrI0ic7L\nZXb+AJ7q50QNfaI5pKEMu0v4qwq7FuhW0hSlR1gqS+3goHx7mOVL6OvGmEMUKoCA\nXzOa1jgD0A38jSvzeBPiP4vPTOun5WEuFBwhoZxKhLfgLch5WfTLyd55dTJKqApO\n6x408pEDTie+QRpgSurE9LWLjd6/ngLQAP4XjO42B/+e/Fdi5nr/2m3R9XJEEa2J\nDNLNdXXQmXsEhrQ9cW4it6+E7aecIC+5tKWivX/N+j8AG16cXKyuRG2d3SsQif3r\nPShxojH88Mv/HNDwe0PL9ZHHCjr+klgrV9PN33yHhICfTCPnEaSFTO6LsMkvtbv7\nTAmyENtPMcdirnB+5d7ZAjE9KBLLEV6zABLrV91OvNhH/uTJStwgBnw8k0ilQxG7\njso71M6S78Id8cCYbtm48FZ+cdm9PfC4il1WFlr5GByJAgMBAAE=\n-----END PUBLIC KEY-----\n}" +time="2024-01-08T12:22:12Z" level=debug msg="Making an authorization request () to server " +time="2024-01-08T12:22:12Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https:///api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0x25a4368)}" +time="2024-01-08T12:22:12Z" level=error msg="Authorization request error: http: no Host in request URL" +time="2024-01-08T12:22:12Z" level=error msg="Authorize failed: transient error: authorization request failed: generic error occurred while executing authorization request: Post \"https:///api/devices/v1/authentication/auth_requests\": http: no Host in request URL" +time="2024-01-08T12:22:12Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" +time="2024-01-08T12:22:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:22:12Z" level=debug msg="statescript: The timeout for executing scripts is not defined; using default of 1h0m0s seconds" +time="2024-01-08T12:22:12Z" level=debug msg="Handle authorize wait state" +time="2024-01-08T12:22:12Z" level=warning msg="RetryPollIntervalSeconds is not defined" +time="2024-01-08T12:22:12Z" level=debug msg="Wait 9m59.710259711s before next authorization attempt" +--- PASS: TestRunDaemon (28.22s) === RUN TestLoggingOptions not a valid logrus Level: "crap" @@ -15377,7 +15412,7 @@ --skipverify Skip certificate verification. --help, -h show help --version, -v print the version -time="2024-01-08T11:53:30Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" func="github.com/mendersoftware/mender/cli.(*runOptionsType).handleLogFlags" file="/build/reproducible-path/mender-client-2.4.1/obj-arm-linux-gnueabihf/src/github.com/mendersoftware/mender/cli/cli.go:583" +time="2024-01-08T12:22:13Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" func="github.com/mendersoftware/mender/cli.(*runOptionsType).handleLogFlags" file="/build/reproducible-path/mender-client-2.4.1/obj-arm-linux-gnueabihf/src/github.com/mendersoftware/mender/cli/cli.go:583" NAME: mender - manage and start the Mender client. @@ -15420,8 +15455,8 @@ --skipverify Skip certificate verification. --help, -h show help --version, -v print the version -time="2024-01-08T11:53:30Z" level=debug msg="Should show" func=github.com/mendersoftware/mender/cli.TestLoggingOptions file="/build/reproducible-path/mender-client-2.4.1/obj-arm-linux-gnueabihf/src/github.com/mendersoftware/mender/cli/cli_test.go:172" -time="2024-01-08T11:53:30Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" func="github.com/mendersoftware/mender/cli.(*runOptionsType).handleLogFlags" file="/build/reproducible-path/mender-client-2.4.1/obj-arm-linux-gnueabihf/src/github.com/mendersoftware/mender/cli/cli.go:583" +time="2024-01-08T12:22:13Z" level=debug msg="Should show" func=github.com/mendersoftware/mender/cli.TestLoggingOptions file="/build/reproducible-path/mender-client-2.4.1/obj-arm-linux-gnueabihf/src/github.com/mendersoftware/mender/cli/cli_test.go:172" +time="2024-01-08T12:22:13Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" func="github.com/mendersoftware/mender/cli.(*runOptionsType).handleLogFlags" file="/build/reproducible-path/mender-client-2.4.1/obj-arm-linux-gnueabihf/src/github.com/mendersoftware/mender/cli/cli.go:583" NAME: mender - manage and start the Mender client. @@ -15548,20 +15583,20 @@ --skipverify Skip certificate verification. --help, -h show help --version, -v print the version ---- PASS: TestLoggingOptions (0.05s) +--- PASS: TestLoggingOptions (0.04s) === RUN TestVersion --- PASS: TestVersion (0.00s) === RUN TestMainBootstrap ---- PASS: TestMainBootstrap (23.01s) +--- PASS: TestMainBootstrap (46.97s) === RUN TestPrintArtifactName foobar db-name foobar --- PASS: TestPrintArtifactName (0.06s) === RUN TestGetMenderDaemonPID ---- PASS: TestGetMenderDaemonPID (0.07s) +--- PASS: TestGetMenderDaemonPID (0.08s) === RUN TestInvalidServerCertificateBoot ---- PASS: TestInvalidServerCertificateBoot (1.35s) +--- PASS: TestInvalidServerCertificateBoot (0.67s) === RUN TestIgnoreServerConfigVerification Mender Client Setup =================== @@ -15570,7 +15605,7 @@ Get started by first configuring the device type and settings for communicating with the server. Mender setup successfully. ---- PASS: TestIgnoreServerConfigVerification (0.01s) +--- PASS: TestIgnoreServerConfigVerification (0.02s) === RUN TestCliHelpText cli_test.go:578: Error Trace: cli_test.go:578 @@ -15580,120 +15615,120 @@ === 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): [cbxi4b] +Enter a name for the device type (e.g. raspberrypi3): [virt64c] 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): [cbxi4b] +Enter a name for the device type (e.g. raspberrypi3): [virt64c] 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): [cbxi4b] +Enter a name for the device type (e.g. raspberrypi3): [virt64c] 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): [cbxi4b] +Enter a name for the device type (e.g. raspberrypi3): [virt64c] 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.03s) +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.02s) === RUN TestSetupFlags ---- PASS: TestSetupFlags (0.03s) +--- PASS: TestSetupFlags (0.02s) FAIL -FAIL github.com/mendersoftware/mender/cli 31.182s +FAIL github.com/mendersoftware/mender/cli 76.248s === RUN TestClientAuthMakeReq client_auth_test.go:75: data: foobar data --- PASS: TestClientAuthMakeReq (0.00s) === RUN TestClientAuth ---- PASS: TestClientAuth (38.89s) +--- PASS: TestClientAuth (35.42s) === RUN TestClientAuthExpiredCert -time="2024-01-08T11:54:06Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:32769/api/devices/v1/authentication/auth_requests\", Err:certificate has expired, openssl verify rc: 10 server cert file: testdata/server.expired.crt}" -time="2024-01-08T11:54:06Z" level=error msg="Authorization request error: certificate has expired, openssl verify rc: 10 server cert file: testdata/server.expired.crt" -2024/01/08 11:54:06 http: TLS handshake error from 127.0.0.1:35212: read tcp 127.0.0.1:32769->127.0.0.1:35212: use of closed network connection ---- PASS: TestClientAuthExpiredCert (6.92s) +time="2024-01-08T12:22:12Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:43637/api/devices/v1/authentication/auth_requests\", Err:certificate has expired, openssl verify rc: 10 server cert file: testdata/server.expired.crt}" +time="2024-01-08T12:22:12Z" level=error msg="Authorization request error: certificate has expired, openssl verify rc: 10 server cert file: testdata/server.expired.crt" +2024/01/08 12:22:12 http: TLS handshake error from 127.0.0.1:45310: read tcp 127.0.0.1:43637->127.0.0.1:45310: use of closed network connection +--- PASS: TestClientAuthExpiredCert (4.00s) === RUN TestClientAuthUnknownAuthorityCert -time="2024-01-08T11:54:07Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:44989/api/devices/v1/authentication/auth_requests\", Err:certificate signed by unknown authority, openssl verify rc: 20 server cert file: testdata/server.unknown-authority.crt}" -time="2024-01-08T11:54:07Z" level=error msg="Authorization request error: certificate signed by unknown authority, openssl verify rc: 20 server cert file: testdata/server.unknown-authority.crt" -2024/01/08 11:54:07 http: TLS handshake error from 127.0.0.1:36888: read tcp 127.0.0.1:44989->127.0.0.1:36888: use of closed network connection ---- PASS: TestClientAuthUnknownAuthorityCert (0.91s) +time="2024-01-08T12:22:12Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:45483/api/devices/v1/authentication/auth_requests\", Err:certificate signed by unknown authority, openssl verify rc: 20 server cert file: testdata/server.unknown-authority.crt}" +time="2024-01-08T12:22:12Z" level=error msg="Authorization request error: certificate signed by unknown authority, openssl verify rc: 20 server cert file: testdata/server.unknown-authority.crt" +2024/01/08 12:22:12 http: TLS handshake error from 127.0.0.1:49974: read tcp 127.0.0.1:45483->127.0.0.1:49974: use of closed network connection +--- PASS: TestClientAuthUnknownAuthorityCert (0.63s) === RUN TestClientAuthDepthZeroSelfSignedCert -time="2024-01-08T11:54:49Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:42159/api/devices/v1/authentication/auth_requests\", Err:depth zero self-signed certificate, openssl verify rc: 18 server cert file: testdata/server.zero.depth.self.signed.crt}" -time="2024-01-08T11:54:49Z" 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" -2024/01/08 11:54:49 http: TLS handshake error from 127.0.0.1:35390: read tcp 127.0.0.1:42159->127.0.0.1:35390: use of closed network connection ---- PASS: TestClientAuthDepthZeroSelfSignedCert (41.44s) +time="2024-01-08T12:22:46Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:35685/api/devices/v1/authentication/auth_requests\", Err:depth zero self-signed certificate, openssl verify rc: 18 server cert file: testdata/server.zero.depth.self.signed.crt}" +time="2024-01-08T12:22:46Z" 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 (33.11s) === RUN TestClientAuthEndEntityKeyTooSmall -time="2024-01-08T11:54:49Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:43855/api/devices/v1/authentication/auth_requests\", Err:end entity key too short, openssl verify rc: 66 server cert file: testdata/server.crt}" -time="2024-01-08T11:54:49Z" level=error msg="Authorization request error: end entity key too short, openssl verify rc: 66 server cert file: testdata/server.crt" ---- PASS: TestClientAuthEndEntityKeyTooSmall (0.78s) +time="2024-01-08T12:22:46Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:41903/api/devices/v1/authentication/auth_requests\", Err:end entity key too short, openssl verify rc: 66 server cert file: testdata/server.crt}" +time="2024-01-08T12:22:46Z" level=error msg="Authorization request error: end entity key too short, openssl verify rc: 66 server cert file: testdata/server.crt" +2024/01/08 12:22:46 http: TLS handshake error from 127.0.0.1:38168: read tcp 127.0.0.1:41903->127.0.0.1:38168: use of closed network connection +--- PASS: TestClientAuthEndEntityKeyTooSmall (0.74s) === RUN TestClientAuthNoCert -time="2024-01-08T11:54:50Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (testdata/server.non-existing.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" -time="2024-01-08T11:54:50Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" ---- PASS: TestClientAuthNoCert (0.87s) +time="2024-01-08T12:22:47Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (testdata/server.non-existing.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" +time="2024-01-08T12:22:47Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" +--- PASS: TestClientAuthNoCert (0.78s) === RUN TestClientAuthHostValidationNocheck ---- PASS: TestClientAuthHostValidationNocheck (40.57s) +--- PASS: TestClientAuthHostValidationNocheck (32.10s) === RUN TestClientAuthHostValidationError -time="2024-01-08T11:55:32Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:46045/api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0x2010660)}" -time="2024-01-08T11:55:32Z" level=error msg="Authorization request error: Host validation error" -2024/01/08 11:55:32 http: TLS handshake error from 127.0.0.1:58440: read tcp 127.0.0.1:46045->127.0.0.1:58440: use of closed network connection ---- PASS: TestClientAuthHostValidationError (0.85s) +time="2024-01-08T12:23:20Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:41939/api/devices/v1/authentication/auth_requests\", Err:(*errors.errorString)(0x2010660)}" +time="2024-01-08T12:23:20Z" level=error msg="Authorization request error: Host validation error" +--- PASS: TestClientAuthHostValidationError (0.57s) === RUN TestClientAuthNotValidCertificate -time="2024-01-08T11:55:33Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:34137/api/devices/v1/authentication/auth_requests\", Err:not a valid certificate, openssl verify rc: 67 server cert file: testdata/server.ca.key.too.small.crt}" -time="2024-01-08T11:55:33Z" 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 (1.06s) +time="2024-01-08T12:23:21Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:37799/api/devices/v1/authentication/auth_requests\", Err:not a valid certificate, openssl verify rc: 67 server cert file: testdata/server.ca.key.too.small.crt}" +time="2024-01-08T12:23:21Z" level=error msg="Authorization request error: not a valid certificate, openssl verify rc: 67 server cert file: testdata/server.ca.key.too.small.crt" +2024/01/08 12:23:21 http: TLS handshake error from 127.0.0.1:41200: read tcp 127.0.0.1:37799->127.0.0.1:41200: use of closed network connection +--- PASS: TestClientAuthNotValidCertificate (0.78s) === RUN TestInventoryClient -time="2024-01-08T11:55:33Z" level=error msg="Failed to submit inventory data: foo" -time="2024-01-08T11:56:09Z" level=error msg="Got unexpected HTTP status when submitting to inventory: 401" ---- PASS: TestInventoryClient (36.23s) +time="2024-01-08T12:23:21Z" level=error msg="Failed to submit inventory data: foo" +time="2024-01-08T12:23:50Z" level=error msg="Got unexpected HTTP status when submitting to inventory: 401" +--- PASS: TestInventoryClient (29.25s) === RUN TestLogUploadClient -time="2024-01-08T11:56:10Z" level=error msg="failed to upload logs: foo" -time="2024-01-08T11:56:45Z" level=error msg="Got unexpected HTTP status when uploading log: 401" ---- PASS: TestLogUploadClient (36.20s) +time="2024-01-08T12:23:51Z" level=error msg="failed to upload logs: foo" +time="2024-01-08T12:24:13Z" level=error msg="Got unexpected HTTP status when uploading log: 401" +--- PASS: TestLogUploadClient (23.31s) === RUN TestStatusClient -time="2024-01-08T11:56:46Z" level=error msg="Failed to report status: foo" -time="2024-01-08T11:57:21Z" level=error msg="Got unexpected HTTP status when reporting status: 401" -time="2024-01-08T11:57:21Z" level=warning msg="Status report rejected, deployment aborted at the backend" ---- PASS: TestStatusClient (36.11s) +time="2024-01-08T12:24:14Z" level=error msg="Failed to report status: foo" +time="2024-01-08T12:24:42Z" level=error msg="Got unexpected HTTP status when reporting status: 401" +time="2024-01-08T12:24:42Z" level=warning msg="Status report rejected, deployment aborted at the backend" +--- PASS: TestStatusClient (28.57s) === RUN TestHttpClient -time="2024-01-08T11:57:23Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (testdata/missing.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" -time="2024-01-08T11:57:23Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" ---- PASS: TestHttpClient (1.37s) +time="2024-01-08T12:24:43Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (testdata/missing.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" +time="2024-01-08T12:24:43Z" 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 (1.01s) === RUN TestApiClientRequest -time="2024-01-08T11:57:59Z" level=info msg="Device unauthorized; attempting reauthorization" -time="2024-01-08T11:57:59Z" level=warning msg="Reauthorization failed with error: " -time="2024-01-08T11:57:59Z" level=info msg="Device unauthorized; attempting reauthorization" ---- PASS: TestApiClientRequest (36.79s) +time="2024-01-08T12:25:12Z" level=info msg="Device unauthorized; attempting reauthorization" +time="2024-01-08T12:25:12Z" level=warning msg="Reauthorization failed with error: " +time="2024-01-08T12:25:12Z" level=info msg="Device unauthorized; attempting reauthorization" +--- PASS: TestApiClientRequest (29.26s) === RUN TestClientConnectionTimeout -2024/01/08 11:58:05 httptest.Server blocked in Close after 5 seconds, waiting for connections: - *tls.Conn 0x23fe400 127.0.0.1:53172 in state new -2024/01/08 11:58:37 http: TLS handshake error from 127.0.0.1:53172: write tcp 127.0.0.1:45803->127.0.0.1:53172: use of closed network connection ---- PASS: TestClientConnectionTimeout (37.84s) +2024/01/08 12:25:18 httptest.Server blocked in Close after 5 seconds, waiting for connections: + *tls.Conn 0x242cc00 127.0.0.1:49122 in state new +2024/01/08 12:25:41 http: TLS handshake error from 127.0.0.1:49122: write tcp 127.0.0.1:36927->127.0.0.1:49122: use of closed network connection +--- PASS: TestClientConnectionTimeout (29.45s) === RUN TestHttpClientUrl --- PASS: TestHttpClientUrl (0.00s) === RUN TestLoadingTrust === RUN TestLoadingTrust/Test_loading_server_trust -time="2024-01-08T11:58:38Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (missing.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" +time="2024-01-08T12:25:42Z" 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 (1.50s) - --- PASS: TestLoadingTrust/Test_loading_server_trust (1.47s) - --- PASS: TestLoadingTrust/Test_loading_client_trust (0.03s) +--- PASS: TestLoadingTrust (1.22s) + --- PASS: TestLoadingTrust/Test_loading_server_trust (1.19s) + --- PASS: TestLoadingTrust/Test_loading_client_trust (0.04s) === RUN TestExponentialBackoffTimeCalculation --- PASS: TestExponentialBackoffTimeCalculation (0.00s) === RUN TestUnMarshalErrorMessage --- PASS: TestUnMarshalErrorMessage (0.00s) === RUN TestFailoverAPICall -time="2024-01-08T11:58:40Z" level=warning msg="Server \"fakeURL.404\" failed to serve request \"\". Attempting \"https://127.0.0.1:38795\"" ---- PASS: TestFailoverAPICall (37.14s) +time="2024-01-08T12:25:43Z" level=warning msg="Server \"fakeURL.404\" failed to serve request \"\". Attempting \"https://127.0.0.1:35175\"" +--- PASS: TestFailoverAPICall (30.13s) === RUN TestListSystemCertsFound ---- PASS: TestListSystemCertsFound (0.03s) +--- PASS: TestListSystemCertsFound (0.02s) === RUN TestParseUpdateResponse === RUN TestParseUpdateResponse/0 === PAUSE TestParseUpdateResponse/0 @@ -15733,28 +15768,28 @@ --- PASS: TestParseUpdateResponse/2 (0.00s) --- PASS: TestParseUpdateResponse/1 (0.00s) === RUN Test_GetScheduledUpdate_errorParsingResponse_UpdateFailing -time="2024-01-08T11:59:17Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (test/server.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" -time="2024-01-08T11:59:17Z" 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" -2024/01/08 11:59:52 http: TLS handshake error from 127.0.0.1:44756: read tcp 127.0.0.1:44813->127.0.0.1:44756: use of closed network connection ---- PASS: Test_GetScheduledUpdate_errorParsingResponse_UpdateFailing (36.10s) +time="2024-01-08T12:26:13Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (test/server.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" +time="2024-01-08T12:26: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" +2024/01/08 12:26:43 http: TLS handshake error from 127.0.0.1:35018: read tcp 127.0.0.1:37679->127.0.0.1:35018: use of closed network connection +--- PASS: Test_GetScheduledUpdate_errorParsingResponse_UpdateFailing (30.69s) === RUN Test_GetScheduledUpdate_responseMissingParameters_UpdateFailing ---- PASS: Test_GetScheduledUpdate_responseMissingParameters_UpdateFailing (36.48s) +--- PASS: Test_GetScheduledUpdate_responseMissingParameters_UpdateFailing (26.73s) === RUN Test_GetScheduledUpdate_ParsingResponseOK_updateSuccess -time="2024-01-08T12:01:04Z" 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 (35.94s) +time="2024-01-08T12:27:40Z" 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 (29.51s) === RUN Test_FetchUpdate_noContent_UpdateFailing -time="2024-01-08T12:01:05Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (server.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" -time="2024-01-08T12:01:05Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" -time="2024-01-08T12:01:40Z" level=error msg="Can not fetch update image: Get \"https://127.0.0.1:45359\": depth zero self-signed certificate, openssl verify rc: 18 server cert file: server.crt" -2024/01/08 12:01:40 http: TLS handshake error from 127.0.0.1:44518: read tcp 127.0.0.1:45359->127.0.0.1:44518: use of closed network connection ---- PASS: Test_FetchUpdate_noContent_UpdateFailing (35.94s) +time="2024-01-08T12:27:40Z" level=warning msg="IGNORING ERROR: The client server-certificate can not be loaded: (server.crt). The client will continue running, but may not be able to communicate with the server. If this is not your intention please add a valid server certificate" +time="2024-01-08T12:27:40Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: system library:fopen:No such file or directory\nBIO routines:BIO_new_file:no such file\nx509 certificate routines:X509_load_cert_crl_file:system lib" +time="2024-01-08T12:28:05Z" level=error msg="Can not fetch update image: Get \"https://127.0.0.1:36821\": depth zero self-signed certificate, openssl verify rc: 18 server cert file: server.crt" +2024/01/08 12:28:05 http: TLS handshake error from 127.0.0.1:44288: read tcp 127.0.0.1:36821->127.0.0.1:44288: use of closed network connection +--- PASS: Test_FetchUpdate_noContent_UpdateFailing (25.68s) === RUN Test_FetchUpdate_invalidRequest_UpdateFailing -time="2024-01-08T12:01:41Z" level=error msg="Can not fetch update image: Get \"broken-request\": unsupported protocol scheme \"\"" ---- PASS: Test_FetchUpdate_invalidRequest_UpdateFailing (0.75s) +time="2024-01-08T12:28:06Z" level=error msg="Can not fetch update image: Get \"broken-request\": unsupported protocol scheme \"\"" +--- PASS: Test_FetchUpdate_invalidRequest_UpdateFailing (0.48s) === RUN Test_FetchUpdate_correctContent_UpdateFetched ---- PASS: Test_FetchUpdate_correctContent_UpdateFetched (35.98s) +--- PASS: Test_FetchUpdate_correctContent_UpdateFetched (26.88s) === RUN Test_UpdateApiClientError -time="2024-01-08T12:02:17Z" level=error msg="Can not fetch update image: foo" +time="2024-01-08T12:28:33Z" 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 @@ -15762,368 +15797,540 @@ 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 -panic: test timed out after 10m0s - -goroutine 241 [running]: -testing.(*M).startAlarm.func1() - /usr/lib/go-1.15/src/testing/testing.go:1618 +0xbc -created by time.goFunc - /usr/lib/go-1.15/src/time/sleep.go:167 +0x34 - -goroutine 1 [chan receive, 1 minutes]: -testing.(*T).Run(0x23f4a80, 0x3a2636, 0x11, 0x3bd0c0, 0x401) - /usr/lib/go-1.15/src/testing/testing.go:1169 +0x240 -testing.runTests.func1(0x20016c0) - /usr/lib/go-1.15/src/testing/testing.go:1439 +0x68 -testing.tRunner(0x20016c0, 0x20c5ed8) - /usr/lib/go-1.15/src/testing/testing.go:1123 +0xc8 -testing.runTests(0x200e3e0, 0x598df0, 0x21, 0x21, 0x38c56ee6, 0xc15f1702, 0xb5a58110, 0x8b, 0x5e9538, 0x2098230) - /usr/lib/go-1.15/src/testing/testing.go:1437 +0x268 -testing.(*M).Run(0x2098230, 0x0) - /usr/lib/go-1.15/src/testing/testing.go:1345 +0x16c -main.main() - _testmain.go:107 +0x120 - -goroutine 284 [select]: -net/http.(*Transport).getConn(0x22d2000, 0x2416820, 0x0, 0x21ec000, 0x5, 0x244c430, 0xf, 0x0, 0x0, 0x0, ...) - /usr/lib/go-1.15/src/net/http/transport.go:1350 +0x3f8 -net/http.(*Transport).roundTrip(0x22d2000, 0x2331580, 0xb6bfeb77, 0xd9f, 0x5e9538) - /usr/lib/go-1.15/src/net/http/transport.go:569 +0x5a0 -net/http.(*Transport).RoundTrip(0x22d2000, 0x2331580, 0x22d2000, 0x1f15214d, 0xc15f250d) - /usr/lib/go-1.15/src/net/http/roundtrip.go:17 +0x24 -net/http.send(0x2331480, 0x410570, 0x22d2000, 0x1f15214d, 0xc15f250d, 0xb6bfeb77, 0xd9f, 0x5e9538, 0x218e1d0, 0xd9f, ...) - /usr/lib/go-1.15/src/net/http/client.go:252 +0x36c -net/http.(*Client).send(0x24166a0, 0x2331480, 0x1f15214d, 0xc15f250d, 0xb6bfeb77, 0xd9f, 0x5e9538, 0x2, 0x220c06f, 0x8, ...) - /usr/lib/go-1.15/src/net/http/client.go:176 +0xb8 -net/http.(*Client).do(0x24166a0, 0x2331480, 0x0, 0x0, 0x0) - /usr/lib/go-1.15/src/net/http/client.go:718 +0x338 -net/http.(*Client).Do(0x24166a0, 0x2331480, 0x0, 0x0, 0x0) - /usr/lib/go-1.15/src/net/http/client.go:586 +0x24 -github.com/mendersoftware/mender/client.(*UpdateClient).getUpdateInfo(0x244c408, 0x4102b8, 0x24166a0, 0x3bd0bc, 0x2256820, 0x17, 0x22950a0, 0x0, 0x0, 0x0, ...) - /build/reproducible-path/mender-client-2.4.1/obj-arm-linux-gnueabihf/src/github.com/mendersoftware/mender/client/client_update.go:90 +0x90 -github.com/mendersoftware/mender/client.TestGetUpdateInfo(0x23f4a80) - /build/reproducible-path/mender-client-2.4.1/obj-arm-linux-gnueabihf/src/github.com/mendersoftware/mender/client/client_update_test.go:468 +0x5c4 -testing.tRunner(0x23f4a80, 0x3bd0c0) - /usr/lib/go-1.15/src/testing/testing.go:1123 +0xc8 -created by testing.(*T).Run - /usr/lib/go-1.15/src/testing/testing.go:1168 +0x220 - -goroutine 279 [select, 2 minutes]: -net/http.setRequestCancel.func4(0x0, 0x2294ae0, 0x233a280, 0x201d888, 0x2198000) - /usr/lib/go-1.15/src/net/http/client.go:398 +0x78 -created by net/http.setRequestCancel - /usr/lib/go-1.15/src/net/http/client.go:397 +0x280 - -goroutine 256 [select, 1 minutes]: -net/http.(*persistConn).readLoop(0x20d4000) - /usr/lib/go-1.15/src/net/http/transport.go:2167 +0x76c -created by net/http.(*Transport).dialConn - /usr/lib/go-1.15/src/net/http/transport.go:1715 +0x9b8 - -goroutine 306 [IO wait]: -internal/poll.runtime_pollWait(0xa50bd418, 0x72, 0x4110e0) - /usr/lib/go-1.15/src/runtime/netpoll.go:222 +0x44 -internal/poll.(*pollDesc).wait(0x2098564, 0x72, 0x411000, 0x59b1ec, 0x0) - /usr/lib/go-1.15/src/internal/poll/fd_poll_runtime.go:87 +0x30 -internal/poll.(*pollDesc).waitRead(...) - /usr/lib/go-1.15/src/internal/poll/fd_poll_runtime.go:92 -internal/poll.(*FD).Read(0x2098550, 0x21f2000, 0x4000, 0x4000, 0x0, 0x0, 0x0) - /usr/lib/go-1.15/src/internal/poll/fd_unix.go:159 +0x188 -net.(*netFD).Read(0x2098550, 0x21f2000, 0x4000, 0x4000, 0x8c801, 0x0, 0x2ac3bc) - /usr/lib/go-1.15/src/net/fd_posix.go:55 +0x38 -net.(*conn).Read(0x218e228, 0x21f2000, 0x4000, 0x4000, 0x0, 0x0, 0x0) - /usr/lib/go-1.15/src/net/net.go:182 +0x64 -github.com/mendersoftware/openssl.(*readBio).ReadFromOnce(0x2416920, 0x4104c8, 0x218e228, 0x0, 0x0, 0x0) - /build/reproducible-path/mender-client-2.4.1/obj-arm-linux-gnueabihf/src/github.com/mendersoftware/openssl/bio.go:242 +0xf4 -github.com/mendersoftware/openssl.(*Conn).fillInputBuffer(0x224e090, 0x0, 0x221e5f0) - /build/reproducible-path/mender-client-2.4.1/obj-arm-linux-gnueabihf/src/github.com/mendersoftware/openssl/conn.go:242 +0x54 -github.com/mendersoftware/openssl.(*Conn).getErrorHandler.func4(0x0, 0x0) - /build/reproducible-path/mender-client-2.4.1/obj-arm-linux-gnueabihf/src/github.com/mendersoftware/openssl/conn.go:286 +0x64 -github.com/mendersoftware/openssl.(*Conn).handleError(...) - /build/reproducible-path/mender-client-2.4.1/obj-arm-linux-gnueabihf/src/github.com/mendersoftware/openssl/conn.go:323 -github.com/mendersoftware/openssl.(*Conn).Handshake(0x224e090, 0x244c430, 0x9) - /build/reproducible-path/mender-client-2.4.1/obj-arm-linux-gnueabihf/src/github.com/mendersoftware/openssl/conn.go:349 +0x88 -github.com/mendersoftware/openssl.DialSession(0x39de5b, 0x3, 0x244c430, 0xf, 0x231db30, 0x0, 0x0, 0x0, 0x0, 0x27214, ...) - /build/reproducible-path/mender-client-2.4.1/obj-arm-linux-gnueabihf/src/github.com/mendersoftware/openssl/net.go:138 +0xe4 -github.com/mendersoftware/openssl.Dial(...) - /build/reproducible-path/mender-client-2.4.1/obj-arm-linux-gnueabihf/src/github.com/mendersoftware/openssl/net.go:82 -github.com/mendersoftware/mender/client.dialOpenSSL(0x231db30, 0x2388b80, 0x39de5b, 0x3, 0x244c430, 0xf, 0x22f6140, 0xa0, 0xb6b6b088, 0x20d40a0) - /build/reproducible-path/mender-client-2.4.1/obj-arm-linux-gnueabihf/src/github.com/mendersoftware/mender/client/client.go:443 +0x60 -github.com/mendersoftware/mender/client.newHttpsClient.func1(0x39de5b, 0x3, 0x244c430, 0xf, 0x292788, 0x40, 0x292830, 0x201c0e8) - /build/reproducible-path/mender-client-2.4.1/obj-arm-linux-gnueabihf/src/github.com/mendersoftware/mender/client/client.go:498 +0x44 -net/http.(*Transport).customDialTLS(0x22d2000, 0x413660, 0x230ccc0, 0x39de5b, 0x3, 0x244c430, 0xf, 0x0, 0x2304bd8, 0x1, ...) - /usr/lib/go-1.15/src/net/http/transport.go:1294 +0xf0 -net/http.(*Transport).dialConn(0x22d2000, 0x413660, 0x230ccc0, 0x0, 0x21ec000, 0x5, 0x244c430, 0xf, 0x0, 0x20d40a0, ...) - /usr/lib/go-1.15/src/net/http/transport.go:1558 +0x240 -net/http.(*Transport).dialConnFor(0x22d2000, 0x21ee000) - /usr/lib/go-1.15/src/net/http/transport.go:1424 +0x64 -created by net/http.(*Transport).queueForDial - /usr/lib/go-1.15/src/net/http/transport.go:1393 +0x2ec - -goroutine 288 [IO wait, 1 minutes]: -internal/poll.runtime_pollWait(0xa50bd5e0, 0x72, 0x4110e0) - /usr/lib/go-1.15/src/runtime/netpoll.go:222 +0x44 -internal/poll.(*pollDesc).wait(0x2306a14, 0x72, 0x411000, 0x59b1ec, 0x0) - /usr/lib/go-1.15/src/internal/poll/fd_poll_runtime.go:87 +0x30 -internal/poll.(*pollDesc).waitRead(...) - /usr/lib/go-1.15/src/internal/poll/fd_poll_runtime.go:92 -internal/poll.(*FD).Read(0x2306a00, 0x23c8fc0, 0x205, 0x205, 0x0, 0x0, 0x0) - /usr/lib/go-1.15/src/internal/poll/fd_unix.go:159 +0x188 -net.(*netFD).Read(0x2306a00, 0x23c8fc0, 0x205, 0x205, 0x0, 0x27124, 0x27a2c) - /usr/lib/go-1.15/src/net/fd_posix.go:55 +0x38 -net.(*conn).Read(0x230f418, 0x23c8fc0, 0x205, 0x205, 0x0, 0x0, 0x0) - /usr/lib/go-1.15/src/net/net.go:182 +0x64 -crypto/tls.(*atLeastReader).Read(0x200e210, 0x23c8fc0, 0x205, 0x205, 0x23fd8, 0x1f9080, 0x4104c8) - /usr/lib/go-1.15/src/crypto/tls/conn.go:779 +0x78 -bytes.(*Buffer).ReadFrom(0x2398d70, 0x410180, 0x200e210, 0x1be6c, 0x1f693c, 0x357090, 0x392c68) - /usr/lib/go-1.15/src/bytes/buffer.go:204 +0xa4 -crypto/tls.(*Conn).readFromUntil(0x2398c00, 0x4104c8, 0x230f418, 0x5, 0x230f418, 0x0) - /usr/lib/go-1.15/src/crypto/tls/conn.go:801 +0xc4 -crypto/tls.(*Conn).readRecordOrCCS(0x2398c00, 0x0, 0x0, 0x0) - /usr/lib/go-1.15/src/crypto/tls/conn.go:608 +0xfc -crypto/tls.(*Conn).readRecord(...) - /usr/lib/go-1.15/src/crypto/tls/conn.go:576 -crypto/tls.(*Conn).Read(0x2398c00, 0x2218000, 0x1000, 0x1000, 0x0, 0x0, 0x0) - /usr/lib/go-1.15/src/crypto/tls/conn.go:1252 +0x150 -net/http.(*connReader).Read(0x200cba0, 0x2218000, 0x1000, 0x1000, 0x0, 0x0, 0x0) - /usr/lib/go-1.15/src/net/http/server.go:798 +0x160 -bufio.(*Reader).fill(0x224e150) - /usr/lib/go-1.15/src/bufio/bufio.go:101 +0x108 -bufio.(*Reader).Peek(0x224e150, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0) - /usr/lib/go-1.15/src/bufio/bufio.go:139 +0x38 -net/http.(*conn).readRequest(0x231ad80, 0x413620, 0x200ca40, 0x0, 0x0, 0x0) - /usr/lib/go-1.15/src/net/http/server.go:981 +0xc3c -net/http.(*conn).serve(0x231ad80, 0x413620, 0x200ca40) - /usr/lib/go-1.15/src/net/http/server.go:1851 +0x640 -created by net/http.(*Server).Serve - /usr/lib/go-1.15/src/net/http/server.go:2969 +0x2d0 - -goroutine 140 [select, 5 minutes]: -net/http.setRequestCancel.func4(0x0, 0x2190da0, 0x2277040, 0x226ff4c, 0x205e4c0) - /usr/lib/go-1.15/src/net/http/client.go:398 +0x78 -created by net/http.setRequestCancel - /usr/lib/go-1.15/src/net/http/client.go:397 +0x280 - -goroutine 178 [select, 5 minutes]: -net/http.setRequestCancel.func4(0x0, 0x21912c0, 0x22774c0, 0x244c120, 0x205e700) - /usr/lib/go-1.15/src/net/http/client.go:398 +0x78 -created by net/http.setRequestCancel - /usr/lib/go-1.15/src/net/http/client.go:397 +0x280 - -goroutine 182 [select, 5 minutes]: -net/http.setRequestCancel.func4(0x0, 0x21914c0, 0x2277680, 0x244c270, 0x205e8c0) - /usr/lib/go-1.15/src/net/http/client.go:398 +0x78 -created by net/http.setRequestCancel - /usr/lib/go-1.15/src/net/http/client.go:397 +0x280 - -goroutine 129 [select, 5 minutes]: -net/http.setRequestCancel.func4(0x0, 0x2372b00, 0x2061680, 0x2551138, 0x22f6780) - /usr/lib/go-1.15/src/net/http/client.go:398 +0x78 -created by net/http.setRequestCancel - /usr/lib/go-1.15/src/net/http/client.go:397 +0x280 - -goroutine 169 [select, 5 minutes]: -net/http.setRequestCancel.func4(0x0, 0x22b9ba0, 0x230dc80, 0x2471a18, 0x21987c0) - /usr/lib/go-1.15/src/net/http/client.go:398 +0x78 -created by net/http.setRequestCancel - /usr/lib/go-1.15/src/net/http/client.go:397 +0x280 - -goroutine 285 [IO wait, 1 minutes]: -internal/poll.runtime_pollWait(0xa50bd4b0, 0x72, 0x0) - /usr/lib/go-1.15/src/runtime/netpoll.go:222 +0x44 -internal/poll.(*pollDesc).wait(0x23066a4, 0x72, 0x0, 0x0, 0x39eacc) - /usr/lib/go-1.15/src/internal/poll/fd_poll_runtime.go:87 +0x30 -internal/poll.(*pollDesc).waitRead(...) - /usr/lib/go-1.15/src/internal/poll/fd_poll_runtime.go:92 -internal/poll.(*FD).Accept(0x2306690, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) - /usr/lib/go-1.15/src/internal/poll/fd_unix.go:394 +0x1d0 -net.(*netFD).accept(0x2306690, 0x22764ac, 0x2373da0, 0x22fd6ec) - /usr/lib/go-1.15/src/net/fd_unix.go:172 +0x20 -net.(*TCPListener).accept(0x230a370, 0x22764ac, 0x414538, 0x2398c00) - /usr/lib/go-1.15/src/net/tcpsock_posix.go:139 +0x20 -net.(*TCPListener).Accept(0x230a370, 0x2398c00, 0x5b764, 0x283de4, 0x22fd714) - /usr/lib/go-1.15/src/net/tcpsock.go:261 +0x54 -crypto/tls.(*listener).Accept(0x230aef0, 0x22fd738, 0xc, 0x2182c40, 0x283de4) - /usr/lib/go-1.15/src/crypto/tls/tls.go:67 +0x28 -net/http.(*Server).Serve(0x23b8630, 0x412ea0, 0x230aef0, 0x0, 0x0) - /usr/lib/go-1.15/src/net/http/server.go:2937 +0x1fc -net/http/httptest.(*Server).goServe.func1(0x2276480) - /usr/lib/go-1.15/src/net/http/httptest/server.go:308 +0x60 -created by net/http/httptest.(*Server).goServe - /usr/lib/go-1.15/src/net/http/httptest/server.go:306 +0x48 - -goroutine 217 [select, 4 minutes]: -net/http.setRequestCancel.func4(0x0, 0x237a000, 0x2060b40, 0x2471548, 0x23084c0) - /usr/lib/go-1.15/src/net/http/client.go:398 +0x78 -created by net/http.setRequestCancel - /usr/lib/go-1.15/src/net/http/client.go:397 +0x280 - -goroutine 240 [IO wait]: -internal/poll.runtime_pollWait(0xa50bd548, 0x72, 0x0) - /usr/lib/go-1.15/src/runtime/netpoll.go:222 +0x44 -internal/poll.(*pollDesc).wait(0x2099504, 0x72, 0x0, 0x0, 0x39eacc) - /usr/lib/go-1.15/src/internal/poll/fd_poll_runtime.go:87 +0x30 -internal/poll.(*pollDesc).waitRead(...) - /usr/lib/go-1.15/src/internal/poll/fd_poll_runtime.go:92 -internal/poll.(*FD).Accept(0x20994f0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) - /usr/lib/go-1.15/src/internal/poll/fd_unix.go:394 +0x1d0 -net.(*netFD).accept(0x20994f0, 0x233a76c, 0x2373400, 0x21de6ec) - /usr/lib/go-1.15/src/net/fd_unix.go:172 +0x20 -net.(*TCPListener).accept(0x200e290, 0x233a76c, 0x414538, 0x2399000) - /usr/lib/go-1.15/src/net/tcpsock_posix.go:139 +0x20 -net.(*TCPListener).Accept(0x200e290, 0x2399000, 0x5b764, 0x283de4, 0x21de714) - /usr/lib/go-1.15/src/net/tcpsock.go:261 +0x54 -crypto/tls.(*listener).Accept(0x200ef80, 0x21de738, 0xc, 0x2182ee0, 0x283de4) - /usr/lib/go-1.15/src/crypto/tls/tls.go:67 +0x28 -net/http.(*Server).Serve(0x231e120, 0x412ea0, 0x200ef80, 0x0, 0x0) - /usr/lib/go-1.15/src/net/http/server.go:2937 +0x1fc -net/http/httptest.(*Server).goServe.func1(0x233a740) - /usr/lib/go-1.15/src/net/http/httptest/server.go:308 +0x60 -created by net/http/httptest.(*Server).goServe - /usr/lib/go-1.15/src/net/http/httptest/server.go:306 +0x48 - -goroutine 293 [IO wait, 1 minutes]: -internal/poll.runtime_pollWait(0xa50bd678, 0x72, 0x4110e0) - /usr/lib/go-1.15/src/runtime/netpoll.go:222 +0x44 -internal/poll.(*pollDesc).wait(0x23069c4, 0x72, 0x411000, 0x59b1ec, 0x0) - /usr/lib/go-1.15/src/internal/poll/fd_poll_runtime.go:87 +0x30 -internal/poll.(*pollDesc).waitRead(...) - /usr/lib/go-1.15/src/internal/poll/fd_poll_runtime.go:92 -internal/poll.(*FD).Read(0x23069b0, 0x2202000, 0x4000, 0x4000, 0x0, 0x0, 0x0) - /usr/lib/go-1.15/src/internal/poll/fd_unix.go:159 +0x188 -net.(*netFD).Read(0x23069b0, 0x2202000, 0x4000, 0x4000, 0x8c801, 0x0, 0x2ac3bc) - /usr/lib/go-1.15/src/net/fd_posix.go:55 +0x38 -net.(*conn).Read(0x23f2000, 0x2202000, 0x4000, 0x4000, 0x0, 0x0, 0x0) - /usr/lib/go-1.15/src/net/net.go:182 +0x64 -github.com/mendersoftware/openssl.(*readBio).ReadFromOnce(0x200c540, 0x4104c8, 0x23f2000, 0x0, 0x0, 0x0) - /build/reproducible-path/mender-client-2.4.1/obj-arm-linux-gnueabihf/src/github.com/mendersoftware/openssl/bio.go:242 +0xf4 -github.com/mendersoftware/openssl.(*Conn).fillInputBuffer(0x224e000, 0x224e01c, 0x2447000) - /build/reproducible-path/mender-client-2.4.1/obj-arm-linux-gnueabihf/src/github.com/mendersoftware/openssl/conn.go:242 +0x54 -github.com/mendersoftware/openssl.(*Conn).getErrorHandler.func4(0x0, 0x0) - /build/reproducible-path/mender-client-2.4.1/obj-arm-linux-gnueabihf/src/github.com/mendersoftware/openssl/conn.go:286 +0x64 -github.com/mendersoftware/openssl.(*Conn).handleError(...) - /build/reproducible-path/mender-client-2.4.1/obj-arm-linux-gnueabihf/src/github.com/mendersoftware/openssl/conn.go:323 -github.com/mendersoftware/openssl.(*Conn).Read(0x224e000, 0x2447000, 0x1000, 0x1000, 0x230f3e8, 0x1, 0x204be40) - /build/reproducible-path/mender-client-2.4.1/obj-arm-linux-gnueabihf/src/github.com/mendersoftware/openssl/conn.go:515 +0x154 -net/http.(*persistConn).Read(0x21a2000, 0x2447000, 0x1000, 0x1000, 0x7f718, 0x204bf40, 0x2) - /usr/lib/go-1.15/src/net/http/transport.go:1894 +0x16c -bufio.(*Reader).fill(0x206aab0) - /usr/lib/go-1.15/src/bufio/bufio.go:101 +0x108 -bufio.(*Reader).Peek(0x206aab0, 0x1, 0x2, 0x0, 0x0, 0x0, 0x205e5c0) - /usr/lib/go-1.15/src/bufio/bufio.go:139 +0x38 -net/http.(*persistConn).readLoop(0x21a2000) - /usr/lib/go-1.15/src/net/http/transport.go:2047 +0x15c -created by net/http.(*Transport).dialConn - /usr/lib/go-1.15/src/net/http/transport.go:1715 +0x9b8 - -goroutine 257 [select, 1 minutes]: -net/http.(*persistConn).writeLoop(0x20d4000) - /usr/lib/go-1.15/src/net/http/transport.go:2346 +0xc4 -created by net/http.(*Transport).dialConn - /usr/lib/go-1.15/src/net/http/transport.go:1716 +0x9d4 - -goroutine 296 [runnable]: -math/big.nat.montgomery(0x2136d00, 0x100, 0x206, 0x2135b00, 0x100, 0x204, 0x2135b00, 0x100, 0x204, 0x2347b00, ...) - /usr/lib/go-1.15/src/math/big/nat.go:213 +0x3c8 -math/big.nat.expNNMontgomery(0x2135b00, 0x100, 0x204, 0x2136400, 0x100, 0x205, 0x241d600, 0x100, 0x205, 0x2347b00, ...) - /usr/lib/go-1.15/src/math/big/nat.go:1448 +0x6b4 -math/big.nat.expNN(0x0, 0x0, 0x0, 0x2148a00, 0x200, 0xc04, 0x241d600, 0x100, 0x205, 0x2347b00, ...) - /usr/lib/go-1.15/src/math/big/nat.go:1261 +0x704 -math/big.(*Int).Exp(0x24bed20, 0x2247a14, 0x200e7b0, 0x200e750, 0x2247a24) - /usr/lib/go-1.15/src/math/big/int.go:509 +0x138 -crypto/rsa.decrypt(0x410150, 0x200c460, 0x231d530, 0x2247a14, 0x208f600, 0x200, 0x204) - /usr/lib/go-1.15/src/crypto/rsa/rsa.go:535 +0xd4 -crypto/rsa.decryptAndCheck(0x410150, 0x200c460, 0x231d530, 0x2247ad0, 0x800, 0x800, 0x208f600) - /usr/lib/go-1.15/src/crypto/rsa/rsa.go:570 +0x34 -crypto/rsa.signPSSWithSalt(0x410150, 0x200c460, 0x231d530, 0x5, 0x237cca0, 0x20, 0x20, 0x237ccc0, 0x20, 0x20, ...) - /usr/lib/go-1.15/src/crypto/rsa/pss.go:217 +0x134 -crypto/rsa.SignPSS(0x410150, 0x200c460, 0x231d530, 0x5, 0x237cca0, 0x20, 0x20, 0x226f460, 0x21493c, 0x35bf18, ...) - /usr/lib/go-1.15/src/crypto/rsa/pss.go:281 +0x13c -crypto/rsa.(*PrivateKey).Sign(0x231d530, 0x410150, 0x200c460, 0x237cca0, 0x20, 0x20, 0x410168, 0x226f460, 0x1f9d9c, 0x2399000, ...) - /usr/lib/go-1.15/src/crypto/rsa/rsa.go:146 +0x64 -crypto/tls.(*serverHandshakeStateTLS13).sendServerCertificate(0x2247cf4, 0x0, 0x0) - /usr/lib/go-1.15/src/crypto/tls/handshake_server_tls13.go:623 +0x308 -crypto/tls.(*serverHandshakeStateTLS13).handshake(0x2247cf4, 0x235c100, 0x0) - /usr/lib/go-1.15/src/crypto/tls/handshake_server_tls13.go:59 +0xa0 -crypto/tls.(*Conn).serverHandshake(0x2399000, 0x1, 0x1fbf01) - /usr/lib/go-1.15/src/crypto/tls/handshake_server.go:50 +0x68 -crypto/tls.(*Conn).Handshake(0x2399000, 0x0, 0x0) - /usr/lib/go-1.15/src/crypto/tls/conn.go:1362 +0xd0 -net/http.(*conn).serve(0x2556060, 0x413680, 0x2388c40) - /usr/lib/go-1.15/src/net/http/server.go:1817 +0x180 -created by net/http.(*Server).Serve - /usr/lib/go-1.15/src/net/http/server.go:2969 +0x2d0 - -goroutine 294 [select, 1 minutes]: -net/http.(*persistConn).writeLoop(0x21a2000) - /usr/lib/go-1.15/src/net/http/transport.go:2346 +0xc4 -created by net/http.(*Transport).dialConn - /usr/lib/go-1.15/src/net/http/transport.go:1716 +0x9d4 - -goroutine 289 [select]: -net/http.setRequestCancel.func4(0x0, 0x24167e0, 0x230cd80, 0x244c41c, 0x22f6040) - /usr/lib/go-1.15/src/net/http/client.go:398 +0x78 -created by net/http.setRequestCancel - /usr/lib/go-1.15/src/net/http/client.go:397 +0x280 -FAIL github.com/mendersoftware/mender/client 600.220s +--- PASS: TestGetUpdateInfo (77.56s) +=== RUN TestBrokenReadAndPartialDownload +=== RUN TestBrokenReadAndPartialDownload/group +=== RUN TestBrokenReadAndPartialDownload/group/success +=== PAUSE TestBrokenReadAndPartialDownload/group/success +=== RUN TestBrokenReadAndPartialDownload/group/earlyRangeStart +=== PAUSE TestBrokenReadAndPartialDownload/group/earlyRangeStart +=== RUN TestBrokenReadAndPartialDownload/group/lateRangeStart +=== PAUSE TestBrokenReadAndPartialDownload/group/lateRangeStart +=== RUN TestBrokenReadAndPartialDownload/group/brokenContentLength +=== PAUSE TestBrokenReadAndPartialDownload/group/brokenContentLength +=== RUN TestBrokenReadAndPartialDownload/group/missingContentLength +=== PAUSE TestBrokenReadAndPartialDownload/group/missingContentLength +=== RUN TestBrokenReadAndPartialDownload/group/noPartialContentSupport +=== PAUSE TestBrokenReadAndPartialDownload/group/noPartialContentSupport +=== RUN TestBrokenReadAndPartialDownload/group/emptyContentRange +=== PAUSE TestBrokenReadAndPartialDownload/group/emptyContentRange +=== RUN TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange +=== PAUSE TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange +=== RUN TestBrokenReadAndPartialDownload/group/improperlyFormattedContentRange +=== PAUSE TestBrokenReadAndPartialDownload/group/improperlyFormattedContentRange +=== RUN TestBrokenReadAndPartialDownload/group/missingBytesContentRange +=== PAUSE TestBrokenReadAndPartialDownload/group/missingBytesContentRange +=== RUN TestBrokenReadAndPartialDownload/group/missingContentRange +=== PAUSE TestBrokenReadAndPartialDownload/group/missingContentRange +=== RUN TestBrokenReadAndPartialDownload/group/tooManyContentRanges +=== PAUSE TestBrokenReadAndPartialDownload/group/tooManyContentRanges +=== RUN TestBrokenReadAndPartialDownload/group/garbledContentStart +=== PAUSE TestBrokenReadAndPartialDownload/group/garbledContentStart +=== RUN TestBrokenReadAndPartialDownload/group/breakAfterShortRange +=== PAUSE TestBrokenReadAndPartialDownload/group/breakAfterShortRange +=== RUN TestBrokenReadAndPartialDownload/group/serverDownAndUp +=== PAUSE TestBrokenReadAndPartialDownload/group/serverDownAndUp +=== RUN TestBrokenReadAndPartialDownload/group/serverDown +=== PAUSE TestBrokenReadAndPartialDownload/group/serverDown +=== CONT TestBrokenReadAndPartialDownload/group/success +=== CONT TestBrokenReadAndPartialDownload/group/improperlyFormattedContentRange +=== CONT TestBrokenReadAndPartialDownload/group/serverDown +=== CONT TestBrokenReadAndPartialDownload/group/serverDownAndUp +time="2024-01-08T12:29:50Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:29:50Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:29:51Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:29:51Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:29:51Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:29:51Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:29:51Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:29:51Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:29:51Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:29:51Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:29:51Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:29:52Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:29:52Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:29:52Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:29:52Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:29:52Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:29:52Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:29:52Z" level=info msg="Attempting to resume artifact download from offset 3406" +time="2024-01-08T12:29:52Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:29:52Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:29:52Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:29:52Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:29:52Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:29:53Z" level=info msg="Attempting to resume artifact download from offset 3406" +time="2024-01-08T12:29:53Z" level=info msg="Attempting to resume artifact download from offset 3406" +time="2024-01-08T12:29:53Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:29:53Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:29:53Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:29:53Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:29:53Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2024-01-08T12:29:53Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:29:53Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:29:53Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:29:53Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:29:53Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:29:54Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2024-01-08T12:29:54Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2024-01-08T12:29:54Z" level=info msg="Download resume request failed: Get \"http://localhost:9767/update_resumer_test.go\": dial tcp 127.0.0.1:9767: connect: connection refused" +time="2024-01-08T12:29:54Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:29:54Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:29:54Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" +time="2024-01-08T12:29:54Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:29:54Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:29:54Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:29:54Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:29:54Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:29:55Z" level=info msg="Attempting to resume artifact download from offset 6812" +time="2024-01-08T12:29:55Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:29:55Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:29:56Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2024-01-08T12:29:56Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2024-01-08T12:29:56Z" level=info msg="Download resume request failed: Get \"http://localhost:9767/update_resumer_test.go\": dial tcp 127.0.0.1:9767: connect: connection refused" +time="2024-01-08T12:29:56Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:29:56Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:29:56Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" +time="2024-01-08T12:29:56Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:29:56Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:29:56Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:29:56Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:29:56Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:29:57Z" level=info msg="Attempting to resume artifact download from offset 8515" +=== CONT TestBrokenReadAndPartialDownload/group/breakAfterShortRange +time="2024-01-08T12:29:58Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2024-01-08T12:29:58Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2024-01-08T12:29:58Z" level=info msg="Download resume request failed: Get \"http://localhost:9767/update_resumer_test.go\": dial tcp 127.0.0.1:9767: connect: connection refused" +time="2024-01-08T12:29:58Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:29:58Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:29:58Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" +time="2024-01-08T12:29:58Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:29:58Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:29:58Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:29:58Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:29:58Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:29:58Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:29:58Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:29:59Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:29:59Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:29:59Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:00Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2024-01-08T12:30:00Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2024-01-08T12:30:00Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" +time="2024-01-08T12:30:00Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:00Z" level=info msg="Resuming download in 3s" +time="2024-01-08T12:30:00Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:00Z" level=info msg="Resuming download in 3s" +time="2024-01-08T12:30:00Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:00Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:00Z" level=info msg="Resuming download in 3s" +time="2024-01-08T12:30:00Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:00Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:00Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:01Z" level=info msg="Attempting to resume artifact download from offset 3401" +time="2024-01-08T12:30:01Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:01Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:30:03Z" level=info msg="Attempting to resume artifact download from offset 6812" +time="2024-01-08T12:30:03Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2024-01-08T12:30:03Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" +time="2024-01-08T12:30:03Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:03Z" level=info msg="Resuming download in 3s" +time="2024-01-08T12:30:03Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:03Z" level=info msg="Resuming download in 3s" +time="2024-01-08T12:30:03Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:03Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:03Z" level=info msg="Resuming download in 3s" +time="2024-01-08T12:30:03Z" level=info msg="Attempting to resume artifact download from offset 5099" +time="2024-01-08T12:30:03Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:03Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:30:05Z" level=info msg="Attempting to resume artifact download from offset 6797" +time="2024-01-08T12:30:05Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:05Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:30:06Z" level=info msg="Attempting to resume artifact download from offset 8515" +time="2024-01-08T12:30:06Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2024-01-08T12:30:06Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" +time="2024-01-08T12:30:06Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:06Z" level=info msg="Resuming download in 3s" +=== CONT TestBrokenReadAndPartialDownload/group/garbledContentStart +time="2024-01-08T12:30:06Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:06Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:06Z" level=info msg="Resuming download in 3s" +time="2024-01-08T12:30:07Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:07Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:07Z" level=info msg="Attempting to resume artifact download from offset 8495" +=== CONT TestBrokenReadAndPartialDownload/group/tooManyContentRanges +time="2024-01-08T12:30:08Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:08Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:08Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:08Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:08Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:09Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2024-01-08T12:30:09Z" level=info msg="Download resume request failed: Get \"http://localhost:9768/update_resumer_test.go\": dial tcp 127.0.0.1:9768: connect: connection refused" +time="2024-01-08T12:30:09Z" level=error msg="Download connection broken: unexpected EOF" +=== CONT TestBrokenReadAndPartialDownload/group/missingContentRange +time="2024-01-08T12:30:09Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:09Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:09Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:09Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:09Z" level=error msg="Download connection broken: unexpected EOF" +=== CONT TestBrokenReadAndPartialDownload/group/missingBytesContentRange +time="2024-01-08T12:30:09Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:09Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:09Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:10Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:10Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:10Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:10Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:10Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:30:10Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:10Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:10Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:10Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:10Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:11Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:11Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:11Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:11Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:11Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:11Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:11Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:11Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:11Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:30:12Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:12Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:12Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:12Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:12Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:12Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:30:12Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:12Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:12Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:13Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:13Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:13Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:30:13Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:13Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:13Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:30:13Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:13Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:13Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:30:14Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:14Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:14Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:30:15Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:15Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:15Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:30:15Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:15Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:15Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:30:15Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:15Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:15Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:30:16Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:16Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:16Z" level=info msg="Resuming download in 3s" +time="2024-01-08T12:30:17Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:17Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:17Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:30:17Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:17Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:17Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:30:17Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:17Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:17Z" level=info msg="Resuming download in 3s" +time="2024-01-08T12:30:19Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:19Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:19Z" level=info msg="Resuming download in 3s" +time="2024-01-08T12:30:19Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:19Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:19Z" level=info msg="Resuming download in 3s" +time="2024-01-08T12:30:19Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:19Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:19Z" level=info msg="Resuming download in 3s" +time="2024-01-08T12:30:20Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:20Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:20Z" level=info msg="Resuming download in 3s" +time="2024-01-08T12:30:22Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:22Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:22Z" level=info msg="Resuming download in 3s" +time="2024-01-08T12:30:22Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:22Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:22Z" level=info msg="Resuming download in 3s" +time="2024-01-08T12:30:22Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:22Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:22Z" level=info msg="Resuming download in 3s" +time="2024-01-08T12:30:23Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:23Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:23Z" level=info msg="Resuming download in 3s" +time="2024-01-08T12:30:25Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:25Z" level=error msg="Download connection broken: unexpected EOF" +=== CONT TestBrokenReadAndPartialDownload/group/missingContentLength +time="2024-01-08T12:30:25Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:25Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:25Z" level=info msg="Resuming download in 3s" +time="2024-01-08T12:30:25Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:25Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:25Z" level=info msg="Resuming download in 3s" +time="2024-01-08T12:30:26Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:26Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:26Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:26Z" level=error msg="Download connection broken: unexpected EOF" +=== CONT TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange +time="2024-01-08T12:30:27Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:27Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:27Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:27Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:27Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:28Z" level=info msg="Attempting to resume artifact download from offset 3406" +time="2024-01-08T12:30:28Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:28Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:28Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:28Z" level=error msg="Download connection broken: unexpected EOF" +=== CONT TestBrokenReadAndPartialDownload/group/emptyContentRange +time="2024-01-08T12:30:28Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:28Z" level=error msg="Download connection broken: unexpected EOF" +=== CONT TestBrokenReadAndPartialDownload/group/noPartialContentSupport +time="2024-01-08T12:30:28Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:28Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:28Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:29Z" level=info msg="Attempting to resume artifact download from offset 5109" +time="2024-01-08T12:30:29Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:29Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:30:29Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:29Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:29Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:29Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:29Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:29Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:29Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:30Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:30Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:30Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:30Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:30Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:30Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:30Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:30Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:30Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:30:31Z" level=info msg="Attempting to resume artifact download from offset 6812" +time="2024-01-08T12:30:31Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:31Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:30:31Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:31Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:31Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:31Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:31Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:31Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:32Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:32Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:32Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:30:32Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:32Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:32Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:30:32Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:32Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:32Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:30:33Z" level=info msg="Attempting to resume artifact download from offset 8515" +=== CONT TestBrokenReadAndPartialDownload/group/lateRangeStart +time="2024-01-08T12:30:34Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:34Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:34Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:34Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:34Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:30:34Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:34Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:34Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:30:35Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:35Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:35Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:30:35Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:35Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:35Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:36Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:36Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:36Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:36Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:36Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:36Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:30:36Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:36Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:36Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:30:37Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:37Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:37Z" level=info msg="Resuming download in 3s" +time="2024-01-08T12:30:37Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:37Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:37Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:30:38Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:38Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:38Z" level=info msg="Resuming download in 3s" +time="2024-01-08T12:30:38Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:38Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:38Z" level=info msg="Resuming download in 3s" +time="2024-01-08T12:30:39Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:39Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:39Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:30:40Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:40Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:40Z" level=info msg="Resuming download in 3s" +time="2024-01-08T12:30:41Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:41Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:41Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:30:41Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:41Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:41Z" level=info msg="Resuming download in 3s" +time="2024-01-08T12:30:41Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:41Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:41Z" level=info msg="Resuming download in 3s" +time="2024-01-08T12:30:43Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:43Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:43Z" level=info msg="Resuming download in 3s" +time="2024-01-08T12:30:43Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:43Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:43Z" level=info msg="Resuming download in 3s" +time="2024-01-08T12:30:44Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:44Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:44Z" level=info msg="Resuming download in 3s" +time="2024-01-08T12:30:44Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:44Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:44Z" level=info msg="Resuming download in 3s" +time="2024-01-08T12:30:46Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:46Z" level=error msg="Download connection broken: unexpected EOF" +=== CONT TestBrokenReadAndPartialDownload/group/brokenContentLength +time="2024-01-08T12:30:46Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:46Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:46Z" level=info msg="Resuming download in 3s" +time="2024-01-08T12:30:47Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:47Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:47Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:47Z" level=error msg="Download connection broken: unexpected EOF" +=== CONT TestBrokenReadAndPartialDownload/group/earlyRangeStart +time="2024-01-08T12:30:47Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:47Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:48Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:48Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:48Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:48Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:48Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:49Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:49Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:49Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:49Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:49Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:49Z" level=info msg="Resuming download in 3s" +time="2024-01-08T12:30:49Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:49Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:49Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:50Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:50Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:50Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:30:50Z" level=info msg="Attempting to resume artifact download from offset 3401" +time="2024-01-08T12:30:50Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:50Z" level=info msg="Resuming download in 1s" +time="2024-01-08T12:30:51Z" level=info msg="Attempting to resume artifact download from offset 5099" +time="2024-01-08T12:30:51Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:51Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:30:52Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:52Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:52Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:30:52Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:52Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:54Z" level=info msg="Attempting to resume artifact download from offset 6797" +time="2024-01-08T12:30:54Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:54Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:30:54Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:54Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:54Z" level=info msg="Resuming download in 2s" +time="2024-01-08T12:30:56Z" level=info msg="Attempting to resume artifact download from offset 8495" +time="2024-01-08T12:30:56Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:56Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:56Z" level=info msg="Resuming download in 3s" +time="2024-01-08T12:30:59Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:30:59Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:30:59Z" level=info msg="Resuming download in 3s" +time="2024-01-08T12:31:02Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:31:02Z" level=error msg="Download connection broken: unexpected EOF" +time="2024-01-08T12:31:02Z" level=info msg="Resuming download in 3s" +time="2024-01-08T12:31:05Z" level=info msg="Attempting to resume artifact download from offset 1703" +time="2024-01-08T12:31:05Z" level=error msg="Download connection broken: unexpected EOF" +--- PASS: TestBrokenReadAndPartialDownload (74.28s) + --- PASS: TestBrokenReadAndPartialDownload/group (0.00s) + --- PASS: TestBrokenReadAndPartialDownload/group/success (7.04s) + --- PASS: TestBrokenReadAndPartialDownload/group/serverDownAndUp (16.04s) + --- PASS: TestBrokenReadAndPartialDownload/group/breakAfterShortRange (10.04s) + --- PASS: TestBrokenReadAndPartialDownload/group/serverDown (19.05s) + --- PASS: TestBrokenReadAndPartialDownload/group/improperlyFormattedContentRange (19.08s) + --- PASS: TestBrokenReadAndPartialDownload/group/garbledContentStart (19.04s) + --- PASS: TestBrokenReadAndPartialDownload/group/tooManyContentRanges (19.08s) + --- PASS: TestBrokenReadAndPartialDownload/group/missingContentRange (19.06s) + --- PASS: TestBrokenReadAndPartialDownload/group/missingBytesContentRange (19.04s) + --- PASS: TestBrokenReadAndPartialDownload/group/missingContentLength (8.03s) + --- PASS: TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange (19.07s) + --- PASS: TestBrokenReadAndPartialDownload/group/emptyContentRange (19.06s) + --- PASS: TestBrokenReadAndPartialDownload/group/noPartialContentSupport (19.05s) + --- PASS: TestBrokenReadAndPartialDownload/group/lateRangeStart (19.04s) + --- PASS: TestBrokenReadAndPartialDownload/group/earlyRangeStart (8.03s) + --- PASS: TestBrokenReadAndPartialDownload/group/brokenContentLength (19.05s) +PASS +ok github.com/mendersoftware/mender/client 572.266s ? github.com/mendersoftware/mender/client/test [no test files] === RUN Test_readConfigFile_noFile_returnsError --- PASS: Test_readConfigFile_noFile_returnsError (0.00s) === RUN Test_readConfigFile_brokenContent_returnsError -time="2024-01-08T11:54:02Z" level=error msg="Error loading configuration from file: mender.config (Error parsing mender configuration file: invalid character '\\n' in string literal)" +time="2024-01-08T12:21:42Z" 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.01s) === RUN Test_LoadConfig_correctConfFile_returnsConfiguration -time="2024-01-08T11:54:02Z" level=info msg="Loaded configuration file: mender.config" -time="2024-01-08T11:54:02Z" level=info msg="Loaded configuration file: mender.config" +time="2024-01-08T12:21:42Z" level=info msg="Loaded configuration file: mender.config" +time="2024-01-08T12:21:42Z" level=info msg="Loaded configuration file: mender.config" --- PASS: Test_LoadConfig_correctConfFile_returnsConfiguration (0.00s) === RUN TestServerURLConfig -time="2024-01-08T11:54:02Z" level=info msg="Loaded configuration file: mender.config" -time="2024-01-08T11:54:02Z" level=info msg="Loaded configuration file: mender.config" -time="2024-01-08T11:54:02Z" 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.01s) +time="2024-01-08T12:21:42Z" level=info msg="Loaded configuration file: mender.config" +time="2024-01-08T12:21:42Z" level=info msg="Loaded configuration file: mender.config" +time="2024-01-08T12:21:42Z" level=error msg="In mender.conf: don't specify both Servers field AND the corresponding fields in base structure (i.e. ServerURL). The first server on the list overwritesthese fields." +--- PASS: TestServerURLConfig (0.00s) === RUN TestMultipleServersConfig -time="2024-01-08T11:54:02Z" level=info msg="Loaded configuration file: /tmp/mendertest578743828/mender.conf" +time="2024-01-08T12:21:42Z" level=info msg="Loaded configuration file: /tmp/mendertest374699767/mender.conf" --- PASS: TestMultipleServersConfig (0.00s) === RUN TestConfigurationMergeSettings -time="2024-01-08T11:54:03Z" level=info msg="Loaded configuration file: fallback.config" -time="2024-01-08T11:54:03Z" level=info msg="Loaded configuration file: main.config" +time="2024-01-08T12:21:42Z" level=info msg="Loaded configuration file: fallback.config" +time="2024-01-08T12:21:42Z" level=info msg="Loaded configuration file: main.config" --- PASS: TestConfigurationMergeSettings (0.01s) === RUN TestConfigurationNeitherFileExistsIsNotError -time="2024-01-08T11:54:03Z" level=info msg="No configuration files present. Using defaults" +time="2024-01-08T12:21:42Z" 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.155s +ok github.com/mendersoftware/mender/conf 0.109s === RUN TestMenderState --- PASS: TestMenderState (0.00s) PASS -ok github.com/mendersoftware/mender/datastore 0.139s +ok github.com/mendersoftware/mender/datastore 0.087s === 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.10s) +--- PASS: TestDeviceIdentityGet (0.15s) PASS -ok github.com/mendersoftware/mender/device 0.172s +ok github.com/mendersoftware/mender/device 0.241s === RUN TestBlockDeviceFail --- PASS: TestBlockDeviceFail (0.00s) === RUN TestBlockDeviceWrite -time="2024-01-08T11:54:25Z" level=info msg="Opening device \"/tmp/mender-block-device-916240169/foo\" for writing" - block_device_test.go:46: block device size called: &{0x117a140} - block_device_test.go:56: block device sector-size called: &{0x117a180} -time="2024-01-08T11:54:25Z" level=info msg="Native sector size of block device /tmp/mender-block-device-916240169/foo is 5 bytes. Mender will write in chunks of 1310720 bytes" -time="2024-01-08T11:54:25Z" level=error msg="Failed to write 4 bytes to the new partition" -time="2024-01-08T11:54:25Z" level=info msg="The optimized block-device writer wrote a total of 1 frames, where 1 frames did need to be rewritten (i.e., skipped)" ---- PASS: TestBlockDeviceWrite (0.02s) +time="2024-01-08T12:22:00Z" level=info msg="Opening device \"/tmp/mender-block-device-610706411/foo\" for writing" + block_device_test.go:46: block device size called: &{0x10c0140} + block_device_test.go:56: block device sector-size called: &{0x10c0180} +time="2024-01-08T12:22:00Z" level=info msg="Native sector size of block device /tmp/mender-block-device-610706411/foo is 5 bytes. Mender will write in chunks of 1310720 bytes" +time="2024-01-08T12:22:00Z" level=error msg="Failed to write 4 bytes to the new partition" +time="2024-01-08T12:22:00Z" level=info msg="The optimized block-device writer wrote a total of 1 frames, where 1 frames did need to be rewritten (i.e., skipped)" +--- PASS: TestBlockDeviceWrite (0.01s) === RUN TestBlockDeviceSize - block_device_test.go:46: block device size called: &{0x117a400} - block_device_test.go:46: block device size called: &{0x117a440} ---- PASS: TestBlockDeviceSize (0.01s) + block_device_test.go:46: block device size called: &{0x10c0400} + block_device_test.go:46: block device size called: &{0x10c0440} +--- PASS: TestBlockDeviceSize (0.00s) === RUN TestBlockFrameWriter --- PASS: TestBlockFrameWriter (0.00s) === RUN TestOptimizedBlockDeviceWriter @@ -16131,123 +16338,129 @@ === RUN TestFlushingWriter --- PASS: TestFlushingWriter (0.00s) === RUN Test_EnvWrite_OSResponseOK_WritesOK -time="2024-01-08T11:54:25Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2024-01-08T11:54:25Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2024-01-08T11:54:26Z" level=info msg="Writing map[bootcnt:3] to the U-Boot environment, using separator: =" ---- PASS: Test_EnvWrite_OSResponseOK_WritesOK (0.15s) +time="2024-01-08T12:22:00Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2024-01-08T12:22:00Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2024-01-08T12:22:00Z" level=info msg="Writing map[bootcnt:3] to the U-Boot environment, using separator: =" +--- PASS: Test_EnvWrite_OSResponseOK_WritesOK (0.16s) === RUN Test_EnvWrite_OSResponseError_Fails -time="2024-01-08T11:54:26Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2024-01-08T11:54:26Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2024-01-08T11:54:26Z" level=error msg="Failed to probe the U-Boot environment for which separator to use. Got error: requires root privileges: exit status 1" -time="2024-01-08T11:54:26Z" level=error msg="U-Boot variable malformed or error occurred" -time="2024-01-08T11:54:26Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2024-01-08T11:54:26Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2024-01-08T11:54: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_EnvWrite_OSResponseError_Fails (0.10s) +time="2024-01-08T12:22:00Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2024-01-08T12:22:00Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2024-01-08T12:22:00Z" level=error msg="Failed to probe the U-Boot environment for which separator to use. Got error: requires root privileges: exit status 1" +time="2024-01-08T12:22:00Z" level=error msg="U-Boot variable malformed or error occurred" +time="2024-01-08T12:22:00Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2024-01-08T12:22:00Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2024-01-08T12:22:00Z" 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.11s) === RUN Test_EnvRead_HaveVariable_ReadsVariable ---- PASS: Test_EnvRead_HaveVariable_ReadsVariable (0.14s) +--- PASS: Test_EnvRead_HaveVariable_ReadsVariable (0.18s) === RUN Test_EnvRead_HaveEnvWarning_FailsReading -time="2024-01-08T11:54:26Z" level=error msg="U-Boot variable malformed or error occurred" -time="2024-01-08T11:54:26Z" level=error msg="U-Boot variable malformed or error occurred" ---- PASS: Test_EnvRead_HaveEnvWarning_FailsReading (0.05s) +time="2024-01-08T12:22:00Z" level=error msg="U-Boot variable malformed or error occurred" +time="2024-01-08T12:22:00Z" level=error msg="U-Boot variable malformed or error occurred" +--- PASS: Test_EnvRead_HaveEnvWarning_FailsReading (0.06s) === RUN Test_EnvRead_NonExisting_FailsReading -time="2024-01-08T11:54:26Z" level=error msg="U-Boot variable malformed or error occurred" -time="2024-01-08T11:54:26Z" level=error msg="U-Boot variable malformed or error occurred" +time="2024-01-08T12:22:00Z" level=error msg="U-Boot variable malformed or error occurred" +time="2024-01-08T12:22:00Z" level=error msg="U-Boot variable malformed or error occurred" --- PASS: Test_EnvRead_NonExisting_FailsReading (0.06s) === RUN Test_EnvCanary ---- PASS: Test_EnvCanary (0.32s) +--- PASS: Test_EnvCanary (0.38s) === RUN Test_PermissionDenied -time="2024-01-08T11:54:26Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2024-01-08T11:54:26Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2024-01-08T11:54:26Z" level=error msg="Could not execute fw_setenv: exec: \"fw_setenv\": executable file not found in $PATH" -time="2024-01-08T11:54:26Z" level=error msg="Failed to probe the U-Boot environment for which separator to use. Got error: requires root privileges: exec: \"fw_setenv\": executable file not found in $PATH" +time="2024-01-08T12:22:01Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2024-01-08T12:22:01Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2024-01-08T12:22:01Z" level=error msg="Could not execute fw_setenv: exec: \"fw_setenv\": executable file not found in $PATH" +time="2024-01-08T12:22:01Z" level=error msg="Failed to probe the U-Boot environment for which separator to use. Got error: requires root privileges: exec: \"fw_setenv\": executable file not found in $PATH" --- PASS: Test_PermissionDenied (0.00s) === RUN Test_ProbeSeparator -time="2024-01-08T11:54:26Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2024-01-08T11:54:26Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2024-01-08T11:54:26Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2024-01-08T11:54:26Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2024-01-08T11:54:26Z" level=info msg="Writing map[mender_uboot_separator:] to the U-Boot environment, using separator: " +time="2024-01-08T12:22:01Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2024-01-08T12:22:01Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2024-01-08T12:22:01Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2024-01-08T12:22:01Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2024-01-08T12:22:01Z" level=info msg="Writing map[mender_uboot_separator:] to the U-Boot environment, using separator: " --- PASS: Test_ProbeSeparator (0.20s) === RUN Test_commitUpdate -time="2024-01-08T11:54:26Z" level=info msg="Committing update" +time="2024-01-08T12:22:01Z" level=info msg="Committing update" --- PASS: Test_commitUpdate (0.00s) === RUN Test_enableUpdatedPartition_wrongPartitinNumber_fails --- PASS: Test_enableUpdatedPartition_wrongPartitinNumber_fails (0.00s) === RUN Test_enableUpdatedPartition_correctPartitinNumber -time="2024-01-08T11:54:26Z" level=info msg="Enabling partition with new image installed to be a boot candidate: 2" -time="2024-01-08T11:54:26Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2024-01-08T11:54:26Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2024-01-08T11:54:27Z" level=info msg="Writing map[bootcount:0 mender_boot_part:2 mender_boot_part_hex:2 upgrade_available:1] to the U-Boot environment, using separator: =" -time="2024-01-08T11:54:27Z" level=info msg="Enabling partition with new image installed to be a boot candidate: 2" -time="2024-01-08T11:54:27Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2024-01-08T11:54:27Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2024-01-08T11:54:27Z" level=error msg="Failed to probe the U-Boot environment for which separator to use. Got error: requires root privileges: exit status 1" ---- PASS: Test_enableUpdatedPartition_correctPartitinNumber (0.17s) +time="2024-01-08T12:22:01Z" level=info msg="Enabling partition with new image installed to be a boot candidate: 2" +time="2024-01-08T12:22:01Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2024-01-08T12:22:01Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2024-01-08T12:22:01Z" level=info msg="Writing map[bootcount:0 mender_boot_part:2 mender_boot_part_hex:2 upgrade_available:1] to the U-Boot environment, using separator: =" +time="2024-01-08T12:22:01Z" level=info msg="Enabling partition with new image installed to be a boot candidate: 2" +time="2024-01-08T12:22:01Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2024-01-08T12:22:01Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2024-01-08T12:22:01Z" 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.25s) === RUN Test_installUpdate_existingAndNonInactivePartition -time="2024-01-08T11:54:27Z" level=info msg="Opening device \"/non/existing\" for writing" -time="2024-01-08T11:54:27Z" level=error msg="Failed to read size of block device /non/existing: open /non/existing: no such file or directory" -time="2024-01-08T11:54:27Z" level=info msg="Opening device \"inactivePart\" for writing" -time="2024-01-08T11:54:27Z" level=info msg="Native sector size of block device inactivePart is 12 bytes. Mender will write in chunks of 1572864 bytes" -time="2024-01-08T11:54:27Z" level=info msg="All bytes were successfully written to the new partition" -time="2024-01-08T11:54:27Z" level=error msg="Failed to read a full frame of size: &{%!d(string=EOF)} from the block-device" -time="2024-01-08T11:54:27Z" level=info msg="The optimized block-device writer wrote a total of 0 frames, where 0 frames did need to be rewritten (i.e., skipped)" -time="2024-01-08T11:54:27Z" level=info msg="Wrote 12/12 bytes to the inactive partition" -time="2024-01-08T11:54:27Z" level=info msg="Opening device \"inactivePart\" for writing" -time="2024-01-08T11:54:27Z" level=error msg="Failed to read size of block device inactivePart: " ---- PASS: Test_installUpdate_existingAndNonInactivePartition (0.01s) +time="2024-01-08T12:22:01Z" level=info msg="Opening device \"/non/existing\" for writing" +time="2024-01-08T12:22:01Z" level=error msg="Failed to read size of block device /non/existing: open /non/existing: no such file or directory" +time="2024-01-08T12:22:01Z" level=info msg="Opening device \"inactivePart\" for writing" +time="2024-01-08T12:22:01Z" level=info msg="Native sector size of block device inactivePart is 12 bytes. Mender will write in chunks of 1572864 bytes" +time="2024-01-08T12:22:01Z" level=info msg="All bytes were successfully written to the new partition" +time="2024-01-08T12:22:01Z" level=error msg="Failed to read a full frame of size: &{%!d(string=EOF)} from the block-device" +time="2024-01-08T12:22:01Z" level=info msg="The optimized block-device writer wrote a total of 0 frames, where 0 frames did need to be rewritten (i.e., skipped)" +time="2024-01-08T12:22:01Z" level=info msg="Wrote 12/12 bytes to the inactive partition" +time="2024-01-08T12:22:01Z" level=info msg="Opening device \"inactivePart\" for writing" +time="2024-01-08T12:22:01Z" level=error msg="Failed to read size of block device inactivePart: " +--- PASS: Test_installUpdate_existingAndNonInactivePartition (0.00s) === RUN Test_FetchUpdate_existingAndNonExistingUpdateFile --- PASS: Test_FetchUpdate_existingAndNonExistingUpdateFile (0.00s) === RUN Test_Rollback_OK -time="2024-01-08T11:54:27Z" level=info msg="No update available, so no rollback needed." -time="2024-01-08T11:54:27Z" level=info msg="Rolling back to the active partition: (1)." -time="2024-01-08T11:54:27Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2024-01-08T11:54:27Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2024-01-08T11:54:27Z" level=info msg="Writing map[mender_boot_part:1 mender_boot_part_hex:1 upgrade_available:0] to the U-Boot environment, using separator: =" - dual_rootfs_device_test.go:200: Log entry: &{0x111e100 map[] 2024-01-08 11:54:27.25336521 +0000 UTC m=+1.732961199 info Rolling back to the active partition: (1). } -time="2024-01-08T11:54:27Z" level=info msg="Rolling back to the inactive partition (2)." -time="2024-01-08T11:54:27Z" level=info msg="Probing the Bootloader environment for which separator to use" -time="2024-01-08T11:54:27Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " -time="2024-01-08T11:54:27Z" level=info msg="Writing map[mender_boot_part:2 mender_boot_part_hex:2 upgrade_available:0] to the U-Boot environment, using separator: =" - dual_rootfs_device_test.go:200: Log entry: &{0x111e100 map[] 2024-01-08 11:54:27.46643495 +0000 UTC m=+1.946030273 info Rolling back to the inactive partition (2). } ---- PASS: Test_Rollback_OK (0.49s) +time="2024-01-08T12:22:01Z" level=info msg="No update available, so no rollback needed." +time="2024-01-08T12:22:01Z" level=info msg="Rolling back to the active partition: (1)." +time="2024-01-08T12:22:02Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2024-01-08T12:22:02Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2024-01-08T12:22:02Z" 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: &{0x105a140 map[] 2024-01-08 12:22:01.974373383 +0000 UTC m=+1.671624078 info Rolling back to the active partition: (1). } +time="2024-01-08T12:22:02Z" level=info msg="Rolling back to the inactive partition (2)." +time="2024-01-08T12:22:02Z" level=info msg="Probing the Bootloader environment for which separator to use" +time="2024-01-08T12:22:02Z" level=info msg="Writing map[mender_uboot_separator:1] to the U-Boot environment, using separator: " +time="2024-01-08T12:22:02Z" 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: &{0x105a140 map[] 2024-01-08 12:22:02.230393295 +0000 UTC m=+1.927643970 info Rolling back to the inactive partition (2). } +--- PASS: Test_Rollback_OK (0.59s) === RUN TestDeviceVerifyReboot -time="2024-01-08T11:54:27Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" -time="2024-01-08T11:54:27Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" -time="2024-01-08T11:54:27Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" -time="2024-01-08T11:54:27Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" -time="2024-01-08T11:54:27Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" -time="2024-01-08T11:54:27Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" ---- PASS: TestDeviceVerifyReboot (0.14s) +time="2024-01-08T12:22:02Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" +time="2024-01-08T12:22:02Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" +time="2024-01-08T12:22:02Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" +time="2024-01-08T12:22:02Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" +time="2024-01-08T12:22:02Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" +time="2024-01-08T12:22:02Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" +--- PASS: TestDeviceVerifyReboot (0.19s) === RUN TestInstall -time="2024-01-08T11:54:27Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:54:27Z" level=info msg="No public key was provided for authenticating the artifact" ---- PASS: TestInstall (0.10s) +time="2024-01-08T12:22:02Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:22:02Z" level=info msg="No public key was provided for authenticating the artifact" +--- PASS: TestInstall (0.09s) === RUN TestInstallSigned -time="2024-01-08T11:54:27Z" level=info msg="No public key was provided for authenticating the artifact" -time="2024-01-08T11:54:27Z" level=warning msg="Installer: Installing signed artifact without verification as verification key is missing" -time="2024-01-08T11:54:28Z" level=info msg="Installer: authenticated digital signature of artifact" -time="2024-01-08T11:54:28Z" level=info msg="Installer: authenticated digital signature of artifact" ---- PASS: TestInstallSigned (0.35s) +time="2024-01-08T12:22:02Z" level=info msg="No public key was provided for authenticating the artifact" +time="2024-01-08T12:22:02Z" level=warning msg="Installer: Installing signed artifact without verification as verification key is missing" +time="2024-01-08T12:22:02Z" level=info msg="Installer: authenticated digital signature of artifact" +time="2024-01-08T12:22:02Z" level=info msg="Installer: authenticated digital signature of artifact" +--- PASS: TestInstallSigned (0.30s) === RUN TestInstallNoSignature ---- PASS: TestInstallNoSignature (0.06s) +--- PASS: TestInstallNoSignature (0.02s) === RUN TestInstallWithScripts -time="2024-01-08T11:54:28Z" level=info msg="No public key was provided for authenticating the artifact" ---- PASS: TestInstallWithScripts (0.12s) +time="2024-01-08T12:22:03Z" level=info msg="No public key was provided for authenticating the artifact" +--- PASS: TestInstallWithScripts (0.06s) === RUN TestCorrectUpdateProducerReturned -time="2024-01-08T11:54:28Z" level=info msg="No public key was provided for authenticating the artifact" ---- PASS: TestCorrectUpdateProducerReturned (0.10s) +time="2024-01-08T12:22:03Z" level=info msg="No public key was provided for authenticating the artifact" +--- PASS: TestCorrectUpdateProducerReturned (0.05s) === RUN TestMultiplePayloadsRejected -time="2024-01-08T11:54:28Z" level=info msg="No public key was provided for authenticating the artifact" ---- PASS: TestMultiplePayloadsRejected (0.09s) +time="2024-01-08T12:22:03Z" level=info msg="No public key was provided for authenticating the artifact" +--- PASS: TestMultiplePayloadsRejected (0.05s) === RUN TestStreamsTree ---- PASS: TestStreamsTree (0.09s) +--- 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 + modules_test.go:419: + Error Trace: modules_test.go:419 + modules_test.go:446 + modules_test.go:408 + Error: "Update module terminated in the middle of the download" does not contain "broken pipe" + Test: 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 @@ -16257,103 +16470,103 @@ === RUN TestModulesDownload/Module_download_doesn't_read_final_zero_entry === RUN TestModulesDownload/Module_download_fails_final_exit === RUN TestModulesDownload/Module_download_hangs -time="2024-01-08T11:54:38Z" level=error msg="Process 10867 timed out. Sending SIGTERM" +time="2024-01-08T12:22:12Z" level=error msg="Process 27865 timed out. Sending SIGTERM" === RUN TestModulesDownload/Module_download_never_exits -time="2024-01-08T11:54:43Z" level=error msg="Process 11128 timed out. Sending SIGTERM" ---- PASS: TestModulesDownload (14.56s) - --- PASS: TestModulesDownload/Mender_download (1.10s) +time="2024-01-08T12:22:17Z" level=error msg="Process 27881 timed out. Sending SIGTERM" +--- FAIL: TestModulesDownload (14.48s) + --- PASS: TestModulesDownload/Mender_download (1.11s) --- PASS: TestModulesDownload/Module_download (0.14s) - --- PASS: TestModulesDownload/Module_download_failure (0.09s) - --- PASS: TestModulesDownload/Module_download_short_read_of_stream-next (0.08s) - --- PASS: TestModulesDownload/Module_download_short_read_of_stream (0.23s) - --- PASS: TestModulesDownload/Cannot_open_stream_file (0.10s) + --- PASS: TestModulesDownload/Module_download_failure (0.14s) + --- PASS: TestModulesDownload/Module_download_short_read_of_stream-next (0.15s) + --- FAIL: TestModulesDownload/Module_download_short_read_of_stream (0.15s) + --- PASS: TestModulesDownload/Cannot_open_stream_file (0.07s) --- PASS: TestModulesDownload/files_dir_blocked_by_file (1.08s) - --- PASS: TestModulesDownload/Mender_download_multiple_files (1.07s) - --- PASS: TestModulesDownload/Module_download_multiple_files (0.11s) - --- PASS: TestModulesDownload/Module_download_multiple_files,_downloads_only_one (0.08s) - --- PASS: TestModulesDownload/Module_downloads_two_entries,_but_one_file (0.11s) - --- PASS: TestModulesDownload/Module_download_doesn't_read_final_zero_entry (0.11s) - --- PASS: TestModulesDownload/Module_download_fails_final_exit (0.10s) - --- PASS: TestModulesDownload/Module_download_hangs (5.09s) + --- PASS: TestModulesDownload/Mender_download_multiple_files (1.09s) + --- PASS: TestModulesDownload/Module_download_multiple_files (0.16s) + --- PASS: TestModulesDownload/Module_download_multiple_files,_downloads_only_one (0.06s) + --- PASS: TestModulesDownload/Module_downloads_two_entries,_but_one_file (0.07s) + --- PASS: TestModulesDownload/Module_download_doesn't_read_final_zero_entry (0.08s) + --- PASS: TestModulesDownload/Module_download_fails_final_exit (0.08s) + --- PASS: TestModulesDownload/Module_download_hangs (5.04s) --- PASS: TestModulesDownload/Module_download_never_exits (5.06s) === RUN Test_GetInactive_HaveActivePartitionSet_ReturnsInactive -time="2024-01-08T11:54:43Z" level=warning msg="Could not resolve path link: /dev/mmc2 Attempting to continue" -time="2024-01-08T11:54:43Z" level=warning msg="Could not resolve path link: /dev/mmc3 Attempting to continue" -time="2024-01-08T11:54:43Z" level=warning msg="Could not resolve path link: /dev/mmc3 Attempting to continue" -time="2024-01-08T11:54:43Z" level=warning msg="Could not resolve path link: /dev/mmc Attempting to continue" -time="2024-01-08T11:54:43Z" level=warning msg="Could not resolve path link: /dev/mmc Attempting to continue" -time="2024-01-08T11:54:43Z" level=warning msg="Could not resolve path link: /dev/mmc4 Attempting to continue" -time="2024-01-08T11:54:43Z" level=warning msg="Could not resolve path link: /dev/mmc4 Attempting to continue" +time="2024-01-08T12:22:17Z" level=warning msg="Could not resolve path link: /dev/mmc2 Attempting to continue" +time="2024-01-08T12:22:17Z" level=warning msg="Could not resolve path link: /dev/mmc3 Attempting to continue" +time="2024-01-08T12:22:17Z" level=warning msg="Could not resolve path link: /dev/mmc3 Attempting to continue" +time="2024-01-08T12:22:17Z" level=warning msg="Could not resolve path link: /dev/mmc Attempting to continue" +time="2024-01-08T12:22:17Z" level=warning msg="Could not resolve path link: /dev/mmc Attempting to continue" +time="2024-01-08T12:22:17Z" level=warning msg="Could not resolve path link: /dev/mmc4 Attempting to continue" +time="2024-01-08T12:22:17Z" level=warning msg="Could not resolve path link: /dev/mmc4 Attempting to continue" --- PASS: Test_GetInactive_HaveActivePartitionSet_ReturnsInactive (0.00s) === RUN Test_GetMountRoot --- PASS: Test_GetMountRoot (0.00s) === RUN Test_getRootDevice_HaveDevice_ReturnsDevice -time="2024-01-08T11:54:43Z" level=error msg="Can not stat root device." +time="2024-01-08T12:22:17Z" level=error msg="Can not stat root device." --- PASS: Test_getRootDevice_HaveDevice_ReturnsDevice (0.00s) === RUN Test_matchRootWithMout_HaveValidMount --- PASS: Test_matchRootWithMout_HaveValidMount (0.00s) === RUN Test_getActivePartition_noActiveInactiveSet -time="2024-01-08T11:54:45Z" level=error msg="Mounted root '/dev/mmc1' does not match boot environment mender_boot_part: 2" ---- PASS: Test_getActivePartition_noActiveInactiveSet (2.15s) +time="2024-01-08T12:22:18Z" level=error msg="Mounted root '/dev/mmc1' does not match boot environment mender_boot_part: 2" +--- PASS: Test_getActivePartition_noActiveInactiveSet (1.01s) === RUN Test_getAllMountedDevices --- PASS: Test_getAllMountedDevices (0.00s) === RUN TestMaybeResolveLink -time="2024-01-08T11:54:45Z" level=warning msg="Could not resolve path link: /dev/disk/by-partuuid Attempting to continue" +time="2024-01-08T12:22:18Z" 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.964s +FAIL +FAIL github.com/mendersoftware/mender/installer 18.648s === RUN TestInventoryDataDecoder --- PASS: TestInventoryDataDecoder (0.00s) PASS -ok github.com/mendersoftware/mender/inventory 0.147s +ok github.com/mendersoftware/mender/inventory 0.113s ? github.com/mendersoftware/mender/log/syslog [no test files] === RUN TestStore --- PASS: TestStore (0.02s) === RUN TestExecutor -time="2024-01-08T11:55:04Z" level=error msg="statescript: Ignoring script '/tmp/rootfs_scripts191983067/Download_Enter_00' being not executable" -time="2024-01-08T11:55:04Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " -time="2024-01-08T11:55:04Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " -time="2024-01-08T11:55:04Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " -time="2024-01-08T11:55:04Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " -time="2024-01-08T11:55:04Z" level=error msg="statescript: Ignoring error executing 'ArtifactInstall_Leave_02': 1: exit status 1" -time="2024-01-08T11:55:04Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " -time="2024-01-08T11:55:04Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave_100' will not be run " -time="2024-01-08T11:55:04Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave' will not be run " -time="2024-01-08T11:55:04Z" level=warning msg="Script format mismatch: 'ArtifactInstall_Leave_100' will not be run " -time="2024-01-08T11:55:04Z" level=info msg="Collected output (stderr) while running script /tmp/art_scripts593156460/ArtifactInstall_Leave_00\nerror data\n\n---------- end of script output" -time="2024-01-08T11:55:04Z" level=info msg="Collected output (stderr) while running script /tmp/art_scripts593156460/ArtifactInstall_Leave_11 (Truncated to 10KB)\nj\x19\x02\x150\x0f%\x8c\xfa\xa4\xe6\x17W?\xa2Bs\xaa\xceu`um\xbc'\xa5\x9f\xebtI\x89\xceq\xa2\x14G\xf4o\x1dS5\xc0\x94.YxJ\xf7<8\x87\xa9\xe7@<\x9a\xfav\xcdE\x1bpLm\xfb\x80\x9a\xba\xb9Ga\x9b\xd4\n@\x8a\xeaps\xd5j_t\xa7~\xbd\x81H\xc6\xec\xe1\xc4|\x10&%jB\xf9\xfd[\x85~\xa8\x92\xfbR\bk\x98\xe5\x8d6\x17>\x00\xf7\xe5M\xb8A[y\xb2\x833l\xa0Ƽ\xbcK\xc1w\x14+\xbe\x12m\xfe,\xe1:,\xb2\\B\x18\x1c\xfbRLJ\xde\x04\xc4൹\xe0O\x9d\xb8f\xf1\xa7\xde=\xf9o\xc2\xe95\xcb?d\x86K,@\xf1\xaf\xdd\x16\x19\xe4\xb7T\x14ZQX\xe8\"d\x8c\x1ab_\x00\xa1\xb4H\x1c\xde\xfe~B(3^p\xfc@\xd6Sp\x17!\xd8\xc4\xfc\x8c\xc7Y\xbe/,|KpU\x02\xa0\xe1f\xf9\x96>\xba\x10\adA\n\xcfv6\xc0\x1fLH\xb2\xcd>rU\x98\xd2\x1a?\xe6\x91\b,\x03\x1d\xb6F\x05v\x14T\xbc\xee,\xf5\\\x1c\xee\xa3Y\xb8\x9f\xb8c\xde\x17\xde\xcbς;\xa2\nIR\xd8d\x91\xd4\xde\xc7q\xce#\xa3ͭ\xd5\vj\x18͢\xa7\x1b\x19J\xbe\x99nh\x95\xbb\xe6f\xe4,\xe2:\x94\xbcM\x11\x02P\xe1\xe5Bl\xa8(j\x97\xc6/\xadhNL\x86\x89%\xbe\x94\xf22B\xfct9g\xa9Xm\x87\b\xc5\x03\x8d\xc0\xaeA,\xfe\x19\x85oOX9\u007f\xe3\xe7[ZBHTwމ\x9a\xa1[x\xb6\xa0\x1d\x13\n\xdb\x02\xee\xc3*\xackI\xef\xba{)\x8b\xd4\"\x95\xba\x8f5^\xb7\xd7o^-W\xb35\xb15ᾩ\xa8\x88:\x89c\x8ft\x83\b\xfdғD\xfe_\xc3JlN\xbf\x05\x81*Q\xc6 p\x99\xfa\xfe5\xb9r\x91\xdf\xfc\v\x81#\xc8\x18\xfa\\D@%\x11\xa0s\xe3(\xb13\x8a\u07b4\xd6D\x8bΆ~\xe6e\xc6\xe2H\x1eYrg\x8e\xa21\x86\x9c5\xb4y\xf9\xff\x1f$~\x9d\x80\xd7o\xe7O\xfd\x9b\x16͑Ҹ\x87\xd5\xcf\xcd\x11)\x15\xe6li\xcc\xef\xb9\xefu\xd2\xdf\x00\u007f\x1b\xe5\xab\xf1\aT|Rw\x1b\xdav\xb6B\x16\u007f\xc4j4?M\xef\xd6<\xdc:\xa4\xfa(Q\x01\n|\xaa\r\b\xa8\xb4\xee\xdcUay\x01\x8d4\x1d/=Qs\xab.\x14m\r\x98s\xefZG\xa5\xa9Ʒ\xabVSϪ\xf9\xd7\x12\xf7\x94\xe7\xf3҈p\x0e\x03=\x95\x94\x9c\xd2\xcev&x틶\xed\x1f\x8b\x86\xc58K\xa4\a\x04.bF&|\xaf\vȬ\xd8\b\xbdkW\xfaV\xf1sI\xec\xd7=\x03i\xbb}\x05\xb4\xe6\x04)IÂ\xacm\x8b\xb91\x9el\xac-/\xa0\x97\xfe\xe1\xb2I\x8b\xb3M\n\xbe\xef1\x19\v\xb6\r\x1e|J\xf0\x9c\x99~\xf3JE\xe5\x95HX1k\xaf?\x10\xcb\xc7!W\xe5\x83\xd7\x00\xb0\x16\xbc`U\x9b5\xf06PB1{\xef\xe7/\xc5FR\xe2\x12W\xbc\xa1>\xdf\x18S\xe0\x12\x83\xeb\xde@'\b\x96!\b\x9e\xdbp\xf5\xb0\xe6M=}\xb6N%\xf7\xa1,\x1c<2yf\xcf٤xJu{g\xaa\xa3u\nd\xf3\xcc\xd9h\xb3Yn\x0f=\xd1lt\x94S\xa2A>\xe7\xed\xf5\xad\x1e\x18\xee\x83$\r|ʪ\xf9\xcb]\x9d\x81f\xa3X\xeb\xe8ϻ'\xe1\x14g\xc9\x18\xa7\xfc\xd1\xe7\"8+;v\xb8\v\x87%\xe0\x96,\xd6\x06\xd2\xc4d\xbbg\x17\xd5\xf7\xb78sއ\xd6m^\xbb6\x1c\xc8\x1d\xed\x10Op>\xcf\xda@k\xbcd\xb0D\xffDM?\nN\xb5\xf9\x95t\x85^\x9d\u007f\aHםm\x8f\xed1\xa9\x03\x1c\xbb0:Y\x91r\xb0\xa4\xd1|֤ځQ\x8eu\x0e\x84\x1f\x18gf\xbd\xd6\x15\x14\xf2\xc7w\xbdu\x84\xf4\xcc\xcf\x10\xfe\xf7\x9c\xa0\xcbHB~\a\x9f1\xd7Y1\xce)\x06D\xee&\r\xaeͯ\xb7\xf4\xc0šG$\xa0T\x9d\xa8u\xdc\xe3>!ΰ\x0f\xdc\x11\x11\x88@3\x8f\x10\xf3\xbe?\xe1\x9d\xeb\x86! GV\xcf\xdcE\x820\xaf\x8b+\xd8l\x0e`\xd8H\xf0\x17)j\x8a\x83B<`D\x11&d\xb5\x80~\xf5\xf1\xbft\xf2\xb56\xd9m!(űѥ\x11+\x10\xc3s\x1b\x84\xa0\b\x1f>i\xe1k\xc1\xe1S\xf8s\xf0\xc1\xec\x13ګ-\xfcZ!v\xa1\xb7\xb2\xf1\x86\xd9\xf1\xe1\xeb\xc4\xe0\xcc>g\x97j9/I\x96J\x87\x9dt\xa3\x10\x1f\xb3I\xe1\x81\xd5\xf5\xc6.\xc1V\x18Z\xa8\x84g\xb4\x9c+{O\xae\xa5\x99O}\xb0ʎ\xfc\x82\x04]\xd6\b\xb6B\x03E\x14\x1f\xb1\x1c\x8enpN\xc7srצ\x9f\x1b\x1d{\x8e\x9d\u007fxf\xb7\xb7\xb1@\x1f#\x1d\xd2\xf3<\xd9\xcat7|A\xfd\xb5DxS\xf6\xe5\xc3V\xb3\xcf\\(\x14ql\x9a\xb3iQq\x96\xc1%V]\x1fQ\x15{\xd3\n\xe9$\x18]\xa8\xa5\x8fL\xe0\xf7\xd9\xfa\x1c\x89׳EA1T0\xd9\xd3?e\xed)|H@\xb5\x9bV\x86\xed\x83\b|}\xefˉ\x98\x83\xe4\xe2#U\u0089\t\x93\ts\x8cUW\x8c\x1eo\xdb\aOYn&\xcbaH~\xe9\x10ާ\x1dF\xadP\x8c\n\xe4\xe014E\xe8\xde.c[b!\xc7ƭ\x04\xa7\xd8\xea-)g{WMU殈E\xb4\x90\xef\xed\xd13o\xbb{\x16\xf8덵\xbe\x16]\x15K\xbe\xce2\xd9\xebUC\x80\n\f\x19\xdd٫V\x82Fpu\xff>o\xfb\t,^a\x16\xbd\x18\x80\x90\xb1\xb8o}\x0e\xe6G\xc2\b\x9af\xf5N\xc0H8\xfa\xbe\x8aD\xad\xb9\xcc\xd3 *3\u007f\xe0ib4\\,\x14\x18\xf1_}\v+\xa3\xad\x9f\xedM2d\xa3\x95\xa2\xab\xebj1\xe6}\xe3\x9e\ue001\xd8]\xe9\xc0\xe5)\x06\xe7\xa1/\xef\xf5\r\x81y\xfeǐIº\x93-~Z\x89\x00Щ\x82\xa8\v\xe8\xe8\xfa\x1e\xf2\xd8߬\xa4L\xacH\x9a\xf4\xc0\xc7u\"\xd9\xf1*%\xb4\x14-Q\x85d&3L\x0fN\xb0D\x89c(\xa9\xbe\xb3\xa4\xc6\xc0\xcdK\xfeL\xc9F\xef9\x05ߙ\xef\x9b\xddq\xd1\xf6\xb7\xcd\x15\xcfiY\xa8נq\xe5OXk\xf5\x8a\xf7#\x81 RT}\x02K\x10\xbb\xa0)\x98\x8f\x03=\xb6t\xf4i\xb6$P\x1c&\x96n\x904s1\xf9d\x91k\xa5\xfd_\x88\x9d\xb5\x9b\b\xa8\x17%\xfd\xcaq\xe4\x06+\x82=6LX\x98Y\xe2(_\t\xa1\x80\xbd{*W\x83t\x1a\u007f\n\n!$\x92Inm\xd0ts\xb0\xf7Č\xa1!\xe0\xb2\x10\x93txwg\xf4\xa2\x84\x14\xb2\tԲ\xe4\" 6\xad\t\xe7}N\xfc\x89\xc8wT\xc7Ou~o\x9e\xcej(\xf2\xac\xd5\xc6\xe5\x1f5\vփ\xb2\xceI\x94\xf8>\xa5N\\\x02\x92\xe6O\x96ؚ^u\xac\xadD\x19\xa4\xf1\xabŕ\"s\x90?\x04\xf2\xb3\xdfcc6\xa1c\x8f\x04\x1dcn\x8d\xea\\\xae\u008f\xa7\x15\xd6\t\xb2j\x86]ǚ>3\"\xe8\x8fЇ\xaf'\xb7\x9a\xf7,\x87\xb7|\x1a\xb9\xffп\x9d\xb7\b\v\xbb]?/j\xce_1F\f\x81\x82%\x96\xbe\xac\x9dݔ_\x03\xed\x026\xf0U\xf5\x0e\x1f\r\xb8:{K\x06\xb5\xb3\x98\x80\x90\xf8S\xb8\xfe\u007f\xa0,\xd8\x17g\xcba\xd9d\x8e\x96\xf7Y9\x0fb\xc5!\xbeي1qeZP,\xa9x\xe0\xcb\n\n\xf9K\xbf\xd0\xf91\x12\xf6\x90O%3\xd9\xd2]D\x17\x14\xa4]~\xc1\xe3\xc9\x0e\x06\xdeEW\x9dG\x90h\xed}\rH\xef\x03BH\x99\x8a(\xb5I\xde 0v\xec\xd08\xd7e7\xeaÿ\xca\xecyQ\x94`S\xb2\x98K\x9b\xa71Mw?\a'\x02\x82߾\xf3t\x13|\t\xf7\x81\xac\xe0\x02\xbd\xfa\xbf\x19Q\x03\xe4;8\xeb\x9d\xf7n\x958\x96\x0fU\x1dP\x90\xd0\xe2X\x85{R\xe5CV\xc0M\x9e\x02\x11ˍ*\xe87\xb9\xf9\xa6D7\u007f\xfe\xb1\xaf\x89\t\x89\xa2K\xcfzI\xb0}+\xedq>.\x96\xa8\xc7\xca\x1f\xa7B\xfcR\x88\a\x0fr!\xb9\n\xec\x10\xbc\xb6]I\xf2\xf2\xdez\x91\f\xed\xc7C\xb5\xc8ÁG$Ye\x9b\xfc\xa7\xdc^n\xa9\xa71\x01X\xfc\xbd\xc5a\x90\xf7\x84\xa9\x84\xb4\x05'y]C\xea\rj\xdc\x1bʕO\x96\x03\xafb\xd0\xc5X\xf5E\x0fkVA9d@Lp\x12}\xff\xd8M\x83b\xdd\xc2\xcc\xd6,\xc4\x0e\xc7q\a\xc6P@z\r\x15M\xbb:o\xe9\xb5\xd4\xf3w\x03}\x05\x8bٯ[X\x89B6R\xd7\xeeX\xc6\x1b\xf0J}ጎt\x97,\x98\xa1q\x8c\xf9\xa4K\x9704\xdfRp)\xcd \x87p ɋK:W>]\xa4n2\xee\xfa\x90&\xdc<\xff\xe9\v\xb1\xd8\xe6\xe3\x01\xcb\xe7\xe6\x0f疱\x0f\xb1\xb2V\x98&\xb2\xb2\xdf\xe8*^\x86𬑩\xd3\xcb.!\xf3\x8d\xff\xf17\xf1\xf1f\\\x83\x01\xf12\xad\xdfs[\v\x06\x90\r\xf3Q\xa2\x83\x13\xa6A\x00\xa7\xa3i\xc5\xcf7_\xb5\xe0.\xab\xad\x86\xedn\v\xb1\x1f\xaa\xfc\x9c\xa5\xb2\xbb\x9b\xe4,\xb0\xe6\x04E)@Ɛ\xc3\xc2v\xf7\xacUC\xf0\x02\x046\x15R\x84\xa3!\x0e\xf0H4j\xe3l#\xbe\xcb\"\ue022\xe5\xa1\xd3\xdd\xf8\x8bJp\xed\xfe^D<\xf9YftT%\xbd\x9a\f\xdeޭ\xfb3\U000f1762\xa4\xa9\xf0J\xa3(\xd30m\x82\xdaQh\xa3\xcd\xfbs\x17J\xdc\x0f\xea\xe4E\xfbw\r\x17\\N\xea\xac+\a\x10\xa8\xd8\xc5G\x9fh\x10Ȼ\xdejg\x01\xcb\xfe\x9c\b\"[\x95ʷ\xf3*-\xdd;\xfb\\@/\xa6\x16D\x04C\x06,ܪd%\x03̼xЋ\xf9'\xf9\xcb#{߯\x19D\xca*{C\x89Z\xc1\xb5\xfe\xbc\x0f\xc2d\xdf\nMS\x16\xd9F\xe0\x86zV[>\x1c\xf5\x87\xab$\x01\x9e\xc61\x88\xfa\xe5'&\"s\x81+\xa4z\\5\x12\xb1N\x86\xecZ\xf8\xef\x1e\u007f\xdf\xf2\x93-\xf1\xd4K\xfb\xe2Y\xfdW\x0e\xde`B\x17\x00f\xac\x0f\xf6NN\x83\xd1\x16)R)\xb8\xc6\xcfN\x8fY\xd5f\xe0\x9f^\xff,E\xd4\x0f \x1f\xeb\xb7D\xf5\x87x\xa4G\x1c\x11oE\xa0^\x1e\xd5z1\xcbm\x17k\x8fxj\xd4#\xdd\x12\x97\xe7%\xf2\xb2\x93\t\xb7\x8cmo\x17\xec1\xe3\xd7r\xa4\x04\xe8wC\xfa\x8f\x06\xa3\xeeTŰ(\x02\x8d$\xa9ƺ\xa5o\xb7\xdb;\xe0d\x1fS4\xca\a\xccj\x01\x8a\xfcx\xaao\x9f\x92G\xa3\xae3\xbd]\xf8\x065\xeaۇ\xd0\x17~v\"\x1d}\f\xd4BVR\u007fG\x93<)K\x16\xec\xa7\x12\xa3\xdb\xc5.\xc3fd\xe4q\x18\xb1e^3\x9c\xd0\x1fVB\xa7\xf4dh\x9b\x8b\x98\x184\x16~\xf6\x8b\x8d\x1c1l\x86\xc0=\xab؈\xd7\xe2\xf9J\x1e\xd4{\xfe\x0f\xc9\xf2\x12 \x1c\xa8t\xfeXn\n\xe5\a1\xb2\b\x9d\x92\xf3\xd9J\x97C\xe6`\xf7\xad#\x0eQ\x8e1/\xbb\x02\x13\x12\xec$\x12\x95]:\xbf7\x17\r\xd7I\xa4P?\xbft\xa3̜u\xacN\xf6I\x10\xa7\f\x17\xb1\xad\"\xfa\xef\xeb\xacN\xaf\xe8\x14\x16q\xbb8\xb5\xc4\xda1\xf4\xa7kZ\xadr\x1fM\xeb7\xbe\x18\x04R\x1c/\x9ey\t\xf82\xd3\xf3\xfa\xf9\x06+\xf8\xb7\xaa\x02\vRV\xc6F\xf0)\"1\x81\\\xf9\xe2\x1e\x9dW\xf4IJ\xd3\xea\xd9tf\x1cK\x8e\x06\x81\xce\xe7\xc2d\x0e\x1b\xbb\xf5TW\xfb\x98h\xb5q\n\x8f\xcbU\x8fZ\xc9{\xa6\xd7.0\x17ł;;\x97L\x00\xdc}\\\xc1\x80Eyw\xda\xde\xddZ\x96\xd0\xfe\xd2/\x93m\xacb\x05\xaa)x\xa2Ȑ\xf7\x843lDDp\x0f\xaa?\x03\x8c8s\x80\xa6\x90w\xa74wh\r\x9b\x00\x84\xee\x15˅V\\\xf1\xabW|#S\xf5N\bM\x84\x8f\xb1\xf0\nSr5\xe1\xe6\x96\xf1TX\x11\xeb-7\xf5\xd7\x0f\x91\xca\xc4Z\u007fuy\xc2\xc2:q>\xa6-\xb4+KW\xe0\x176\x1e(\x94\x05/+\u007f\xe04\xd4\x18AP\xf1ײ\xa5v \x12A\x17}\xfd\t\x8d\xd6/\xc1\x06~.\x8bR\x12zv\xd0\xc8\b\x13ԣg\x8a\xdb\x0e\xc1\xc8\xf0\x88\xcd\xe9\xf2̈́E\x90\x86\xf9q\xb9\x15\xd7}\xe7\xd3)\xc8V)\xfd\u00ad\xf0s\x99\u007ft\n\xbarR\x1a\xf3\x1bsOMS7\xb8z\xf3\x9fC\x04fˡ\xa1@\x82z\xb9\xa8t\x1ebV`6\xa3\x8fbu\xaa2\t\x8b\x17\xaa;q\xcc+\x18\x96\xe86o\xd6}\x12\x97\r}\bH\x1a\xf0\xab\xd5QW,\xfc\x1f\x04\x02\xb2\x9cP}\x16\x06\x1c\xb4\xe0\a^\xe9e\xacN:\x92\xdbn-\xdaa\x05\xd8c\x13GR\xb1\xd4\xde\x05\x9f\xb4g\xae\xa4\x90\xae\u007f(\xf3\xce\xcf\xfe\f\xbe\xfe\x8ce$\r\xbb\xc9\xfbge\xe9+\x9fK\x0e\xe7\xd8)\x15ż\xd3:\xc4\xc8I\xffJԮ'\xecTAO\x18\x95S\x87\x8bOR\xde3\xf2s(\xb2c\xe4\xad=\xfc\xd4l\xac6ջ\xd1O\f\x89\f\xf3\xbei\xe9R\xd3ؼ\xf1\x9e\x1dR\x05\xacsOE\x01i$f\x9d\xa8\x00\xff\x1a\n\x1eQ!\xda\x13s\x1dA\xc4Б\x02\xc5]\xe9\x93Q=\xfa\x90\xf9\xb0\xed_\x19\u0600\x14\fR\xde8\x16\xfe\xaf\xb1c\xa4v\xb7\xec'\xa5+2??\xe3@\xc1\x9dzr\xac\xea\xdeRXb\xe3&\xf2\xd5)\x89\xa5c\xbe\xe4\xe1\"\xe6]\xf2\xf7n\x8d\x90\xd4\xdb\xdf]\x06EݹjU\x11\xf0\n\x82\x98\x00;\x8a?0\xfe\x9c}>\x99\xc7~\x14\x8e\x03\xa1\n\u03802\x15!\x9c\xcb\"\x1f\x99\x93\xb2E\x87'F\x14_\xd0\f\xa4\x94\xcd\x05\xee]\xd5#\xdb\xc6Z0\xa8\xf8\xf2\xcd[\x10\x8c\xd2p\xeeH%\x15LjT:L:I\xb3\xec\xd9\xf6h\xa3\v\x9eO\xdc\x0e`{\xb4z\xb0\xb1z\xe3@!\xe5\xbb`}C\x1d,@r>\xf6\x8f\x890\x980\x99\"\xc0\xacHIS4t\x9b6m\xa3\xa9\xd6\x05eh\xa9\xec\x8d\x02ۣS\x9b\xa4\xe3ے1\xf8\x04\xab\xd7\xd2\xef\xb0P\xed\x1f\xc0\xcf\x1b\xf5\xe2\xe5\x9c;\x04\x0e\x86\x02\xac\x81\x18k$*\x04\b\u07fc/\x12\xca\x1e\xeb\xdb\xdeP\x8a.W\x1b\x04\xdb*\xbc\xa6¸\xa0U\xb31j\xd6*\xa2\x83\xd0\xe7\x8c\xd9+\xefs\xd0\x0f\xe0}\nդ\aA\xcc]-\xbc\xd2 \xd4f\xfd7\x00\xb7\xfb\xeb\xb3r\x03h\x85\xc1\xbd\"\xf9\xc9\xe8\xcce\x96\xfep#O\x12\xd8\x16\x9dH,oN,\x1e\x11%\x8fL\xbd\x80-J/\r)\xb6\x85\xec\xdd\xdba[h\xbb\x983\xbew\x90\x8e)\xf7~}=\xa0\xf0\x9bW\xa7>֕o\xcd\xd9O\"5\x93\x18k\u007ft9Ia\xe7\xd9\x14\xb6\xe3X<\x85:\xa2\xd7\f\xd2;$L!}M\x9cRM\x1cT\x94\x1d\x90\x13\xcf\xcaO\xae`^\xc2\xcf\"rm\x8c^\x1ak\x8c\xfb\f\xb7\xe98d\xd9\x00\xac\x1f\xa1\xa6Z\x00\"\x84\x8cp\x8b\xf2\x0f\xa0\xe0/$\x82\x93\x13\x11\x17\xc3+_t\x87T^\xe5\xdf\xc4\x10D\x02\xe2j\xf7˱\xfc\\\xde\xe3-\xb5\xb0\xe1Vw\xadX=-R\xf6\xbc6\xf5\x80\xf9H\xc7i\x93_\x0f\x1dVt\x1a\xd0*\xef\x94&\xf9\xdbF\xee*\xc3\x13\x94\xb0\x81V:\xc2\xdeĽ\xab\xa8n\xc1\x8e\xb1\xc87\x94\xbc\x8e\x8c\xa4k\x06\x83+\xe8\xbf$\xa2\x94\x1f9\xd715ֽKؾ\xf2uHT\xf2\x13\xa3k\xfd\xe8\x97\x1c3J\xa0\x95\xaa\xeb?\x8ab5\xa8\xe7mK\xe1\xce$N\x86\xf9\xe9N:\xef\xf0*\u05cf\x1cH\xbd\xc39\x94\x98\xb6q\x17\xa0ᚠ7H\x11\xc2\x1br\xbb~'J\x16\x04^\x9b\xcd\xde\x1eG1d}yِ0\xdf\xf2P\x94?\xc0\x14h\f\xe5\x00\vX\x95=Ȫ\v\xedB\xff\u007f}I\xc7\xcaٲ\x91\x13\xa9\t\xc5bz\f\x1d\x0f\xaf\x13\xf3dd\xb4\xeeH\x0e\x92ߓ@\"G\x87\xaf-8\xd7@\x99mՙ\x06\x89\xef\xbc\u007fv\x11 \xf7A\xb2\bV\xfdТ\xe2#钶\xab\xe65۠#\x1a(} >:\xd4\xc2n\x9a\xd2\xe7/\xec\"$M\xd3AB~/\x1f\x96\x82\x9bN\xf5Z\xb4\x99w\xa2\x13\t\\ȫ\x89\b4\xebN^\xba\xa2\xf3\xde\xc98\xa5$ժQx#~6\x0e\xbb1z\xda\xf1\t\x14\xfb*\x15\xa1\u007fK6h\xe9\xe7\xdd_\x9f]^G\xd4ŀ\x145A\x8d\xff\x1d\x9a\x9f\x8a\x0e\xb8\xe1\xdc\x06G\xff\xc0\x82v\xb1<\x94\x88\xa3\\\xfcK\xbe\x8a\xf5\xd4\xe0H9qJ\xf8\xc5\xeb*\xa80F\xa6\x87\b\xa5\x00\xb2\x10u-߄xm\xaa.\x88\x90\xa5N\x8cY\xe8\x12\x95\xef\x1f\x9c\xef\xbe\"!\xb1\xe4\xcc\xf6\xd0*W\u007f\xb4}\xb6\a\x98RA\xfb\xb2j\f\x98\xb2\x81H;\xe0b\x8c\xe5\xaa*\aY\x10p\x85\xca0\x02\xbcQdۥv\xbd\xde\x06\xbb\xc6\x18϶\xef\x84\xf73u\x1f\xe0eoJ\x82f\x037J \xa0\xa3\x80\xd6`T1\xdfݘW\xfb3Χ5\xf3]\x95\x19\xa1\x8b\xf7\xeb\xd9Ս!\xcd6\x1f\x818\xe9.\x14xוE\xbd݅0$\xe0\azk\xcfU\xbb\tx&\xa5\xb5\xbcT\xb4\xc5\x19Q\xe0[\x9c3\xfbv/\xc7|\xd6U\xa1\xdc\x11\x1f\xaa\f\xcd\xf1\xf3̦z\x80\x18\xdb9\xc7{\x10\x8aog\xf9\xbcD}\x85\x14\xf6\x95P5r\x82\xa8J\x8c+\x00\x10\xcaM\xe8w[\x05\x01\xa7*&r6\xab\x8a\xfc\xedKn\x9d\x19P\xfe\x81f\u007f|\n=F\xe1\x96\xe6p\xff\x8240Lc\x97\xf6\xb5\xf4T\x90\x19\xeb{\x1a}\xa9\x95!\x17\xc1\xf4\xeaDfn\x86\x96\r\x8f\n\xef\xab(\xbb\x89\xf8\x80K\b\xb5\x0e\x9b\xf6\x19Gp\x80\x06=\x84\x14U\x97\xda\x03\xd5\xf7g\xfb]\xdeAF\xfahMç]E\xeb8\xa3`\x16\\\x0eZ\x98\x88\x10\x0fl\x92oF\x95'\xa9,\x86e-\xc6\x18\xe8o߄\xb3\x973b\xe8{\x84\xf7\x86\xb8\xc4I\xad\x9c`\x98\xf26<\xb9\xf0T\x8bO)\xbd\xcc\x05\x18\x0e\xa2\xc3\xeds\xbe\xc1\xe1X\xc0Y\xb2\x14\xea\xcbz\xc3\xfcd\xb2C\xdc?7\xe0A\xafv\xba'\x03\xe4\xad\x13\x14\x83n\t\xd9\xf2P\x8c\n\xf9\x86wVǨ\tz\x1c\x89\x01c\x81\xa0\x1e\xfa\xaar\x19\x9c\xd9\vO\x83\x06 K%\x1a\xa9\xfa\x16-\xf6\xe2\x80\x00h6!×\xc0\xc1:\b\x96r\xbaWx\xfcg\xbaH8\xb1\x81~\xb9@\xe8l9\xcd\xe7S\xb7\xecx\x85r\xf7n\x84+\x10~W\xbf{\x1f&\xd0\xdf-;\xdbi\xd2$Ҟ3b\xc5/\x95\x10\x18\xd8\x16\x1b\xa7\xb2\f\xad\xc2\x05\xe0gx}\x8a)\x8cUp\xa1Te\xf5i\x1c\xd1*\xa6p\xf6\xff\xa8\xe3\x9a^y\xb3Cъ2Z\x8b!\xe2\xfa\xf6\xc6\xcd\xe9\xb3\x1d\xa8Pgi\x02\xd6\x17\x1d\xcf+Q\x17\xe3\x92~?\b\x8f\xf9h@A8\x98L\xabUG\xa2v\xfcb\x98\xed@\xc8\xe2Vp\x14\x8b?\x8e1\xd8\x14\xf5_fX\xa1\x89\x80\x868\x152\xe3Ÿ3'{\x9b\x92\xec\xd1\x02\xfcaH\tj\x9e\xb8\xbf\xc6(ه\xa9\"\xaf\x06\v\xac\x92\xd2\xca\xde\xee\x86*]\x1bͬ$\x05O\x04\x85\xf9\xd9\x00\a\xa7\xbdfn\xc3\xca\xf9y56\n\tYz\x96ܑ\xef\x02\xe8\x1d\xd6\x17\x97U\n=1,8X'Yĸ\xfe\r\xe0\xc5R\xd7_\xa6\xf9\xa6\ra\xc2\xcd\rU%\xaf\x9a\xa6'\xd2\xc9ݥh\x16\x8dm\xb4\xdeȅ\xc1\xf3\xbeT\xf4Rt\x8b\xee\xb02\xbeb-\xcf\xc7\xc9\xe5\x9b\xd0\xf4\xcbJO\xeb\xcb\xea\x10&;\xf7\x9bv\xfb\x00Kvĕ\xae\xe3\xbe\xd5S\x80e\xabam)V<ϙ\x96rTו[@\x8d\xb6w\xfb\x10cl_C#ZDf\xefO2d\x8d\xd5X\x04\xf7\xb4X#\xf7*^\r*W\x95J\xb8(\xba\xcfh˂\auO\xa1\x13\xd4\x137!8sڏ\xcb0\x80(A\xa1\u007f\x1aJh\x05*\xd8\xfb=\x12\x97G|E*\xc2\xc7\xccT\xd1-\x97SM<{E\x9f\x9e\xf4w\xa2\x93\x1b\x93\xf4{7JE\xa2\x82(\x1d\x8a\xf9X\xa1\xc0q\xff\xdcq[\xe6\xf4\xa5\x96/\xba\xe8\n\x04\xd2{\xe4\x06\xdc\xc8\\F\xea\xc6\x12\xb6JP\x8a\x18KD\x1c9\x01}|\x98ڦ\xdab\xb4\xf8O\x8fL>i\xb2\xe975ts\xd7\x1b{\x0e\xed\xf2\xbe\x18\x05\x80\x10L\xc4@S\xe5_\xd3\xe2:\x13EWQh}\x00\xb0\xae\x86#\xdea\xa7\x16~\xee\xbfkʐ\xa5\xf6\xc9b\xc7I\xe0\xdb!q\x1c`\xf8\xf9Qk\v\x9ese_O1j3\xa3\\G\xe5\xf5\x8d\xcb\xf1\xffq\xd7(\x95\xe3>\x96\xe4\xddKR:\b\x13\a\xe2N\xfe\xa1;\x94\xf7H\xa5\xe2o\xa2V%\xd1\xf5\xd7\xf7\xa5\xef\x1b|\x81:\xec\xe8\xdd\xe7\x10\xa4\x9b\x1aQT\x89\xe5\x8fo\xef:n\xfb\x19e^\xf3\xee\xd5\xc3\xfd\xff\xe9H\xf8d>\x10y\xc3M69vv\x16\xb5wp64B\xa2\xf8#\xaf\x87|\xdc* z\xd3\xfb\xf6\xcd\xe1W\xe5\x97\xd8\xfdxп:\xa4\x0e\x90\xaa-[\xae\xa9!\xa6\x94\x97\"|O\x19\x8d\x88Qt\x1b\x91\x8d{Ȥ\xf5zX\xde;\xd8\xc08\x06fzʹ\x93\x8bm\x8cu\xbc\xd8\x03\x91\x19\xdd\u007f\xac\xac\x87\xd40:\xceˆ!.\x90\bح\xd6?\x8c\xfdr\n7\xb3\xbc\xf2v^\xcf\xf9\x9ds\x15e|\xed̓\xef\xaa\xc2\xc2%\x16\xe0ca\tC\xe4\xa8]\xf1N\x1a\xfd\xff~\x1e\xe3\xe1\xf5Fv\xdb\xfb\xe1\xeb\x8a\xea5\x91:^\x91\xc4l\xdfY\xb4ѥ\xccݸ\x9e\xdb;lz\xd4\t\xdbV<)\x12ʥќ\xd3+l\x18\xf8\xa9\bɃ\x13\x89\xf0\x8c\xb3\x94P[\x8b\xfc\xcb{\x04\xf7N\fY\x89\x10\xc1\x05X\xf9\x10'\xa4MOq\xcfk\x92o\xa5\xe8\xa1\xf9\x13\x12\xe1W\xfe,S\x9e\xa7F\xaf3\x18\x85\xa1s\xd4w\xe8'\xc8c\xf8&\xd7*\x95DL\xf7\xaf\x0fC|1e|\x1bTh\xd1RZ\xde\xfdM37\x91sa\xff蚣C\x01\xc1m8B!\xfc\xba_d'\xc4U\x00\xd38\xd1kb\x1e>\x1f\xae\xb36\xac9:\xaf\xf9@\xd1\xe7X\xd9H\xb3D\xe9\xeaI:;>b\x97z\xab\x8d\xa6\xc0\xbbo\xa7Td\xa8h\x86(\xc4\t\xd8\xd7'<|\x06\xc083\xad&\xa93\x89[F\x90\xe0הVu\x0f\"]B\xc0?\x02guO\x00\xea\\\xfb\xd1\xcf\xf6K\x93{ʧ\xd44\xbc\xe1K\xfa:\x1bj\xb61\xdd=u\xe9\x14`z\xa3z\xe3V\xb9\xe3\xf4\xc1iӺN\xac\x8d\f\xd3!\xb2\xed\x03\xc9\xc6\x04\x84\x1b\xcb\x142q\xf4\xbe\xba\xa7'\xef\u007f)7o\xa3\xf1z\xfeo\xf8\xc7\xedD\xb1\x15m\u007f\ue622\n\x82\xebκ\xba\xba\xfa\xc26\xca)\x89t\x8b\xe7\xaa\xd010\x92\x1c\xa1\x91\xe1\xafwH\x06\xa4\"ף\x98\xd8S\xdf}f˫֏\xe5O\x86\xf7^\x17\x1fC\xae\x9b7\x06\x9b\x06\x88\xa0J\xe0\x0e8U\xf5\xd4\x11\xe1\x86\xefB\x8eq\x9d\n\x83\xc9Y\x19~\x81\xfe\xa8^\xe9I\x1a&X\x9f\x8aR\x8cv\x1e\x1e~T\x93w\xb4Vs`\x84\xe7\xf6\x11\b\x8a\x8c\x96\xa8\x93c5\xb9\x9d|\xe5\x16\xce#|\xd0\xf4\xaeE\xb5\x05\x94`Jj(?%;|E\xbaH\xb5dj\xabtL#\xcf\xf4\x1b\xdcG\x15#!\x8a8\x1f\xa8Q[\xc5\xf1\x19\x19k)za\x10x\xbe\xeft\xf3\x94\x9f\xebz\xe0R\xaa\x10\xfa\xbf\x02\x8f\x9dc,[\x1em\xb9\xf3\xa4\xd5\xe7\x12\xf7\x15wN\xfb\xd3\xf310\r+\xfd\f\b\xab\x18\xb4\x10\xb2\x16\xff\xc3\xd2\xe8x\xa9\u0096o\xc15\xe3\x82\b;\xb8\xb4\xb05A=\xbaC\xcb\xd3\xe3\xd5G\xe4\xf0\x129\xc1\x89u\xe8c\xbc\xeeN\xa7c\xa7-\xc1\x03:\xa1\x1e\xd6Ӽ\xaf\xde5\xc4\x0e\x85{\x17\xbfQ\xb1\xeb\xd4\xe0Z\xbe\a\xa0\x8eY\xf4tU&f\x8a;\xd7\xc7\xfc\xb2\xa1\xf2p\xa05\x04\xd7/L\xbce\x1a\x0f%h^\xda\xf8\xe9ާ{\x94\x16i\x98Mn\xd9\v\x86[ɣ?\xe4\xb2\x14\xd0n\x14\xea0\xa5\x06B\x81\x1bd\xac\x99\x16\xf8\xbdYPr\xfb\x90\xe3\xd1\xe6y4@W\xa5\x94ئ\xbe\xcf}s\a\xa9\u007f\xf1\xc6J\xfa~b\xc9\xe4G\r\xf7\x93\xb0A\xaf5\xdd1\xf29\x04\xb3\xa0p\f\t^\f$\xb9Te\f\xa5\xc4\"\x16N\x00\xf5\xb3쭃Y\x14\u05cd\xa35\x02\xbce\xab\xde5\x13i7Wu/S\x8b\x15h\x96K2XC;U\xa5\x83G\xdb^\xeeN\rj\x1b\xc1:\xc2\x0f\t\b\x9f!r\xbdl\xec\xd4\xef\"oX\xc1\n\xf0R\xe4c\xec\xf0\xfa8Va\xe4\xce\x0f\x96w\x91\xb3U\xbb\xca)Be\xc3\xeb\x89\xf1q\x81\xa3\xd6\xf3\xd2y\xb4\xc2@!{n\f\xcf2s\x93k\"Ц\xc6뷽.H.\r\xad\x88y\xd7'\x86\xfd\x8d\xf9\xe6`\xc2O<\x19\xf1\xa1\x8a`\xef\xdcJ\xdf\":d\xfe\xbbÐi\x8cþ\xe9\b\x94\x9a).\xedc\xac\xe5D\xb9=\xb0U\x86%\x14\xbc*\xfc\xf8\x8b}\xc3`<^QTC\xe4\xaenǢ3ʕ\x9a\xa48o\xa6\x13dmt\xb03(\x93_\xaaYL\x04\x8b\x10&\xa7\xb2}]\x02\x0f[\x86y\xdb\x130K\xccH\xb8.\xed\x10\x8c\x8c2ɡ\xe9\x009j\xceճ\v\x15D\xdb@l\xd4l\r\xa8\xe4\x8cL\xb6a\xc0\x95\a\x8b\x18\xcd\xd8\xd9\xc2+\x89\xa1mh2\xcd\x00{\xb3\x93\xc9\xe1E<\xca/1\xed\xba\xe0q\x19\x1f\xc9\xe9d\xaa6\x8f[:\xbb\x9d\x01\v \xc4\xdaVB\xe868s\xa9\xa1\xcf\x1c\xd4\b~+\a\x81\xe1\x8c\xf7\xeeo\xb2(4\xc0b\xc0\xc66\xca\v\f\xfd\xf3I혃Ԉ\x0ebWn\xa2\xfb\x038OaM\xa5\xbd6\x94\xfa\xa2\x86\x8b\x17\xeb\x8a衼բ\xb3\xee{\x86\nH\xb3\xaf\xa6\vQ\xe9\xfdXV\x90\xef\n\xb1&\xe3\xf8\x99ާn\x89!$ꁆ\xe5hk\x1a(\x83_92s\x82\f\xf2\xa1\xc3\xe2\x12\xdfB\x91\x99\xc8\x04\x10\x0f%\x833\u007f\xff{Q)\x0e0N?\xaa\x822\xb5\x98\x04\xdc|\x16]\x8eB?-ED\x16\x02\xa40\xd7<\x8c&\x83ή\x85p\xc8\xcf\xe0~\xd4\xe9H-&\x82\xe1\x8ajNu\xba\xdcX\xb9Q\x90\xbcSG\x0f\x02\xb9\x93\x0e\xe3hw\x0e\aر\n\r0Q\x8b\x1c\x82Ƭ\xcd1\xe9$\xed1\x8d2&\x90\xeb#\xe1!4\x19;\xab\x89)w\xd2,\xf5<%\x88C\xc3\xc6\x0fW\xa2\xfa\xc3x\xeb\x15\x84\x01Ь\x80BN\xd3\xff\x94\xc6\x17\x90\xb2v;\x1e\v\x12\b4\r\x0e\u007f1\xd7<\xb7\xf0\x11<\x0f\u007f\xeeX\xbaq\xac\xf6\xee\xe4\f\xcd\"\xde礯\xb4\x00&_as\xb8\x884\xa4\xd5\xcb^ƌ\xbav\xd0ަ\vڶ\xe1B\x12\xa4e\x81)\x97\xec_\xe4\"\xb8\x9e\xc5\xe6\xd5*>б\xbc1\xa6\f\x15c/\xe7\xa1\xe5>H\xf4\xba,\xa4\xbb\xed\xe3\x102\x85\xf9\f\xbd\x8c2\xfe\xfd/\xacX,z\xda*\xf4\xaa\xa5\xe0\xab%\x94ҹ 0\x8c\x17\xd1k\b́\x845\x0e\x9c\xd9\xd3\xd8\xe3o\xd1\u007f@\xe6\x1a\f_@7\x1c\xd7\xce\xf66\xd4e&\x8d½\xab\"\xfa#\xa6\x96\x85\xd2\bep\"\xd1t\xbc͔ε=\x82\xc4aU6\x90\xd89\xbbv\xd9\t\x9dC\xe6\x86jM\xff\xd78\xa1\x85\xe3\x1be\xbd\xe4P8\x92\xa8\xfa\x88\xed\a>.\x80\xf2۹\xe8\x19\x81$\r|$\xb3\x80\xf7\xbb\xa3[\xb5\xfdsa\x02\x1b\x1b\xad\xd4\xc8\x05\xb2>\x91\xa2\x84[\x8bC\xaa\xe3#\xf0I-\x1b\xebՠ\xc6Ɂy\x11\x9b\x91\x82\x86\xc0\xb4\xccE0\a\xaf;\xfd\x9b\v\xaa\x04\x9e\xda\xee=\xa2\x81\x8eq\xe2\xb0\xfdV\x8b;w\xaeQ\x95PO\xff\x87P\xbb\xf2\xf5\x1cP*>.G\x9f\xdd\xcf9\x9c\x8a\xb6\x93\xb1 ¢=\x82\x01\xed\xb1JO\x1b\x1e鋾\x0f]\x8d\xb8\u007f\x8c\r\xcf\xc1\xe7\t\x9ce\xcc=\x112@\x90\xc0\xbc\xea\xf0\x9a\xb1\x03.\xdd\xfa[\x02(\x89\x8f{W\xec\x17\x8d\xb1\xb7\xf0\xe4˝\x04\x1e\x11\xea\x14\xd8\xdfL\x13K\x88\x01\u007f\x80P2\xfcg\x9e\x96\x83\xa9\xb3\x83\xe2\xf8\x11^OgE\xd5\xf8\xe5\x88\f}\\\xa1\xf2ɿ\xe6\x95\xc0Rnp\xbc\x0e\xe4o\x84\x8e\xb3\xc4\x00j\xfb\x87X9\x9a\x02\xc4\xcd\b##O+\xd5Q\xc0!Xh\x81a\x0ey\xa8\x89\x11@\x98u/\x9f:\xce_\xf7T&\xabd\xb3\xbch\xe4`\x0e\x1d|b\xb9\x06\xf8|U\xf6[\a#\x85o\xf3\xc8Q3\x1d\f(}l\x17\x86\xf8\x0fl\xdd\x03:ӑy\x9c\x81\xe2E\xa5/\x92\xe2\xebh\xaas!\xb0\xaf\xd1m\xe0\x83}\xee\xbd;\xffp\xcb\t0\x94\xbe#LȐ\xa7i9\xc6\xdf*\x1e1\xec\x87\x01\\9\xdb\xd4w\x97\x83$'\xcaԼ{c0A\xae\x93}\xff\x10-\xb2㏡\xb4\xe34|\aO\xfa\xfcAT\xe9\xa0J\x8f\xdde5p\x8f\xb3>\x94\x9b\xd7\xe5\xf5\f\xce\xea*NM\x0f]\u007f`\xf3\xd3@\x05.\x99t0\xb0NY\xb7W\xef\x15._\n.\xb4\xf7[\xffyJ\xee\xa5\xc0!\xbd\xa1D\x9f\x85\x02^L\x16\xc3Rs\xd8-.Q[\xb4\x90\xa6\xfc0i\x9c\xf9\x8b\xe2c\xeb\x11{#\xa9>h\x1fP\xa9}sy\x03q\xc4|\x9f\x00\xb0\xdcC;\xbd\x1b\xbaF\x16\xd4\xe2\xec<\x99\x83\x13)\xebl\rU҈9`\x017\x93\xeb\x1d\xba\xb2\xa7\xb8\xb3J\x9e\xe63\x85FE\x91\xad\x1d\xef\x0e\xa8؈\x85쉵\x94\xcat,x\xd3\r\xd2\xe6\u0081ĵ\x9f\xa9\xd4IG\xa1\x1b\xf9\xa08\xed`\xee2\xff\xd0\xcby\x1eM\xb7`\x83'\xb5\xb3\xf1((\xbe\xb8\x14\xe6\xfd\x9fg\u007fx\xe9\x13(\xbf\x91PŤ\x11\x01q\xbf\xd4\xe5#\r\xe8K\xf8\xb2.S~\x88I\x02\xa00\xbc1\xdaT\xa5(\xee\n\x81\x87\xc7ƾ(\x89\xcai\x9cN\xa2\xbcS\x85\x17j\xfb\x94\xa0\xdf!}\xe8E\x9f}\xbcr\x10\xd4!$D\x94\xfd\x87\xe3;G)\xbb&\xc7p\xb5\xb0\xb1\xb39\xba:\x91\xe0\"\xfea[zb\xf2+3\xfc\xf9tW\x88\x1coZy\xcbsا\xb7\v\x15у\x90\x93\xcd_\r\xb9\xea`\xa1O\xb1#\x8f\x1c}\x1d̙\x81I\xdf]\x00\xb8q`\xa5\x10Zs\xef\xd6\xe6+\xf1\xe1~\x8e\xb2L%TK\xc7\x13\v\x8e\xfdH\x9aX`\x17\xbfwr\xad\x94\xa8\xa6o\x02\x17\xac\x80X\xb0\xa43\xe4\x1bm{\xa9~\x14\x1cC\x06,d%\xaa\u007f`GO\xeb-\xa7\x00\u008c\xa8r\x17\xea\xb21\v\x98O\xe1\x9cgpM\x80\x96\xf8\xef;\xcbΫG\xa0{h/*\xb21\x97\x94\x1a`A?\xe4Iu\x06\x9c\\\xb5\xa6\x00\xf2\x90\v7:\xd6f2\x91\x8d\x00?G\x1b\xe4\xc7A<~\x81\b\xe2\xe8\x83CM\vJ\x0e^R\x8a\xbed\xe9\xe1\x1e\xb4\xb1y\xb2\xd7%\xf6U\xd3v\xabZ\x05#zT\x8d~̒\xa5\x8b\xa5yj\xe7\x10=\xca\f\x83\xeb\x1a?s\x18\x92\xe0\x16\xe1\xde\xc1*\x99\x809\xf1\xe4O\x8f[\x16l\xc6ꐳ\xaea\xd9N\xa8;\xf5\aw6\x9c\x1f\xa1ans:\xef\xbc\xdda\x058\xac\xee\x10G\b\x90~9\x145\xba#Z/5Zqu3\x81\xf7\x9cƖ\xf8Yp\x84\x1bM\xa1\xa2\x91\x00đk\xc5쭧\x90\x18L|\xefdhj\xbf\xb0\xb2\xf7o\xa1n\xc1}\xfd\x14G\xe4뼘\xe6\x84J\x16\xb9h\x98\x12\xd5a\xe7\x98\x1c\x17Nf\xf30\xfb\xed\xd2\xf4\x1f\xc9!\xb4\xaa+ͣ\xeb\xdd\xc1\xcd\xde&\xe6\xed\x93\n;eM\xf1\"\xb0c\x88\x04\x85\xa2\xb2$\xea\xa25\xb8&χ\xab\xec\n0\"\x17Ȭ\xb3=S\x11\x15\xab\xf5}\u007fI\xce\x1dxe\x8fã\xd5\xc6\x17\xd8p\f\x9a\x95\xef+dCw\xd4\xee\x0e\xb8\x89\x9e\a\xf8*4n\x8c\xaa\xb4B\xbbx\xb9\x87R4zC\x16qv\xc9ƍ\xf3\xaf\x81u\xdb<\xa6 \xc3\x12\xae\xcb\xe0\xb0j\x05\x97\xd7O^̱\x1b\x82N\x93p\xa5\xfa\aՈi~\u05c8\xa2\f2\xb5\x91\x87\x1c^\x04\x84\x8b\x93艆m\x9c\x18\xee\xe1\xa1;\x02\x98\xf3fA\xe8\x90t\x8e\x9e\x98\xf7\xb0\a\x01j\xd5v\x9cfK\xd4\x1b\xc5K\xec\xd2\ng\a\f+\xdbgD\x10i)\xe3\x01aiA\x19\xcc\xf2֏\xaeI\xc5\x05I\xcc\x0e\x91\xbe\x0f\x8fz\x17\xa8\xc65\x18\xa2)b\x92R\xe30\xcd\uf4bfA\xa2Ͱ\xc7\xc9\xf5MG\xe9\xc9\xe5\xc2o\xd3\x1c]<9\x06\xa2u\xf8\xf7\xcfi\xe9\xa5T\xca\n\xbaB\x8a\x86ay\xc1|\xda\x1eA\xec\xb1Ry4\x93\x9c\xfd\x95\xe79,eS\xbb\xf0:\x18\xe1]zhpS\xc3\f\xb0M\x15o\xd6\xf2w,-\xfa\x83ĺ辏\xea\x85^[\xc1\xb7\x90R'}\xf5\xd1\x13\xca(\x80\xa53Y\x97,'\xbe0\x1d\"\x1a|r&4\xe0r\u007f?\x83\x9f\x1aM\xe1\xd9m\xad\x05ǻ\xa0-\x92M<4\xf96\xea@\xf1\x16>\x12\x1bn!\xd1_\x9eܚ_\xe4z\xa1\x82QV\x9c\x1b\x85f~_C\xdc\xec\xf97\x1aS\x14`\x9a\xd4\xe7\xfb]7\xb7F\xe6\x11\xfa\xc0u\xdc\xc7\xdfq:j\x85\x12\xb2\xac\xee69D\xad\x9a\xf7I\x16g\xad9w\v'\x01\x933;+Ź\xceD7\xf4Ev\xa9\x13\x97\xf2q\xb8\x97Y`\xb7\b\x00J\xf7\x95\xa6\x18\xc1\xca\xda<\xd5c\x13\xcb\xe2\xf5\xca[\x92\x978\x97\xe3P\xbdݻ\x80\xcd=\xff%\xe8̆\xd7M\x1ct\xfbA \xd7\xdeA\xf5}\x0f\aM\xc8+\xde\xf6w\v\xacs5\xd5\xf3.\xa3y\xd9B m8\xa0&A\x01\x10\xa9\xaa\xadRb\xcfӐ5L\\;\x93)S9\xc3P\xb3\x99Aj\x86\x17\xc0\x97<\b\xc9\xfa)\xe4\xc1\x8b\xfc\xfe\x16\x9f\xef\xc2\xca\aq\xec\xf3\xf1\x81\xdb\xc1\xe0@\x8dDZ\x93\x1d]\xc6\"\xc5{y\x00\x90\xb2\xd9\r\x96?\x00\r\x14\xd9\x00\xdb?xHYȚ\x90\xb3\xe1m\x17\xe8l1\xab\x12s\x98M\x12T\u007f\x92\xe7G\xb8\x1f[ėa\xa2\xc8%Y\xde\xf7\a\xc1\xb3{E\xbey\xfflf\x91\xbc\u074b\xd2.\xb5\xc5\x1b\r|\x93W\xd6۶\xf9\xaa\x9e\x80\x81\xaf\xa9\xbc?\xbe\a\xf4\xf2\xc1#\xd8\xf8\x80y\xb2\xad\xa8V\xf8gRh\xaf\x96u45\xf4\xc1p\xfb\xb8\xd3V\x97\xa0X\xef\xc0t\xa8\r\xff\x80r.\xc8\x11\xb5\xf7\xea\xe5\x9f\xdf&\xa8\xbay\xb1\xbcmdP\xdf\xf6\xe7VX\xa8\u007f\xf7\x04\xbc[oDF=\x88\x18oA\xaf섇\xda\xf6u\xa3\x8d\xbbs\x8eum9\xe4\xdd\xf6s\x8dQ\x8d\xa4X,\x10\x8e`\u007f*0\xa53\xb5\ue64d\xc2F\x057\xf3\xc9--#A\u0092k\xaf7\xa0nn*\x8a\r\xd8\xc1\x02\x00\xbe\xe6\xee\xd3'\xe7\xebD\x10\xd0]\"`9\tݲ\x18`\xcb\xe7\x14\xad\xe9\\Μ\x04\xd9\x1b\xe1\\a\xddU\x98\xc1\x17\x9e\xee¼\xd1\xf9]fm\xc1y~\xd2\xcc\xd6J>ם#\x9b<>\xab\tU\xe4\x92H\x11\xb5\xbc\xd0\v:ͅ\xe5%Hmm\x8c\x16\x82\xe42b\xa8>\xaf\xb5&\xd1,c,\xc9\xd3\xe60\xc71B<\v\x82\bF\x00\x1c/\b\xcc{ׇQ\xc4?\x95\xeeR\a8?\xa8z\xe7V=QΈ\xa5\x00f\x13\xa1\v-\xcc\xefNCa\xa3F\x02\xcd]\x8f\x1b\xeb\x90ͥS\x1eK<\xce\x1f\xfa\xc8]\x14z\xdfd\a\x8f\xfc\xe1$\xbd\xd8fi\t_d9\xfdnԍ\x14\xa4\x17\xb4\x98w\xf2\xf9K\xdfa\x06\x913\xb4\xb1\u007fp\x1a\x8fR \xa0J\xf19I\xe1Ps\x03\xef\xfe\x88\x89~\x06#e\xb3\x13^#:2b\xfaJ\xacF \xef\xf7\xe5\xa0\xf3\x1e\xfb\xef\x1c\rR\xd5\\\xa7\xfd/\x99\xdd\xca\xe7\xbdZe\x8b\r\xe0\xca\x10\xd0\xf0\xe5\xaf\t\xee<\xd5ݭ\xa9\xdd\x06E\xb7;v\xb1=\xc8V\x02\xfe^>\xb3\xf6@\x05Y\x89\xb0'~\xd5CT`gI\xadשb\x93\xdcn\x9e\xf0\x88\xe6c\x03\xcd*D\x11\xdc\\\x9c\x16\xc3$Q\x06\xae\x907\x142b\xf9\xab\xd0G\x92\x82q\xf4\xfbC\xddi\xdce\xb73\x97\x04\xcb%\xfc\xb9\xe5\x05.\x03\xb1K\x96G3\x92\xebk\xb7\"?}\x91[n\xf6\xd9\\!g\xd2[u\x1e]\xf1\xbb$8\xbc\xeb\xa5hW\xa2\xd0z\xab\u007f\xec\xf6\xd0V\xa7\xa7Ŧ\xa5T:\x88\"\x18\xbd\xf6\xff\x85\xbc1\xedJ\xa3\x96\x8cbT\x8f\v\xf8\xf3\xda\xf5}#{ҼL\xa32\x8e\xcf\xca\xf0&\xd2X\xa4\xea\x9fT\xf5\xfa\x0f\xf0m\x1cs|\x99se\xc1\x94PB\x9b\xd9_\xee#\xd0v\x97\x05\xd8\xe0{\xf6ܲ\xca\x14\xaf\x9dR\xea^\xb5\xe5e\xd9\x14\x1b\x89/ԣGa~u\x15\x1e\xe1\\]\xaa\xfc\x8b۳c\xa6y~\xe0E\xf7\x92F\r\xb1\xd7'rR9[\xe71\x80*\x90\x16f2\x150\xe8\xfe&DO\x8a,\xc5AL\xd4\xf5V8\xe6\xa7:\x8do&E\x9e\x16\x93\xfc\xd6`\xecb:zn<\x85\xc40\xd8#E\xab\xc1\xa4<\xa7\xc9p\xfa\x1b\xd2C\xfd\xd4\xef\xeeRE\xaeMR\xf1\xdd?\x1cѤQ\xbe\xdb\\\xa2\xf4\r\xfej\xf1'5\x8a\rV#\xc7\aum\x80\xbfÛ\x908\xa5\xb7\xe2\x14\x82\xa5\x8f\xd0ۘ\xe0b\xc8\xe8\xb9S\x1d~+\x84\xa3\xb1\x0f\xaf\v\x02\xb6\xbc \xb44\xbd\x19\x84vN*\xf7\x12HQ\x01\rzբCbbM\x9b\xa88\xbbm\x8d\xb9Q<\xbe\"k$ǵK)~\xc1\x03\x9e\xc9ֻc\x1b\xd0R\xb3\xa9\xbb\xa8:?b\a\xdaT8!\xc5\xf9\xad,E\xdeG\xd5-\f\xbf\xb9\xaf95,\x93>\\\xf3]&\x01\x1d\x985\xfeѾ\xc9X\x84\xffe;\xeahN\xb5\xd9\xc4\xd4N\x82\xeaW\x97v-\x8a4\xe9\x12\xbc7\x98\x82\xb4\x02B~\xeb\xc4_\x9dn\xb9L\x18嘎\x9e\xfd\x1f\u007f#_\x10:&x\xd3:]\x05;\"\f\x8d+\xf3\xcfO|\x94\x8d\xe7\u05cd\t(\xa2ho\xbc\x8fiENX|\xb3}\xf0\xbfj\x8f\x84?H6)\x89\xb2\xac`)\x9e\x12\xcam\x83\xef\xcf\xc8\xee\xa4od\xa1'a7\x8e\x8c$\bC\xc1\x99+vwH\x16\xcb\xf5\xa9\x9e}\xb1\x85\x12-ָc\x19\x95\x80\xc7\x13f\xdd*\t\xed\xc3W\xb2֎v\xe2h\x1b߆W\xeaM\xe1ErKA\x97\u007f\xa3j\xd9\xfe\xdc(CY-\xbcc\x98\xa2\xeeg\x9dH\xab\xf5:\xe3\x97>%J?\xe4\x02\x8c\xad\x00\b\x9fֺ\x0f\x8bc4z\xfb\xfeqm\xa3\xa9.\x0e\xbcD\x10\x1eD\xd4\x1e\x03\xf9\xc1\f\xbbn\xd8R\xbap_\xca\f\x91\xf7\xdfI\xe8N9F\x97nTV\xfe\xfc[4@6?\"3gt;݆\x99`\xb3\x8c\xb7\xfd\xb6\xa4\xb1|1.F\xf1,\xe20\xcd\xfa\xb3ngD\xabЬ[H\x0f\xb0T8\xa6\x163\xa7\x04!\xc1\xde31Q\nI\xc4\x15\x87I\x9c\xa5\x0es\xd8ޞ\xa7!\xc2I&)\xfb6^\xd1V\xc0\xa8%\x17\xbe\xb3f\xbd\xb7\xc1lʈ\b݁\x19\xff\x84\xcd\xdcܩ\x13X\xe1X\xf4\x9b\x923}/\xbdi\xcd!\xc4\x11߬\xf1y4(\xeb\x94\x11\xd8n%,\xce\x00,\xec\xe2,\xe4:g<\x13\xb0S6_\x80\xbfW\x81\xc1\x82\x8b\x0eb\x0e\x9eA\xb7\x97\xe76\x14\xcf\x00\x1a\xa8}\xf9\x81\x14Tm\xd7\xe5\xa8\xe3\a\a\xf0X\xa8\x1d(>\x16\xb9\xfa~\xe99\b@\\\xe6\xea\x84|\xff\x05\xdc^\xa9m\xbb\x90ִ\xd3a\xa9YfyEH)\x9e\xd2-\"\x94\xe2{\x18\xb5\x97E\x1fQŤ\x00\xb1\\p\xef\xee\xa7\xf1\trh(ס~м\xc8\xeb㿭\x8d\xe10: k\x176\xae\x87n\xb0\x84\xe4F\xc6\x05\xc49@\x83s\xec-\xe9i\xf3\xc7AAA\xfd\xcd\xe8\x17\x86\x15\x94\x87\x9a\xd2\x00WA\xfbߦ$\xb9\xad\x15І`\xb6\xa0\x13Q\xff\xe2d5I\x01\x93\t\x8c\x9f\x9aͩ\x04c|;\xbf; q\xb6\xd9|6\xb1\xa0Ge\x89\xff\xd7\xc5&xq\xc0\xe3\xce8B\x87Ke\xb2/N\x86\xbej\x89=#\xac\xed]\xccX|\xd9҃\xf1\x1b\xb9=\xd6\x06\xe5\xa5[$\x86_PQ\xb7\xf3\x9c\xe7\xff\xb5\xa2z\x89cD\x15\xfa]\x86E\x0f3@\xcf\xcd\xfe\xe7\x1e\x17l\xfa0\x9d\xc8}\xd1$\xb8\u07fc \x1fK2\xbd\xd4\bn\x97f\xc411\xfb\xa4\x84\x1dd\xc0p\f\xa5pT\x8f\x1a`\xdf\xc0\x96gG\x92\xad\x10\xc7+\xe1\xc3#\xde\xd6\xc7aZG\xe7a\xea\x865\xad\x17\xef_)A'\xa3\xa2\x8f\x88\xc3\xf4\r39\x01\n2gk\xca\xd3A\ued55ؖ\xa8\nԴ\xde;\f@\xd1u\x06P\xda\xe4K\xce߇\xd8\x19\xa1\xa6\x03\xc5j\v\x92\xbe\x83,U\xf7\x17\xd3cV\xdbe\x00\xb9^\x17\x12\x8b\v\xd7|h.O\xb1\t)\xc0:\x0e\xc2|\xc5p\xbf\xf9\xe8H\xc7dҟ\b\xea.^\f\xa3\x1a\xc6u!\xbc\b$\x90\xe4[r\xdf\xe4{\x98Rz\x04\x86&\xf6\xd0Q\xa776(B\xa3h!i\xb4aʹF\xf5&0\xb6\xbb\xb8\\!\xc4\xd1\xe64h\x00\xbf\xccy\xb2(uPZ2\xc3\xee\xb3\"'\x0e\xdb.g\xe1\xe6ۃ\xa6,O/\x86\x94\xff\x8aq\xca\x11r\x05\xd9\xed\xe5\xd8\xdf\xfbshpJ\xa7\xb7!\x17\\\xe1\xae\xd3pw\xac\xa5\xf8\xcd\x01/\xf5\x8a{\xf0\xb4\xfb\xb3\x0f\x91j\r\x84\x15'\u05ca\x9d-m\x89E\xa2K\x8e#\xdd\xf2\xd3\xe5C\x8f\x1b\xd1Aڳ\nk\xf5\xbcJk\x8d\bJ\xad\x8a{\x83F\x99\x06NgqX&\xa1,\xe4\x89ͯ\xe8\x86\xcd\xdb\xdc\xdd\xc3H\xcf\x00+i\xba\xb85\xe5\x9b\xdeh\x0e;_\xb4\b\x85Qeƞ\x83\x03\x13\xad\xa1\xf79\xa7\xaah\x85\xc0FѮj\x17N\xa7\x9f=\x9e\xabֳ\xa2b\x92}%\x11\xec\xfaႨ\xf8$\ro`z\x89\xbc\xa7\xb0E\x02\xb1\x04e\xd2Mʂ\r\xc7O\xe6\xbfm\xf4!m\xf0\xaa\xd9玞\x13\xbd}T\xe2\xa5\xc2v\x86\xf6\n\xb1j\xf2\xfc\xa2\xae\"\xcfV\xafJ\xea\xa8\x1d\xb5\xf1\x86K\xd2\x1d\v7IW\xdaZ\x81v\xc8\x0f\xf3\xa4Q/0O\xd7&5\fN\xae\xb4\nM\xb4\x17\x13˔F\xc9\xd2+eOt\xa9\x96$be\x01\x8b\x1e\u07b3\xa68\xbbA\xc0\xf1\xba\xb2\xce\"\xf1z\x80\xddVrj\xbb\xf1Vk\xa4\x03\xe2\x1d\x1b\xc5\xc2\xfc\xee9q/\x89\xd2\xff\x0e\xa1\xbb\x11\x0e\xab\xca\f\xf7!\x8b\xac*\xb1\x85\x81h\xf5\xc0\x8f\xa5\xdbE \xa5\xed\xd2\xe1\x8ep\xbf\x94\xd8~\xe6\xbeY\"\xe8\xc9\xfcw\xb9\xda\xe1ǒ\xfbk`R\xce!הُ}`Qk\x88\xdc+\x19\xbb\xa0\xa1\xfd\x8e.\xc0E\xb0\x84飾\xef\xd0覎[\xb6\x11\x90\xf4\xca\x18j\xc8\t\x92^\x1c\xc0h&\xd5\t>\xa0\xaexC\xc9\x02\xfe+\xa1\xaeC\xd2.\xa6W\xb8\xf1P\xcd쫗\x94\xcaC\xd3Z\xcd\xf8\x96ǮrI\xb5\r\xcaj\xb8*x0\x1a\x10FMm\x1a\xab\a\xfc\a\xb4\xbb\xcd_C\xe3\x83\f\xa0ײ\x83\xe7\xf0u\x18%iJ\xb1\xd2.\x8f\x1e7q\xdb\xf1\xfe>sQ \x13\x93U\x18^\xf4\xf3\xef\xcd)\xe8J\xfe͵#X]\xb8Gz\x99x\x80\"zJenߞזi\x13\xda\xfb\xe5\xd5%;\t\r\x83\x06\\\xc8Y\xee\x11\x84\x89\xaf\x95\xe4;Pl4\xc31\xeek\x0eQ\xb2D\xb0\xba\x8e\x16\x01\xb1\xa5I9\x10\xe8\xd8\xfb\xc9HR\xe7\xfbh\xee \xa0\x99%c?\xa7\xbf\xf2\xdb\xdb\xda\xf41\xd6_\x81\xbf\x1b\xc0\xd4\xfbvbh\x1bި\xc8S \x03\xfb\xcf\xe8\xd0C\nԼWu\xf9\xb9\xb2\xb0*\x1f\xab4\xa6\n&\xd6y\x05)\xb5\xf3,V\t\x13\xb0\xeff\x1e4\xb5\x18W\x92+mY\xe4\xd3\xe6\xbb\xd0Woe\xf5F\x1em\xecb\x8b\x93Zq\xa7\xc8\xcd\xc4c@\x84V\x1f\xaaVu=\x82\xfbw\xcc\x05\xe9\xc5c\xe0)\xb2\xe3i\x83^\xa7mǭ\xf7h\xb9h\xbe\x95.0!\xa6\\\xd3M\x80\xc7\xcb\xef\xccĪ\f\x10-9ڈ\\\xdaj\xb0\x832%\xe0[\xd4\xf5\x9c\xc6B\xa7\f\x1f)Ѕ\xb40\xdf\x19\x8d\xed\x05\xcf\xd3I\xec\x12\xf9#\x1a襇\x99)\x9aÛ\x9a\x87\xa7\x80s\"\xf8/c\x8am\x83\xee\xe4I\x15:\x93\x93\x8bT\xa5$\x1f\x8bA\x19j=\xc6c\x1c?N\"\x1af\xf8\x93m\x82.\xc6\xc8\v\x05f\xe7u\x9a?l\xc1\x02\xef9\x19\xb1pOi\xb0\xdc\xd7DU\x00Kx(\x8dR/\x8f\xaeY\x10U:\x94\xda]5͢\x18\x9c\xe1\xc7ؚ\x1ec\xc1\x1fW\x97<\x83\xa5\xd9\xd2\xf6\xdb_\f\xb75A\xf1\xc0{\x17\xa3#JϵޗUH\x8fy\xc0t\x8d/\x1e\x1b\xf3d\x1a0\xe8\xb4\x19&~\x1c(\xceF\x11-\x89\x18\x00\xb2M\x8a\x1b\x00C\x85\xebB\xb2\xeeO\xfdiC\x00\x9c\x96\x14\xa7f}\xfd\x92ECEE\x19-\xc0\xfduyGI\xfcj\xced\xc9\xfa\xd8%M\xeeo\x13UX\x8a\x8d\xfd\x98\u05c8\xe7';\xc4\xf3)g\x8d6Z\v\x0e\xf9\x17\xdd\xf4xq\x95i\xb8ڍ-\xecm\xccO\x13\x83\xd4\x14\x11C\xd6\x0e\x15~.N\x96kL\xf3\x9e\xea\x17b\x17\xa5\x84\x97\x13\xe6\x92e\xf0\xe4b\x92\xd5\xe2\xa6;\x83\x9aN͑\x90/\xc9}\xbd\xed\x9f\xecϊ\xe8\xfb':pt\xb0\x81\x93s\x8a\r 4\xd0vaF\xb3m\xe4\x15\xe4\x84\xe7\x9b\x1d($\x93\x11j\xe9\x9d.ӧ\x9dk\x13wz\x99\xe8\xb8\xd0\xc2\x0e\xbc\r9O\xf9\xfd\xef\xe7\xe3\xc1Q\xc4\xecf\x19\xe2\xe6\x03\xa0\xc1\n\x96B\x9f\f\x92\xe6Z\x9c \xec\x12xa\xea\xd9\xc6\x1c\xb6\x1c\xa8\x9e\x04g5%\x14%\xf8\xc2\xf1\xfb\\\\>匾\xb1\x89:#\x84.\xe8/\x80a\xedG\xa3\xee%\xa04\xcf\r3\xbb\n\xab\xa2\xca \u038d\x15\x9b@\xb4E\xc1*\xfd.\u070e\xa02\n\n\xd9`f\xda\x1bz5=v<\xce\xceqN\xdbS)\x02\x807\xab\xb5.`\xd0\u007f\xa6X\x86\x9dלx\x93X\xb7\xa6\xa5R\xdc\xc7\xff \xbfݥys\xd8\xc3)<%\x95M\n\x95t}*\x16\xcb\xfd\xea\x92Y\x13@\xd8\x1d\xb6\xc1\xf8\x80\\\xf1F\xb0\x9c\xbb\x8f@!\xc0U2\xbb/\xe8\xbc\x04z\xaa>=\x91\xaa\x18\x14\x92u\xbf\xc48\xb6\xf6\xe7WpܯƏ\xb5%E\xef\x9er\x17i\xe2\x15\x96\xca:=\x88|\x9c\xec\x00v\xe2Nor\x00\x871\xb4\xfdn\U00062815\x88\xe1S\xa3R)\xf3\xbc\x19l=\xa4\ty\xe9n\x85\xe0FF\xf8\xbc\x9c$RP\x00`\xcd\xf5S-9\xe8\xecz\xacB\x9d\x88\xe2\rB\x05\xd7j\xa5\x92\x90\xf1\t83,\n\xe2,\xc1\xf4\x03\xed\xf4N$p}\x12@\x84\xb1w\xa4L\x8a5[\xed\xf7\xae|`\x8eͩdV\x89c\xf53\xe0\x9as\x1d\xe1k8\x8f:-\xb4[\x1b\xfd48\xd7\xcb\x1a\xe8\xb7\x10\x14%B%q\xbf\xba\x12\xda*0A\xf5O\x17i\xd3y\xf3\x03R>;E\xe5\x12h\xcb\b=\x8ae\x85Yx\x10\xbe\xfc\xb6\x011\xc9\xcb\xd9e/i\x9c\xe6\x10\xf8Z\xd2\xdf\x12\xfdd{*\x020\xd5\x11\xfc\xca*\x04>\xf0$\x00u\xd2\xf0\x86\x8e\x85\xd5,\xd5\xddI\xae\x19*\xcb\u007f\xffkյZngQ\x01Cc7uɞ\xbc\x05\xaa\xe9ʹP['Y>p\xc6Sh\x01o\xf4%\x9eA|\xca{'\x0e\xb8X\x16\xf3\xee\x89F\x87\x9a\x929X-\x8b\xd4̬\xaa2q.\x14\xda1\x91\x872?\xe8\x95ϲ\xe3\xc1K\x01\xf2\x94^\x95R>\xffH#q\x190\xa5\x16m3\xfciffsp\x8c\xd4}\x97\a\x95\xc9Ad\xb5\x94Q\xdeH\xca\xd3F\x04\xdd\xdc\xe8\xca\xf5\xdc\a\x0e)֓\x0e:\xa5\xecWe\x8buF\\F\xc5R5\x968Z\xce\x1c+\xe5\x058\x12/#왹\xf0?\xb4ޜ\xf1X\x8dp\xf1\xbfb\xbdJR\xd82T\x80\x8f\x1c\f\xeb\x13\xa4j\xf9\x9f\xce\"L\x1e\x19\x03\xa9`8T5𣠺\x92\x121\a\xc7z\"\xe4}\xb0\xb0\xf6\xc5`\xe8K\xaf\xfb\xfd\xe9\xe9J\xb2J\xd3h\x81\x8cC\xbd\xa0F\xfa\xeaL\x83\xa1\x1at\xb6Y<\xa0i2\xd0\"\xc9\xe1!\xab\xd2\x14dMw(PK'\f^\x9d\xf5\x88a\x90\x8cH\xc7\x04\xfc\xbfتr\x12X+\x12ɭ_\x96\x11\x16eH\x86\x91z\xa8\xb7\x88UB3\xad\x9d\xe8\x14\xc8\t\xd0'\x1c\xfa\xa1NɅ\xcc\xc1/U \x96&\x8ev\xd3\r\xd9Gh\x9e\xbb\x1bG\xe90r\xb6\x9f0s/h\aw:зЂ\xab{\xd3\xdd+\xdc \xa0\ro\xb8Й5\x80\xae\x9bZ\xc25̽\x164\xc12\x88\xe2;چ\x1fY2\u007f&P\xe6O \xd0=m\xc7\xd8\xd2\"RI\xe0\xb3*6\x93wE\xa0*˗\x16ݾh\xc1)2E\xabﺣr\x97\v\xe2\xd1\x1b#\a\xd2%\xfc_\xa6\xc5 \xad\x8a\xae\x88\x0eѦ\xdf\xfe\xb6\x18,N\xf8qeF\xb4a\x04m̞,\xf9\xa9t\xdf\x17\u007f\x8a\xf0SU\xb9R\xb7\xeb\xacR%\xcd^\xb3\xc8y1\xe6\"%T\xbd\xb1\xe9'\x13\x80\xbf\xc4\xd3\x16\xdd\xcd@\xfd\x8du\xcb\xd7\nx\xbf\xff\x12\x19\x1cA\xc4\xff\xfa\x99\xd6z\x06\xdeR^\xf6\xb2\xa2^\xc5\xc5\r\x00J\x8d\x9d5\xe2\xfd4\xd0ќU8*\xe4Ϻ\xd5\xf8\xcf\x0f\\\xd6\x1dܬ1\x00\\WM\xbc\xe8a]\x84\aT\x05)\xa6\U00043733\x85\xb07\x14\xf47\xa4\x1c\x99kE\u009d:\xd4\xd8\bP\xd8\xeaӁC\x0f\x04\xdd8\x9a\xe2~\x17\xfa\xad%\xd0*\xbd\xa9\x91Uֳ\xef\n\xf9h\x021T\\g\xa7\x04\xa7\xc0\xa84Tou\x0e\xa6\xcdV\xdc|0\xb3D\xb4\xb2\xf5s\xa2\xc1\xf43A@\x13\xddeWƔ\xc2'\x8f\x93\x80\\\x83\xc6\xcd4Uzb\x8a\xab\xaa\x89\\\xbd\x01Q\xe5\xc69\xaen\xf8\v\x8e\x89\x0ftd\xbe\xc0Ug\x8eo\x83\x1et\x86\x8014\xd7\xea_I\x958\x9f\xa9\xc1\xfdҚa|\xfc\xa8\x94\xe8F\xeb\x97\xcf\xcb\xc4\v>\xa7PCt\xe3A7\x04\xaf\bGI\x01\x15\x17\xb7\xf9\xb3\x15\x8bn\x03\x16k$\xb2E\x92\xc0\x18\xe5ep5\"\xb7 \xacR\x9ah\x13Y\xcf\x12\xb4\x93\xeb\x82\xf4\t\xd3\x15\xe25\x96\xa8)_\xa3\xd3\x06L\x8ch\xe1{\xae\x94\xb7&\x18i:\x8d\x97Tv\xba\xbc{J\x9d_0\xf0J!\x9e\xbcŏ2\x01P@DAe\x1d\xb5\x96|\a\xd5\at\xf7\xc2I\\o\xefNV\u007fOH\xf6\x8a\xe7@Tk\xb8\x9aϊ\x00\x88u!\x94\x91\xf09\xe6\xa9>*\xdd[]\xc1\xa8\x01i\x8bj\xf2\xf7\x89\xeb;cE(\xf1ͤ\x1b\xd9\x05nOHwT\xbf%z\x85\xd3\x13\ftŕrV\x01\x99\xd2\x0e\x8c\xa4\xf6\xeb\x94\xfd\xaeD@\xfa(\xf9\xf8\x1c^[\\\x1e\x152\f\x04\x8a\x10\xff\xa5M\x9bJ\xaf\x9f{\xad\x92\xa5\xab\x19F\xc6\xedz\x8c\xcb\t\x9e\xd08Ti\xbdA\xea\x97\x12mY\xb7\xd4\x1a\xfa\xae:';e\xe0q)\xf0\x1f\xa6\x1d$\xe6Xk`\xb6\xe4\x86\\\x9a&z\u007f\xe6\x1e\x13~\x943\xa3}i\x87\x9d,\xd1\xd3߾\xc1\xe6\x8fS\xb4\x1f\x06\x84\xaf?\x9f\xb2\x1dN\xa7:\xb2\xf5\xadC\x89+?\x19[S\xaf\xa42b\f\xd5/0\x924u\x9b\xc5\xc1F\xfb\x1e\xc2i\xf25\x98\xc0\x9f(\xb5\xf5\xf7\xdaY\xe5\xc7\xe2\x15ᑭ\xfd\x96\xbct\xc3=\xf8\x88\x14p,\xcfl6\x93e\xbd\xc4sԏJC\x9fo\x9e|]\xc1\xf1\x85F\x8f,\x01r\x9fS\xb4\a\x18\xfct\xae\x94Ї\xa3\xefᰡE\xca;\x1d-k?\x9eY\xa2\x8av\vY\xcf\f\xa3F\x86\xc9\xf4\xe1\x99\xd6[h\xdffd\x97w\xb4 \x18&\xf5<Œ}\xf3\x8c\xb6f\x0e\xf6d.\xfa7\xeb\x19l\x96\xfb\xf0\xcek^\x1fZ~͖\x0f\x91\x94\xaeg\xb0a\x95踑\\A\xa5~\xc0\xf6;\x0eĐ#7\x17\xe31\xec\x924\xb6P\xbf\xb9\t\x84uSؒ\vAG)\xc0Q\xdaF\x83h\xa3\xc0,\xf1W\xf3|\xa5x\xb4o\xd0\xd9%\x9d\xd0\xd7*\xea\xe3\x03}\xa4{*\xac:t\xc0j5\xbfq\x11\x91\xf1\xe4\x9a/\xe7\xa5@\xda3\xa6\x13\xf9\x01\xc2x\xb1%l\xcb\x04\xd0\xfdi<\x02l\xdb\xc1}6?bʦ\x12\xa1܊K.\xf2\xa6\xb7\\\xed\x17\x85\f[i\x81\x89\xbb\x10-:\x1f\x15\xab)\xab\xbe\xc6ֳ'+\xf3\xbanCh\x80n+7\xeb\xab\xfa\xf9\xbd\x911\x9dԑ\xec=\a\x15j*w\ax4y\x967\x85_\x85\xa8.\"\x13N\x80\xf2Js\xedbF\x10\x98\x1bKx\a\xaf\xbe-\xde(\xcdH-\xf5\xb4D\xa2\x1c?1\x0f\xe7\x04[\t\x94f\xf5\xe2ұ\ț\x90\xa3\x85\x88\xc1\x99-`G\xe3~\xc9\xc0'U\x81\xa8쉖}\xfc\xb1p~w:b\xea\xc8\xd0\xe0\xb7\xf3\xd3=\x90\xdd,\x11\xa8Ta\x13\u007f4(\xe6\xac\v\xb0\xef\x89\x11\xb4\xbe\xf3u\u31ec\x1f\xab3C\xf5\x82RIGR\n0\xdf7(i\x90Z\x9c\x98\xfe\xe7C\xaf\xdb7\"\xc4\x1c\xb8\x80\x15[Z\x143E\xc0\x06\x92j'W\x84\x19S\x98\x92w\x12\x86\xc8\xeaι\x1d8\xe9Lggr\u007fZ\xf4\xa8\xfe\x98\xa6<4T\x81E\xa4\xedc\xad͵\xbf\x9d\xeb\xe5:9\xffG\x94߃\xa8e\xba\f%\ue64aU\xeb\xa1\xc6\xf7'\xc5\x1e\xac@)\xbd\xae\x1djj\x9d\x19\xea\xdd3\xe4\xfc\xf4\xf1>\x95\xc2R\xd3ĉ\xc01\xbc\xcc\xecb&\xdeq 簷Z3Q\a=\xd7\xf7\xf5\x9a\xd1|\xb8\x8f\xb5\x9f\x14\v\x96\x90\x03\xe7\xa8g\x17\x18\xdd\xeb\xf5\U00074e22\xc2\xf7\xf4W\xb1\xcf\xd3\\\x90\xfe*s\x1c\xc6n\xfb\x12\xa9\xf7\xa4P,\xde\x0f~\xb7\x94݂\xb6渣E\xe7\x1f\xab\xf5\xf1px\x04\x98\x1c\xc0\xc9\xe0\xed\xe6`p\xbe\x94x$i\xe6\x9dE\xbes\xd1ms\x98\x18h\x84\"\xb5\x97ޤJ\x9e\x12\xbb^\xb8\x86\x9dP\xd8\x14Y\x1b\x98}/qZLI/\x18Sgtp\v,|Q\xd9\x18\x84\xf6\xdf]\n-oY\x9a\x9a\xcc\xc7D8?r6\xe5ZZ\xabm,\xba\x81\xab\x9b8y\x10=\xfe\x04a\xbf\xb3\x1e{\xf9b\x8f\xb6\xf6\xe16\x9a\x18c\xefCT\xeaY궕G\v\xa4\x15\x98\xe3\x03\x89챵\xae\x96wsX\x1a\xbd\t/\xaf&{/?PjИ6ɩG#9\xa1l\x1d\xb3\xb4f\xa6\xfd\xe4d\x9bx\xf9\xdf\xeaZ\x93\xebA\x8dn\xee\xe8\x98b,6\x02½=(\x93|r\xbbG\x99\x86\x0e\x99\x8f\x1f\xca\xcd\xe1\x03h\x8b\x9f/\x17\x8b\xd0k\x12\xf2\r<\xc5\xfeZ\xb9\x9alȟk\xb1\xeb\x1f\xfd\xda#}U\x83\xf4\xf6\xa2\b\x9feVѷI\xb2i\xfdUY\x94\xb2F\xa5\xb36\xfb\xf6G\x8c\xb8\x97\xea\xf2Ѩ'\xea\x82\xf1\u007fv\u009ajy\xae::ڿFkI\xa9\xccf^硟\x19q\x15u\xd2{9\xe9%@z\xab\xaa\xb2\xbfR\x0f\x8c\x97}\xa4\xf1sJl\xf99\xcc?%j\x8c\xd1\x17\x86\xfd#u\x9aj\xe2\xfb)d~\xdd\v\x8d\x8d\x92\x83\x89\xaa\x8a\xa4\xd3\xf0\x99c\x1a\x8989\u007fp\x8e\xd7?s5\xcf^\x10\xea\xdcbl\x8d\x9bO\xedtt\xdd\xed\x84s\xfeü?\xf0YJ\xfe5\x9d\xca?&y\x10\x8d\x9aB\x81\xa0\"W\x86,\"9\xb4\x04\x06\x02\xd9<\x8dv\xac\x89\x03\xbd\xb8\x1f6\x99\xfe\x83\x01(n\x8a\xe99\uf6eb\xaa\xe8A\x8dX\x96\xa2`\x04\xacRDH\xbao|7+\xebB\x8f\x90\x93Z\xfe\xb7\x03\agH\t4Z\u007f\v\u007f\x01\xf4\x87k\xe4\x9f\"N-m\x03\xd7t\a3\x87\xc0e \x19\x86/\x04\xeb\xd5\xf8\xb99\xba\xbb\x1b\xc0\xad\xfez\x17a\x19aGz\xc2=\xb3I!\xc2ӵ\x86\x18Ix\xd8\xf7\x9f\xcc\xde\v\xe7\xb5\u007f(\x9e\x04\r\xe4\xf1\x1e/,\x9e\xf1)\xeeV)lY5o\xa0\xf6'Փ\u07b6\xbf\x10\xf6RJ\x1a\xe3\xec\xd3d.M\x12jHb\xc4^\x9554\x91\x10eHM\xba\x95\xf0\\\xe6\\\x94\x1b;\xdb\xc0\xa4x9\xdc\xea42;7\xef\xfea\x9d\x0e4-b|\x83h\xa5\xb2\x80\xa3\xd2 \x1f\x0f\xe7\xadgS\xf5;d!Gv\x80\xf4\xba~\xd3ɵ\xa1\rY\xd0\b\x0fO\xd9(\nP\x1c\xaf\xad\xb6\x92h\xeaʁ\xdbrȳ'\xa4:\xefI\xe2\xd1r\x05\xb3ջ\xdf\x01\u05cf\f\xad\x1a\xc9\xc3CT\xa7\xb1\xbdiZe\xa4\x117\xbd\xc8X\xe5\xd1!\xceSI+\x1d\xaae\x1b\\\xee\xbb\x03>\v\xf1Ԩ\xfel|\xeb\x17\x17\xf8T \xabU\xdd<\x91\xcc\xecR\xdbhSET\xef\xbf \xf7\b\xe0\u007fϠ+\"O=\xdcJWO\xceT\xb3\x18&,f\xa5+l\xf8I\xabr\\\xb0D,+\x94@;\xbf\x16^z*\xa3\n\xf1\xbb \x1f\x19>\a+mgc\x9c\xc1\x92g\x89o\xe3\xc4o\x92\x0f喇|3\xb2\xa7Q4\xbehS\b\xa3\xc0\x13\x96\xdb\xc5?\xb8L\x00;^\x0e\xab\xe038\xf5\x15\xea\xc9\xf2\xe1(j\xfc\xdb뜭\xf6K\xafŁ\xe4#Q\x0e\xf8\xf3\xe1\xfd\x05X\r\xc9+\xefө\x87@\nJ:aD\xab^\x9d\x03N\xbe8+\x91\xed2A\xd2\xfb\xdb\xd8\x13\x1b\t\xcfXT]\x02`\xcab&ɦ\x99\xe4ʑ\x0f}\xf7i\xa9e\xe2\x81\xc1\xdcԋ\xea\xb9\xe3䱫\xc5(J41l\x883k\xdc\x05W\xf7,\x1c?\x16Ք\xf6\x9c\xc3\x1ct\x12i\x82\x9e\xb2\xb3\xa9U\x89r\xb6r\v\xfbI\xe8\xf4\xe8\x91V\xdfcFR-\xfe\xdf\xf7aI\xed\xf7F9%\x99\x1a\xe1\xe78b\xbfk8\xb2\x86\xce\xe3\xe3\x03\xa6\xb2\xb54\xbaG\xfb\x9d*}\x89Mʊ\x9d\xd6|㩉P\x15\x82ğ@e\xe2p\x00\t@\xf8q0\x14\xc6\xf4\xa5\nJ]\t\xe1\x80r\t\xbcj\xcfq\xe5\xff\x03\xd2\x16\xe0\x98A8\xe0\ny5fw\xca\n\x96\xdb\xf44\xad\xf7(0\xbe\xb1j\x1f\x8a{#˸\x1aU\x8d\x94\x1c:S\xfa\x15V\t&tCm1\x97:1\xc6\xf1\x0e\xf1ض5\x9cuȷ\x030\xa5\x9eT`{\xf9\xeb\x8cI\xf6 \xce9\x8a\vw\x91\x9f\x91h\xe0!^\xfc^B\xfc\x93~0N\xfe#=\xb4Bh\xf9\xf8\x85\x18\xaa\xab\x14\x9d\xc9\x1a\xbe{\xd6\x1a^\x98\xc8e\x9d\x03\xca\xfb\x84\xd5\x1a\xa1Ec\x9axj\xa5\xb5\x99\x17\u070f\xcc\x0f\x0f\xc8\x1c\xbd\x0f\xe7\x92p\x0f\xff\xba{\x90\x02$\xc1%\u007f\xa2\x98e\xa0@:\x99\x9d^FM+\xe0\xfc\x82\x8d_\x1a\x93\x81Q\x99\x1ck\x9e\xe2:\xcdT\xee\xf3KB\x9e؈q\x9e\x01J(\x95{\x847Fݟ\fs\xef\x9c8\v\x93\xf0\xf0\xafld\xde\uf4c1햝\x99\xbcq\xff\xd1S\x02\x12\x93N\x84\x10\xdfgK\xf5\tx\xd8SD\rN9\rtx\rc\x14\x1eS*x\xb7Q r\xea\x8a4\bP\v\xa3\xbf\xecӭ\xa9\xa1\xd2\x06\xec`\xf0\x90\xdan\xb0\xa8+h\xdcbވ_w\x9c\b?A\x92\x18\x8bz\x84ҍ\x03\x19g\x14\x92\xd4\xffR*\x19\x96\xbdf\xfc\x19%h#\x06\a\xfb\x8c\x82\xec楦\xfb?a\"\xae\xe5\x19\x9c\b?\x8e[\x9a\x8eh\xb1r\x83#\v\x14\x11/\xfe}_\xd0W\x83&\xb1/\xee\fy\x06l\x00\x1a\x95\x89\x8e\xcc \x1ar\xb4g\xcb\xc36;C\x8b\x15D\xd2q\xc5%\x02\x0e\x80\xeb(e\x96\xf6g\x9b&\x02T\xe9\xe7\xca\xc5,\xb6\x98(\xe7\xf0\x15c\x84\a\v\x8b\xf1!\xc8yσ\xe5\x93Ԉ\x01\xba\xfd\xce\th\xc3\x1fD\xa3\n\x86\xba)\xfe\x1c\x98\x1c\x126\xc2\xde\xd4~\x86\x16\xc5x@H-iN\x83\xe8\xb6\xf8x\x96\\\n\x9ad\x801\x96\x88\x961\xc3ԭ\x98\x92*)`\xaa8\x1ff\xaac\xe5wb\xe7k\xc1\x9e\x84\a\x13\xbfa\x93\xc8\ri1\xbc\x15qc\x1a\xf3Wbl\xc5A\xff3K\xdda\x9f\x02V8\xf9\x0eª\xf2\x195\x19\xe1\u007f\xd4\xdcDZ\x98\xbd\x1c\x8e\x10\u008bpu\xf5\x87In\xc3\xe8⇁2!\xe8\n\xbd\xb9_d3P\xd93pɾߖK\xd1k\x8e\xfc\xf7\x87W\x01\xdciD\x89xKݵW\x8a\x1c\x0e\x10\xe5,\xcfK\xfda\x97\x93mT\u007f\xbbs\xdc\v\x13\xb6c\x1b\xa9p\xdb\xfa\r\xde߀.\xb1M\b$7\xf1\x80\xe3\xc7\xf8\\V\x90\x1d\xbbMG!6\xa1\x8f\x9e\xec\xf6`\x9a\x8d\u007f\x95\x12\xaa\x86\x98\b\xc7w꣎\xc9fo\x93\xd1AuQ\xdc\x1c\xae\x14ϧ\xe0\"e\xbc\xe0\x12\xdc\n\x88\x15r!@ѝ\x1e\x02\xdfa$\xd3@\xdff\x1e\x18\xeenܢ\xb5\xaf\xedվ\xa4\xfa\xcd?\x95\x17Z\x13\x97\x83q\x97A\xbc\x93C\x9f\xc4\x1e=y\xbc\x89\x18\xe6\xfd,\x18\t\xa9\xfa>56\x92\x0e&9\x8cp;l4âs\xbc\x9b3\xc2E\x8b\x90\xc4ib\x84K\xb8\f\b\xf7a\xf2(\x96\xb7V\xcf\xe1\xf7~\xfak\xcajG1\xfb\x9a\x9eU?{\xfb\xdc\xf4W\x97\x82FS,\x94z\x85\xea\x848\a\x19\x96F6j\xef?\xdf0\xf7\x02\x9a\xef%\x9c\b\xe1\x0f,\x1d\x89\xb4\x98'\x8dvH\x0es\x01\x8c\xd5`M\xadx\xc9\xcf\u007f\x8f3ui\xfa2\aԅ\x8c$=\x16mڕ\xbeA.\xceA)Wn<\xff|\xa47\b&l_p|}Q\xc7\b\xedf\x80\xd1Kdž\xf5\x90\xee\xb6\a>\xeef蘳\x9fB\x89h\xe5\x86QF\xeeK\xef\xf9\x81\v\x83\ro\x8dzddsw\xbd\xc5f\xe9\xe39\x89v\x1d\x9d\xbd\x9e\xa4\xbc\x14~\x82>O\xa9\xa6#\xfaXG\x85T\x95\xe4+A\xac\xc7-O\xbe\vۿƹ\x12ųs-~-\xbe2\xe0\x8c#\xf7lJ\xeaX8\xe5\xf3y\x848\x90Y!\xa3\x9c\xaa\x0f\xca20\x84Z\x9aB\xf8\xd7*\xf0\xa2s\xce\xe9ݍ@\xd6\xf5\xd1\xd1wZ2\x00Ĵ\xf7\u05ff\xf3\u007f\x17\xf5[\xa5\x1b\xaa\x92\n\x90a\x85>\x98\x99ݨ\r\x18X\xb3\xf8l\xfc\x88\x8d\xc2Q\xe7\x93B\xed\xeb\xc9p\xeb\x95\xeag\x8b\x8f\xa9A\x18\x97\xa7man\xa4\x14Ux\xff\xfb\xa5\xb9u\x0f`Y\x91\xd7h\xb7\xa1\x1c\xa9\xb9\xb3Hy\xcd*\x1e\xf6`\xa12\xa3\a\xb7\x0e\xdc\xe6\x92?sq\xdf\xc5\xceͯ\xb3y\x92Z\xef\xc7v\xec~*R\n---------- end of script output" +time="2024-01-08T12:22:35Z" level=info msg="statescript: ArtifactInstall_Enter_66 requested a retry" +time="2024-01-08T12:22:38Z" level=info msg="statescript: ArtifactInstall_Enter_66 requested a retry" +time="2024-01-08T12:22:41Z" level=error msg="statescript: Ignoring error executing 'ArtifactInstall_Enter_66': 21: exit status 21" +time="2024-01-08T12:22:42Z" level=info msg="statescript: ArtifactInstall_Enter_67 requested a retry" +time="2024-01-08T12:22:44Z" 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.42s) === RUN TestVersion ---- PASS: TestVersion (0.03s) +--- PASS: TestVersion (0.06s) === RUN TestReportScriptStatus -time="2024-01-08T11:55:15Z" level=error msg="Failed to Load the Server certificate. Err SSL errors: " -time="2024-01-08T11:55:15Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: " -time="2024-01-08T11:55:15Z" level=warning msg="certificate verification skipped.." ---- PASS: TestReportScriptStatus (1.05s) +time="2024-01-08T12:22:44Z" level=error msg="Failed to Load the Server certificate. Err SSL errors: " +time="2024-01-08T12:22:44Z" level=warning msg="Failed to load the server TLS certificate settings: SSL errors: " +time="2024-01-08T12:22:44Z" level=warning msg="certificate verification skipped.." +--- PASS: TestReportScriptStatus (0.71s) === RUN TestDefaultConfiguration -time="2024-01-08T11:55:15Z" level=warning msg="No timeout interval set for the retry-scripts. Falling back to default: 1m0s" -time="2024-01-08T11:55:15Z" level=warning msg="No total time set for the retry-scripts' timeslot. Falling back to default: 30m0s" +time="2024-01-08T12:22:44Z" level=warning msg="No timeout interval set for the retry-scripts. Falling back to default: 1m0s" +time="2024-01-08T12:22:44Z" 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 - statescript_test.go:475: correct version file - no newline --- PASS: TestReadVersion (0.00s) PASS -ok github.com/mendersoftware/mender/statescript 11.653s +ok github.com/mendersoftware/mender/statescript 11.266s === RUN TestDBStore -time="2024-01-08T11:55:23Z" level=error msg="Failed to open DB environment: mdb_env_open: no such file or directory" ---- PASS: TestDBStore (0.06s) +time="2024-01-08T12:22:45Z" level=error msg="Failed to open DB environment: mdb_env_open: no such file or directory" +--- PASS: TestDBStore (0.09s) === RUN TestDirStore --- PASS: TestDirStore (0.01s) === RUN TestKeystore -time="2024-01-08T11:55:23Z" level=error msg="Failed to load key: empty pem block" ---- PASS: TestKeystore (6.53s) +time="2024-01-08T12:22:45Z" level=error msg="Failed to load key: empty pem block" +--- PASS: TestKeystore (19.38s) === RUN TestSignED25519 --- PASS: TestSignED25519 (0.01s) === RUN TestKeystoreLoadPem @@ -16361,23 +16574,23 @@ === RUN TestMemStore --- PASS: TestMemStore (0.00s) PASS -ok github.com/mendersoftware/mender/store 6.692s +ok github.com/mendersoftware/mender/store 19.574s === 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 (0.01s) --- 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.01s) +--- PASS: TestSetUbiUpdateVolume (0.00s) === RUN TestFreezeFs --- PASS: TestFreezeFs (0.00s) PASS -ok github.com/mendersoftware/mender/system 0.052s +ok github.com/mendersoftware/mender/system 0.063s ? github.com/mendersoftware/mender/system/testing [no test files] ? github.com/mendersoftware/mender/tests [no test files] === RUN TestKeyValParser @@ -16388,11 +16601,11 @@ === RUN TestLimitedWriteCloser --- PASS: TestLimitedWriteCloser (0.00s) === RUN TestProgress ---- PASS: TestProgress (3.73s) +--- PASS: TestProgress (3.48s) PASS -ok github.com/mendersoftware/mender/utils 3.781s +ok github.com/mendersoftware/mender/utils 3.565s FAIL -dh_auto_test: error: cd obj-arm-linux-gnueabihf && go test -vet=off -v -p 3 github.com/mendersoftware/mender github.com/mendersoftware/mender/app github.com/mendersoftware/mender/cli github.com/mendersoftware/mender/client github.com/mendersoftware/mender/client/test github.com/mendersoftware/mender/conf github.com/mendersoftware/mender/datastore github.com/mendersoftware/mender/device github.com/mendersoftware/mender/installer github.com/mendersoftware/mender/inventory github.com/mendersoftware/mender/log/syslog github.com/mendersoftware/mender/statescript github.com/mendersoftware/mender/store github.com/mendersoftware/mender/system github.com/mendersoftware/mender/system/testing github.com/mendersoftware/mender/tests github.com/mendersoftware/mender/utils returned exit code 1 +dh_auto_test: error: cd obj-arm-linux-gnueabihf && 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/reproducible-path/mender-client-2.4.1' create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary @@ -16437,12 +16650,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/15486/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/15486/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/11483 and its subdirectories -I: Current time: Mon Jan 8 00:05:13 -12 2024 -I: pbuilder-time-stamp: 1704715513 +I: removing directory /srv/workspace/pbuilder/15486 and its subdirectories +I: Current time: Tue Jan 9 02:32:05 +14 2024 +I: pbuilder-time-stamp: 1704717125